From patchwork Thu Jun 18 10:08:29 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1397 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pj1-f71.google.com (mail-pj1-f71.google.com [209.85.216.71]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 543073F0D3 for ; Thu, 18 Jun 2020 12:08:56 +0200 (CEST) Received: by mail-pj1-f71.google.com with SMTP id ge4sf3608757pjb.7 for ; Thu, 18 Jun 2020 03:08:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1592474934; cv=pass; d=google.com; s=arc-20160816; b=M+lJ0ErQyB9T1kpXIeHl+1FLI+coYaAub4ZabZVZkYtTe9DpcE7UhRTUObZv4gbIfT KUTahPCP/XM/nQWj+N66tuPW8xLdGAuZE+QZ4M6pzIR8Skr6xrzQ3NwBz0s7gCb+u33L V/MeciZK3EDRb+XeeG70LyTJZrAwD3m41EwE0wYa3b0EmfJR1Ap2vh2WyskJdd5XpMGf dKpXZ+uZPMdqZJI34GlehipQ79hw7n4pjv75kIotfSD8MYzM0w1d74/3CXeDb/DrP96/ 94QMmrHPPmjY9VcPwdJoQlnWCIStlpV3mihB04JNDc/NJxzS699WL4nqeXS1IMFTer1V cTfg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=xQY6DC4LUrwN9PwEN0LtMXpHJGLiHwtAgV3WisttDp4=; b=kpFmtG7a3w9F32ZDGoFHuDJF9s0xi+SiWOHSWyMeeILz5o2uzutEYqhQlMX0E1XVfa cfXPRTStf4O/7dZDNsOuqRXFBOGGMHIo6pn6OwFuNHQygKmb1C4EkSSP0dsqKrL9UwG6 rkfGU27NZkXHq/oHg3r4TrdCZ8C6vMkkuxzXTOoOq7uvcaMAGOPseX4G0TG8yJfLmmiA 42GsEpy1pNygOF4gTNPLDzlIVr4X9Jbe9RMKCb/l22ppkqWCBL/AR8oRtn1sFvzq0jL1 xnP0SivU633cc/gqi5gyAr1hX32UO+3ZAFWqrl55GOKQymcYmZ4LdTFYaRtth9dMHRMb qBPg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="QbTK/jye"; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=xQY6DC4LUrwN9PwEN0LtMXpHJGLiHwtAgV3WisttDp4=; b=jq/dnmHzkcMhaBS5DbrdJJzY9Ak3NC3EvWFjAv3N0AEmnjKY5IWlJVLsy52Nj69fvl 720xrTzoJP4ejNnxaQfauwkHckQfx1B7qu6xx4MJKAPseZIH2npNJmPVz+xzANUAZMCc KZnyw20Ic5Hi0gjVHlmhEfP3mh2y/FDBjcsj8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=xQY6DC4LUrwN9PwEN0LtMXpHJGLiHwtAgV3WisttDp4=; b=HmjfiFiwLxBKYuswydudZRhyXiIUzLlRFqY16ToQMkqZAczrmvDn2L1mo68xswILdE YRleWx+Zdyswxc6rmUrj3FbEcP3B/UP9T6qu0k5NEAoq/hTsDa8W0Z1uJ9f0ph9yEMqX 3mFEfWHHAltTq2w4w/lbxySEDQRkpxUIzCa8fHPUjz6Rz0w/v4batGn34l7nsTVOn5uf ciJep+ckNY9n1wD1CwHhJGnGms+aUInUS+PqKmk9A119nreoEd8TUi6WJGoE0LgDNTGV KuwmHvelIYHG8SVdOsp/SvKDmZMsyJI/6yoHm9g2W3u14Qrg/uJrLE37v7FQ8dp1C5+Y w1Mg== X-Gm-Message-State: AOAM531g6CYriQSYVHJQYzAbIFdEDwYA9RBEBW9NaYffw40YwVxLGiem jaGGfC+DV+rdG9kpL82erqAEl8Dx X-Google-Smtp-Source: ABdhPJxGyqYAkwPT8PHSHicajYSZPcDZjgNja/nZtda+QHcgm0TAMURqnrjTR/mMgvJbvvp2X/a/CQ== X-Received: by 2002:a17:90a:d244:: with SMTP id o4mr3468973pjw.186.1592474934351; Thu, 18 Jun 2020 03:08:54 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a63:730d:: with SMTP id o13ls1463957pgc.1.gmail; Thu, 18 Jun 2020 03:08:54 -0700 (PDT) X-Received: by 2002:a63:5a17:: with SMTP id o23mr2755740pgb.218.1592474933887; Thu, 18 Jun 2020 03:08:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592474933; cv=none; d=google.com; s=arc-20160816; b=Kx1q6xoCbXPh289KlUbO4KSQCsoMpjgYmIOJSxDw4l9w1RrlOCaA8RGILUnB5d9sNV JmD6Ykl0hAimop8IHxy5UUmqE9tqLJJif0uBBwmjWykHTV/gFaKM+V7GCBLOj/JVejJs QuYJkzogi4bMQ11Ny8AITm9qE3X5UtLw3UcISzntA5sk9w4pOa+vxflsWjYLPUbhzwI3 KmN1tFPHla0fSUBJ19Dx1VZlB6bxhQIYpozqMbW/hP8sYkjXVMesLyfebmARcokw9/XX qytwQboAxv6fxrFPo/DOE44pwEo3eefDwrRNvY/8ubAZMZPL4SluDO7JQRe5z4Q9Q91U 5ifA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=P9ZVEE5llXq13I1PufGR5qegeo37MSzNvw9PjU0Fjk8=; b=Ek9vi81kgfBN9JWAzWhW7yQnHQG3Iv4LcHvCsvnasICI0QEl8g6T6w7OAoTq/Xmots ZtW2TCJmaVgAt/8Xrt6dujA9nTlmcVYsBWMm7g+M5p8CcpLCLCw2fhkysVDxRi/Nky3t TWOnT+3jXFwVl2eulssWZCfSj8CsOXX7RwTuYmbQvutDNiNdXbOu6w+JXfuVDVQLMV/P xswQvydzYZeL8z2f8v25A8hs8lgB6+xp+zI3P/NTfuhrXhumdEFBunyAZ6KJg40ZAfLY 9CHeeenW0tt2isa3dllZN/r2A/rFhrNpcMVJ7se215ipi5yaH5DRCQAEGnpNm8EMm//q qaqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="QbTK/jye"; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id c11sor2815839pjq.7.2020.06.18.03.08.53 for (Google Transport Security); Thu, 18 Jun 2020 03:08:53 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a17:90a:f694:: with SMTP id cl20mr3587632pjb.141.1592474933565; Thu, 18 Jun 2020 03:08:53 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:b0c7:f192:869b:df87]) by smtp.gmail.com with ESMTPSA id o16sm2190793pgg.57.2020.06.18.03.08.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jun 2020 03:08:52 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , Rob Herring Cc: Tom Cubie , linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-amarula , Jagan Teki Subject: [PATCH 1/4] ARM: dts: rockchip: radxa-dalang: Update sdmmc properties Date: Thu, 18 Jun 2020 15:38:29 +0530 Message-Id: <20200618100832.94202-2-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200618100832.94202-1-jagan@amarulasolutions.com> References: <20200618100832.94202-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="QbTK/jye"; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Radxa dalang carrier boards are used to mount vmarc SoM's of rk3399pro and rk3288 to make complete SBC. Among these combinations, card detection gpio, max-frequency properties are used with rk3399pro SoM but not required for rk3288 SoM based on the hardware schematics. So, let's move these sdmmc specific properties on associate vmarc dtsi to make common use of dalang carrier device tree file. Signed-off-by: Jagan Teki --- arch/arm/boot/dts/rockchip-radxa-dalang-carrier.dtsi | 2 -- arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi | 5 +++++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/rockchip-radxa-dalang-carrier.dtsi b/arch/arm/boot/dts/rockchip-radxa-dalang-carrier.dtsi index df3712aedf8a..3e54f38f0ab6 100644 --- a/arch/arm/boot/dts/rockchip-radxa-dalang-carrier.dtsi +++ b/arch/arm/boot/dts/rockchip-radxa-dalang-carrier.dtsi @@ -52,10 +52,8 @@ &sdmmc { bus-width = <4>; cap-mmc-highspeed; cap-sd-highspeed; - cd-gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>; disable-wp; vqmmc-supply = <&vccio_sd>; - max-frequency = <150000000>; pinctrl-names = "default"; pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>; status = "okay"; diff --git a/arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi b/arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi index 0a516334f15f..6fd17e8a815f 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi @@ -317,6 +317,11 @@ &sdhci { status = "okay"; }; +&sdmmc { + cd-gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>; + max-frequency = <150000000>; +}; + &tsadc { status = "okay"; rockchip,hw-tshut-mode = <1>; From patchwork Thu Jun 18 10:08:30 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1398 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f200.google.com (mail-pg1-f200.google.com [209.85.215.200]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 967693F0D3 for ; Thu, 18 Jun 2020 12:09:00 +0200 (CEST) Received: by mail-pg1-f200.google.com with SMTP id k124sf3701599pgc.0 for ; Thu, 18 Jun 2020 03:09:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1592474939; cv=pass; d=google.com; s=arc-20160816; b=Rq7gMy3W2Qf1NdW5p3CRuTTxXbwR+247kSAg7VTzVV1xntODYX49qQy1ay4uXyXWpK CPQfTntgiTrFcEq8ENl7tSDbedo/XpHmU8C3vpUPRcqFND0v6H2mIchAm+nq6I/3XO/R J8h6YCj9ouKznARZlfayCrLnZGuOVMwfxqUbrs87qp49+NHSPgNSSX6+ZPEaL9EWMFVv ISzZC4yKVcqgU3NFemQuQt0dhJpfW6QGY5J9i3eE8WR9UQEJNSPQlosRBjN977o+qTXM WPdGxBBeN6n84MP4mows69jV+9Sw8QA3+4wD2GAXVu8FkHyWzJvqSqQ8IcfQJTXcjPub qUow== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=XYdyTAHH/j3RtICGHOr3BmQCatNGdHp1u6CWBI6cuJM=; b=JxkcO5JVG74jTpJ6CRxoVIe0h32aaU5QlwQijY/IXnfL2aV1r8UlcQ5p+XE40nQwJT zsZkQKBlWp3ZX32s6WUBJ9bKzRMwPaD2F04iEoHlhMTsfUHbPQaW9l5dpAUCbw8atzDe NkWrGtMtr9nzKX6yiy8hvbo1QIH/ZY5m1tdPnfCLeo4Td1TIxpdvW5OjMf+vRp7cLyVI U5OEJWcTs6vEHoC/Vl7zEHZsQdhczeswMYG3aqK46K4laGbFhAOm6KrIFe78vx22Nj4E yopc9hirrvplo3suQouvEduPCR/ZwAkNdJwVNMU7ICvAOOhb5uCms8mX/TVv2vdY+sjP htXQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=fAQvbqBH; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=XYdyTAHH/j3RtICGHOr3BmQCatNGdHp1u6CWBI6cuJM=; b=JbMzS2ibvjbQiG3exm2vnuBpIhqlLKCipV0w2I1ryQlMAsPrMHqiVBgHLyaanEy2t0 q70OBQdbCr6BcnUyyB8GycRAdLc86814XnBu0NtseZTF78xkTgGHREvTN+bbf8pgoQUD RGWQnUVYO87aJZUWpq9thFuhk5/tSerbepxms= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=XYdyTAHH/j3RtICGHOr3BmQCatNGdHp1u6CWBI6cuJM=; b=ajnbwwo3nRoR0CUlAx4OB4IRUvxE3C4jqQQZ5AdWBv+T9js3zCvjVNXf9rLuHcR/Eb RtEc8eBVhhXmq5GDRkMmIE4lfo7VRyLKR1tuZGoxid0RkuldUwzcM1a4AjfCVgPPCw0Y miOUZ8/MmRcFaMX7skGC3u2BZP+oPnE15/ej0TSiAveXohmTYwUP5ek8wVrZnm0iTpbx W3SpxxroOsTStzmunAIvCT0HqJ+nQmmFaBc364i9N3fPJZoWmb38jSBjbOXX7VkUZb7/ 8Jk6HeP745lC3bQynQsUvEzsub6KkmQK0N8Rf+VrRH+hTEPSH1j8eS9amsmYfMEOxi// pWaQ== X-Gm-Message-State: AOAM530uTUxnvqYB382+F/Q77Zfumzj5Ww1p64n1ew6GpsoNtgLeDg+S DNl8cT5Hl/30qUjcIrBwspRIj/ss X-Google-Smtp-Source: ABdhPJwNu86kVIMvfGsg6sRRSozrSVyNcQ/rTgU0ndBzktfv+zr4mhtD6VAGkpE5qejktp9wxQ9CGg== X-Received: by 2002:a65:5c45:: with SMTP id v5mr2757571pgr.281.1592474939383; Thu, 18 Jun 2020 03:08:59 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:90a:c70d:: with SMTP id o13ls2238707pjt.0.gmail; Thu, 18 Jun 2020 03:08:59 -0700 (PDT) X-Received: by 2002:a17:90a:fe10:: with SMTP id ck16mr3643006pjb.147.1592474938915; Thu, 18 Jun 2020 03:08:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592474938; cv=none; d=google.com; s=arc-20160816; b=mq4XIQ8CqPmxD6AgmFh08GuWJ17WxGgGL3PmiZCXDZ3OiEwT2i6Se5GCxFIw7O0+Jr iQkR4LMZuk7nYPHaNy3ksayFfCjKhlMk9e/lAMxtwvcUxMlbk6Zn5awM1MQJB+4Gq+K7 wayX2kAuh71N+UwvNUwJCWc7yX7nFbWfnHq9LvxBpsWhp3zUU1+vbTCu9Fl3nZw/ncCi UU030fYRF/XbjsObezKNDl9nH3ePfS2S11qbZ93mbjVXGrsPa00hyjmrOoqma9liRjsq +A7LLnUbpnTVJN8psgqzn3xqHhMV30uS4d9fSWQPbz4AidcWfO+WsioNBp8ueIY4ICqY 3dLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=Tg/Hm1A2t+lsaJur4AOo5t83FkcPA6mYe4DsoUQP1Mg=; b=t3aWyT9C2W7hMtuc7c6HAFNOko2em3IUhzuDPkleEphFpB729Y2PhFnrqdGXp0uiZt Rm+SngWBr6n3SgKa/4zQgFPSnytxXCSkMkjrHPlGRqXfiS8zcEuJz/AxfVH4rFVg64yI nArVBPVvC/ExuJvRrOwEr7AYQUaeYyJkdHaFzRNEKl/qYLde5PC3oobpWUc4qPOCV81W zb4MLxNsr1rJirqhcwY42KRJ911IFvXt9iept3p+KPeUq9gyAXqqE63jgVxbGP4b4+cr BgnqRQ/B4sSVt0Y8tWofhVAGn4/WWHHofHNLxdmp8uJsR3qNQ/mZTYBxVd33R8ZcVbMz o1Og== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=fAQvbqBH; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id y5sor11130568pjb.1.2020.06.18.03.08.58 for (Google Transport Security); Thu, 18 Jun 2020 03:08:58 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a17:90a:224a:: with SMTP id c68mr3243563pje.21.1592474938662; Thu, 18 Jun 2020 03:08:58 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:b0c7:f192:869b:df87]) by smtp.gmail.com with ESMTPSA id o16sm2190793pgg.57.2020.06.18.03.08.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jun 2020 03:08:58 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , Rob Herring Cc: Tom Cubie , linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-amarula , Jagan Teki Subject: [PATCH 2/4] dt-bindings: arm: rockchip: Add Rock Pi N8 binding Date: Thu, 18 Jun 2020 15:38:30 +0530 Message-Id: <20200618100832.94202-3-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200618100832.94202-1-jagan@amarulasolutions.com> References: <20200618100832.94202-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=fAQvbqBH; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Rock Pi N8 is a Rockchip RK3288 based SBC, which has - VMARC RK3288 SOM (as per SMARC standard) from Vamrs. - Compatible carrier board from Radxa. VMARC RK3288 SOM need to mount on top of dalang carrier board for making Rock PI N8 SBC. Add dt-bindings for it. Signed-off-by: Jagan Teki --- Documentation/devicetree/bindings/arm/rockchip.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/rockchip.yaml b/Documentation/devicetree/bindings/arm/rockchip.yaml index d4a4045092df..db2e35796795 100644 --- a/Documentation/devicetree/bindings/arm/rockchip.yaml +++ b/Documentation/devicetree/bindings/arm/rockchip.yaml @@ -435,6 +435,12 @@ properties: - const: radxa,rockpi4 - const: rockchip,rk3399 + - description: Radxa ROCK Pi N8 + items: + - const: radxa,rockpi-n8 + - const: vamrs,rk3288-vmarc-som + - const: rockchip,rk3288 + - description: Radxa ROCK Pi N10 items: - const: radxa,rockpi-n10 From patchwork Thu Jun 18 10:08:31 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1399 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f198.google.com (mail-pf1-f198.google.com [209.85.210.198]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 4C3B63F0D3 for ; Thu, 18 Jun 2020 12:09:05 +0200 (CEST) Received: by mail-pf1-f198.google.com with SMTP id b186sf3966867pfg.10 for ; Thu, 18 Jun 2020 03:09:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1592474944; cv=pass; d=google.com; s=arc-20160816; b=KNJsMpj5RuSQYQTCV478GpCLrf8cG1vWomHUWp+9Lkr3WEYxeRshU59lFijaYzeb5U I3crfMP3+MDs3vCaMbI6x+F8WlCol6gfam3Qw9kJUUwjTdcBd/BoCHNA5jTpV/XOiM5T QFLhbvwXjC81jIo1u1LpNjsw0oKflmFuAqykExSN5IwkF3p/vzvXoEd+Q0otJeM+Jecz L9hMEjRycWQAPk8kj3pOvEpzzkvusgn753/kqdZEIhe0xlxpmPjK7ftI+k7g9a7EGJor e3JoKpZKI/l/Luem7ykHZ3n1FxOFOhw2Hc2t70UPcrlyJSN1e+QKbetR+jCxh72Hsr+y imWg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=VD2HuT2IrNRyzdWFKKOWi8T3Gi4wORQ4JEN61beNgbg=; b=mIJ1S50CdKZK/GEXu03Vjvimjyla2OZ2CJcdv93b4JbKlNK7rICYfYOcbbYggw3jjJ hkusjl28OnJUNhcsvj2Td2j+vxQYMna5a+Ptobtgv8fcQXvbZpSFNbx7UAz63WFA46c3 j8UvZIN864WMnpFSIyf0dTT3uD4JICEF2Kxyw5b+TfHG1+IIspPahKdcvT/oUVJjVID8 dMW5xm9BS9B01qkFnKTTUsj+I2oxb8P6lhtaBbh42ETvSJaLxHEht7ChpqaPsJxkHxPK lEro11+fR/a1WkEaXEIIItRXEvarcgYrXIlFd3eZ/FCfiM5cGdpj6Dti2kHqVD/FJgeX +Ozg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="hpyufXX/"; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=VD2HuT2IrNRyzdWFKKOWi8T3Gi4wORQ4JEN61beNgbg=; b=rW+DHE3XJIH+8pngfhyqok+YLtTPb+8iHJ96gI3fuC1m4xXBCBz1OUH7bKp1CE0DJh O8J5g+sBGhkdchvIrRx+5GdF9mQlNbPcrDG8IoOuKj0rZu7eEF7qsPwJVf37h+Xtk3sD vbKlAekfkg4kYO1URI7Ibsl3Q7pvlQKecFNTQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=VD2HuT2IrNRyzdWFKKOWi8T3Gi4wORQ4JEN61beNgbg=; b=e0iI/drxazvR/Grwyro+sjNly1f7ge5ufodD6EOV09WjHuzff7/GkknkdtpJ63dzEP WU4Hmj9Px5UvAVPlvwsUcB3cfpbWNcnXE8uLIll8n7kn5jrJh8qBBF085re+e6lV2aiF hzy/zlamn0/9c265G6buUZ0MfUjzmJcetIbcKNJ3qDgYmpbnkI/t7GWnrJMLeJlRH0xD 4eopfz41qBLV/uIhzmbZYhdvWZrFjFx2bobhXy7cmenl97BEHs2vT/20QO+daYPjW0AR yzatn+Ob5zsDI4hnr38H3HdTD0hdpuyK47M8fZL1BD7Xr79xrVtO5KM39n1lsH7VsON0 kpcA== X-Gm-Message-State: AOAM533TX8G+wnHjkVqVd00FZCFgIPSKJaCF2qgyKUzVhhCzFX+KJOFq JxExP10E8iPrjiIHP5BJS/OuMa1f X-Google-Smtp-Source: ABdhPJzU+JpIsekKrMwximBPeznL9T//QhfL38jiAYx+bkGhj0c1kq2BMHKeVfkQ/nqZtTj9WbK6Gw== X-Received: by 2002:a63:e455:: with SMTP id i21mr2762144pgk.23.1592474943942; Thu, 18 Jun 2020 03:09:03 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:90b:384c:: with SMTP id nl12ls2231869pjb.2.canary-gmail; Thu, 18 Jun 2020 03:09:03 -0700 (PDT) X-Received: by 2002:a17:90a:d305:: with SMTP id p5mr3345259pju.44.1592474943389; Thu, 18 Jun 2020 03:09:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592474943; cv=none; d=google.com; s=arc-20160816; b=INM6Jswra2DRg34sJFXtWMQxPJXe7oPFsigpmQ04G/XDGwmypUAN7uZkyLadN+fxDD 7JOUVdfesXjiMfv1sT5AUy+TNVo1qNewUChUwlQHLTm7VVAq6Nzt59kXnQTN8sBeIL84 5FwaOfSScm2qQWDbx6yTqBZffNfAfrahuFaZ+XfNyeuQ4noo4XcP6q3l84ggI21acIxe GIuzv/e3HwhioEkzhplCd9mGiEGrdUGh2fOVIEhdpGw5vszGBEI+zGefstmaOX3e1v/Q IYZwp5GIi0jb+ejVMpuWwKBjkj8Ty1ANZXOH3fX0FHFjUOzJvohuisfVyB6V5RsVgeEz ijPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=OcplZ+ZedkXeLeGU4PsU+3UbK42Jbzafrwx7wAtyyR4=; b=wKYjpM5qbFlzuxRIpLG7NVwP0Ird4m/eJEOyUUVMPsVdAoCUJ5r4SXOK1OTJEB3nBv MeN2Racih1TwplCoYyD3iQaOffEikZfKe4CSXm/JAFglA8ZZBiXq1PHtMTpAU69NVQqZ VkmGeDgf2Cjz1wcgaPhDDIV+qE4BPfuEPPE8j5xQnWqZYaGHbQKMCt5o63UuHC2Bs4up J1pxck0wVx19q+R6ljWyQshcPcuap5Kd38ZHsYUyR5BxIQIV9Awml+kohfd8ymltv3bw wKYZyurFuY5c8yDC7bxlEnVj4nUkO2fdpW0GbuJfNsPqro1LZ+6pbWFDKvPKk5nHdAon jKVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="hpyufXX/"; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id z21sor2953140pgu.54.2020.06.18.03.09.03 for (Google Transport Security); Thu, 18 Jun 2020 03:09:03 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a63:ee0c:: with SMTP id e12mr2533914pgi.83.1592474943008; Thu, 18 Jun 2020 03:09:03 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:b0c7:f192:869b:df87]) by smtp.gmail.com with ESMTPSA id o16sm2190793pgg.57.2020.06.18.03.08.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jun 2020 03:09:02 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , Rob Herring Cc: Tom Cubie , linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-amarula , Jagan Teki Subject: [PATCH 3/4] ARM: dts: rockchip: Add VMARC RK3288 SOM initial support Date: Thu, 18 Jun 2020 15:38:31 +0530 Message-Id: <20200618100832.94202-4-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200618100832.94202-1-jagan@amarulasolutions.com> References: <20200618100832.94202-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="hpyufXX/"; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , VMARC RK3288 SOM is a standard SMARC SOM design with Rockchip RK3288 SoC, which is designed by Vamrs. Specification: - Rockchip RK3288 - PMIC: RK808 - eMMC: 16GB/32GB/64GB - SD slot - 2xUSB-2.0, 1xUSB3.0 - USB-C for power supply - Ethernet, PCIe - HDMI, MIPI-DSI/CSI, eDP Add initial support for VMARC RK3288 SOM, this would use with associated carrier board. Signed-off-by: Jagan Teki --- arch/arm/boot/dts/rk3288-vmarc-som.dtsi | 298 ++++++++++++++++++++++++ 1 file changed, 298 insertions(+) create mode 100644 arch/arm/boot/dts/rk3288-vmarc-som.dtsi diff --git a/arch/arm/boot/dts/rk3288-vmarc-som.dtsi b/arch/arm/boot/dts/rk3288-vmarc-som.dtsi new file mode 100644 index 000000000000..1549ac404428 --- /dev/null +++ b/arch/arm/boot/dts/rk3288-vmarc-som.dtsi @@ -0,0 +1,298 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd + * Copyright (c) 2019 Vamrs Limited + * Copyright (c) 2019 Amarula Solutions(India) + */ + +#include +#include +#include + +/ { + compatible = "vamrs,rk3288-vmarc-som", "rockchip,rk3288"; + + ext_gmac: external-gmac-clock { + compatible = "fixed-clock"; + clock-frequency = <125000000>; + clock-output-names = "ext_gmac"; + #clock-cells = <0>; + }; + + vccio_flash: vccio-flash-regulator { + compatible = "regulator-fixed"; + regulator-name = "vccio_flash"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + startup-delay-us = <150>; + vin-supply = <&vcc_io>; + }; + + vcc_sys: vsys-regulator { + compatible = "regulator-fixed"; + regulator-name = "vcc_sys"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + regulator-always-on; + regulator-boot-on; + }; +}; + +&emmc { + bus-width = <8>; + cap-mmc-highspeed; + disable-wp; + non-removable; + pinctrl-names = "default"; + pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_pwr &emmc_bus8>; + status = "okay"; +}; + +&gmac { + assigned-clocks = <&cru SCLK_MAC>; + assigned-clock-parents = <&ext_gmac>; + clock_in_out = "input"; + phy-mode = "rgmii"; + phy-supply = <&vcc_io>; + pinctrl-names = "default"; + pinctrl-0 = <&rgmii_pins>; + snps,reset-gpio = <&gpio4 RK_PA7 GPIO_ACTIVE_HIGH>; + snps,reset-active-low; + snps,reset-delays-us = <0 10000 50000>; + tx_delay = <0x30>; + rx_delay = <0x10>; + max-speed = <1000>; +}; + +&i2c0 { + clock-frequency = <400000>; + status = "okay"; + + rk808: pmic@1b { + compatible = "rockchip,rk808"; + reg = <0x1b>; + interrupt-parent = <&gpio0>; + interrupts = ; + pinctrl-names = "default"; + pinctrl-0 = <&pmic_int &global_pwroff>; + rockchip,system-power-controller; + wakeup-source; + #clock-cells = <1>; + clock-output-names = "rk808-clkout1", "rk808-clkout2"; + + vcc1-supply = <&vcc_sys>; + vcc2-supply = <&vcc_sys>; + vcc3-supply = <&vcc_sys>; + vcc4-supply = <&vcc_sys>; + vcc6-supply = <&vcc_sys>; + vcc7-supply = <&vcc_sys>; + vcc8-supply = <&vcc_io>; + vcc9-supply = <&vcc_io>; + vcc10-supply = <&vcc_sys>; + vcc11-supply = <&vcc_sys>; + vcc12-supply = <&vcc_io>; + vddio-supply = <&vcc_io>; + + regulators { + vdd_cpu: DCDC_REG1 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <750000>; + regulator-max-microvolt = <1400000>; + regulator-name = "vdd_arm"; + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vdd_gpu: DCDC_REG2 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <850000>; + regulator-max-microvolt = <1250000>; + regulator-name = "vdd_gpu"; + regulator-ramp-delay = <6000>; + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vcc_ddr: DCDC_REG3 { + regulator-always-on; + regulator-boot-on; + regulator-name = "vcc_ddr"; + regulator-state-mem { + regulator-on-in-suspend; + }; + }; + + vcc_io: DCDC_REG4 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-name = "vcc_io"; + regulator-state-mem { + regulator-on-in-suspend; + regulator-suspend-microvolt = <3300000>; + }; + }; + + vcc_tp: LDO_REG1 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-name = "vcc_tp"; + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vcca_codec: LDO_REG2 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-name = "vcca_codec"; + regulator-state-mem { + regulator-on-in-suspend; + regulator-suspend-microvolt = <3300000>; + }; + }; + + vdd_10: LDO_REG3 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <1000000>; + regulator-max-microvolt = <1000000>; + regulator-name = "vdd_10"; + regulator-state-mem { + regulator-on-in-suspend; + regulator-suspend-microvolt = <1000000>; + }; + }; + + vcc_wl: LDO_REG4 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-name = "vcc_wl"; + regulator-state-mem { + regulator-on-in-suspend; + }; + }; + + vccio_sd: LDO_REG5 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + regulator-name = "vccio_sd"; + regulator-state-mem { + regulator-on-in-suspend; + regulator-suspend-microvolt = <3300000>; + }; + }; + + vdd10_lcd: LDO_REG6 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <1000000>; + regulator-max-microvolt = <1000000>; + regulator-name = "vdd10_lcd"; + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vcc_18: LDO_REG7 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-name = "vcc_18"; + regulator-state-mem { + regulator-on-in-suspend; + regulator-suspend-microvolt = <1800000>; + }; + }; + + vcc18_lcd: LDO_REG8 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-name = "vcc18_lcd"; + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vcc_sd: SWITCH_REG1 { + regulator-always-on; + regulator-boot-on; + regulator-name = "vcc_sd"; + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + vcc_lcd: SWITCH_REG2 { + regulator-always-on; + regulator-boot-on; + regulator-name = "vcc_lcd"; + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + }; + }; +}; + +&io_domains { + bb-supply = <&vcc_io>; + flash0-supply = <&vccio_flash>; + gpio1830-supply = <&vcc_18>; + gpio30-supply = <&vcc_io>; + sdcard-supply = <&vccio_sd>; + status = "okay"; +}; + +&pinctrl { + pcfg_pull_none_drv_8ma: pcfg-pull-none-drv-8ma { + drive-strength = <8>; + }; + + pcfg_pull_up_drv_8ma: pcfg-pull-up-drv-8ma { + bias-pull-up; + drive-strength = <8>; + }; + + pmic { + pmic_int: pmic-int { + rockchip,pins = <0 RK_PA4 RK_FUNC_GPIO &pcfg_pull_up>; + }; + }; + + sdmmc { + sdmmc_bus4: sdmmc-bus4 { + rockchip,pins = + <6 RK_PC0 1 &pcfg_pull_up_drv_8ma>, + <6 RK_PC1 1 &pcfg_pull_up_drv_8ma>, + <6 RK_PC2 1 &pcfg_pull_up_drv_8ma>, + <6 RK_PC3 1 &pcfg_pull_up_drv_8ma>; + }; + + sdmmc_clk: sdmmc-clk { + rockchip,pins = + <6 RK_PC4 1 &pcfg_pull_none_drv_8ma>; + }; + + sdmmc_cmd: sdmmc-cmd { + rockchip,pins = + <6 RK_PC5 1 &pcfg_pull_up_drv_8ma>; + }; + }; +}; From patchwork Thu Jun 18 10:08:32 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1400 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f197.google.com (mail-pf1-f197.google.com [209.85.210.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 8F6133F0D3 for ; Thu, 18 Jun 2020 12:09:09 +0200 (CEST) Received: by mail-pf1-f197.google.com with SMTP id i7sf3990708pfk.3 for ; Thu, 18 Jun 2020 03:09:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1592474948; cv=pass; d=google.com; s=arc-20160816; b=OyOiUFF9IIfp8YhL8JvsgNWcxaRavSfRXaOd+aXHLMkMP+TRVX5bBLWhvuUd1V6/JL 1woAnlC/iXaihxVuoXKFBX4706ykaoPMLETVNpc73qx5IEShDSSLQoGfWAm0L08Nec+h x8zTvFQdW3EYP+eOMIhj7cBkWMpvBpZ9i1h4T3uIDD4Jdd4eiiYCvMpYXj7OJrTcuYkz 1525LpzmldWFg6ml6/TD3oeiIOV/cYV0B4uuX41WRK9OSdTKw1+i6reVAKD5Kab8m0FW IGCgq/GkSlHG7UZO2kPYkxb1kcI8Ruu/qT15pEUVXODshE6x3YQWlF96OhIu6XK7Qd1m Y3tg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=lyOoMGtFMhlHfnv9uWDQX5XyCS6S/vwFSZGQxLOHnCg=; b=FNmGkKbEkY/cznBY0Pn6YYXk1s3baZ9MyfpUMYess25nwyEC6BCZAfC9n+sAsm/c5R M7A7wvJH8kcQrwUv3ZMLRm60Nw3viTItSGXhz4NdsuYzQnArS6L4VQo5uyVcQTjP0YOl C7DSdZO+GUMMOXMk6QhpobUXlxoGrKHoMisNyPpthSZnKQIzc8FbyR1tgN2FvRkv/XqS PB3l1nmu4bCiMdDYb7fm7/a1MINXc8uPHXON4XZsAzEtmU6cVAhnZPLjSjzvWQuCenUi P6H7QkoZ527Uh+obFPMbWePmS4z8tl/8c8Ytnwd0KkGGZOd/vyCFDGCFoMPd3ehASHJc 66Jg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Xjk4lMJz; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=lyOoMGtFMhlHfnv9uWDQX5XyCS6S/vwFSZGQxLOHnCg=; b=kSLgzJnN5cRG3grm0t+M1Ut+ZjaYkeFE1NnCBl0dkGcNL7kTukf0kSGzWd/PlSB0Rr bKNah6AbiUX9rWWnvq59xHJk1e5haI3eJSTIL9QmO/4yDID7IjTIt9c9HkTdZxibKD5L qbL2w2s8NMXt74O7hXu+t5KZxAprLFvW2OjwM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=lyOoMGtFMhlHfnv9uWDQX5XyCS6S/vwFSZGQxLOHnCg=; b=PxAMcCNc0DBN1bnojRAxjgGJ/xbF2vSVrSSuQ43Y1Pv5uAilnxwZJh93sA8bXpMJ9D s6s+UijlHErf3BZtZ/Y8ziQE3WtdWtQdohUU4N0JUpBQTrhoBSAzo34w8umj4OahOZTj 4nsODGaA8znFrsQojVE1KEVUBTMRXFAieIfmIeKTfTIX35dB0GWLhxDBnowaXpBt/nYd YyjDNhi3wfNY8iNOD0rhcJvLAmatB4tZDnInVz/xfsQVUgvamFQ9m8YAXM8gJot5B0Ql 2AvdoCc/f5GumRM/7xQXKeti4KnmBpgIjSz62Nc71NEq5fhXCPo8LlfSEKv9/2Mvj5ng /Dsw== X-Gm-Message-State: AOAM531v7iIa0BDR0PLKfSuV7F89iEvBRq318y3lKcKltZ0QvfLTbS3B 1YowRQgy+9eMLa5KTg4olDWa1oUU X-Google-Smtp-Source: ABdhPJxTR2Ub6s5GG6KBRcE5SpeB+uCNTPoUO2J4lIykVu1kgVSJIuiCE4IJeUTFSxS4/+RGwifYVQ== X-Received: by 2002:a63:d40c:: with SMTP id a12mr2730871pgh.124.1592474948351; Thu, 18 Jun 2020 03:09:08 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a62:8858:: with SMTP id l85ls1735093pfd.6.gmail; Thu, 18 Jun 2020 03:09:08 -0700 (PDT) X-Received: by 2002:a63:ac53:: with SMTP id z19mr2636065pgn.181.1592474947901; Thu, 18 Jun 2020 03:09:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592474947; cv=none; d=google.com; s=arc-20160816; b=CnITdZQgS6DKWJcIza4q6J7FnObBwb3YNXqsO42xyYpVMnJQYEsfi7b/Gb6eXtrkSW 1H16Bpm+kE7jDVj7HmM/kaX5q2KJsGCvuSzzugvEI4aDKaEFFqz7yYl8SoLu4GdSJv/p b6+xwB3wqx1qMW9QpMKN4x8W33v5q+ezQI1KZNG9TUsaobguviAHQjbsCbNfNcjAmHyN xM477lTiYDTze9BF6hooxfFbNm4eNrM7Q78ZPBHrAq6BflZqmJl0R/mOD8LG+HfhyCyX Ij3A/PNwdO5UD7VU1kq96hwYMpmc2TDbpBVA0hJEQql3JaQH7Nx/JCCbU5HI/si3X25X yiMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=0tx33LB4XJjdQBQtJdq8pHurr/XG5qcfV4Bojc0lI48=; b=MB/+FWnhW8vaW8RPcpvO0i85qd9I0ZoJpcSixI0ZS4F/c4QL6EqbcF+iesxsLQBXGu bmenp+C0rCjf7jet46sDOYDh7ODwuYCM1dHO+6k24vdcd9JRij4zkTBrXfg9iByyZ6qJ 7lPEMKfx8R9bq7kqSawputv/iSWBcPi6+mEcBCdOquvJpB2k5DMsJk8c0IVIGozP8Zeg 0W5u1zkKkFGpr6cWcB6diTK5ssopTwedAKMFalSruYIrMsvDzWeMNEhv2iHFfYejZJ0g 14jlOkAxElBCVW7FzJ2Ea4kYzd/5zdAd3qgfPHsHLwsmhednORJzYudSZwBF9+IZ7xKl AR6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Xjk4lMJz; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id c11sor2816692pjq.7.2020.06.18.03.09.07 for (Google Transport Security); Thu, 18 Jun 2020 03:09:07 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a17:90b:4c4b:: with SMTP id np11mr3550785pjb.58.1592474947624; Thu, 18 Jun 2020 03:09:07 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:b0c7:f192:869b:df87]) by smtp.gmail.com with ESMTPSA id o16sm2190793pgg.57.2020.06.18.03.09.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jun 2020 03:09:06 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , Rob Herring Cc: Tom Cubie , linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-amarula , Jagan Teki Subject: [PATCH 4/4] ARM: dts: rockchip: Add Radxa Rock Pi N8 initial support Date: Thu, 18 Jun 2020 15:38:32 +0530 Message-Id: <20200618100832.94202-5-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200618100832.94202-1-jagan@amarulasolutions.com> References: <20200618100832.94202-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Xjk4lMJz; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Rock Pi N8 is a Rockchip RK3288 based SBC, which has - VMARC RK3288 SOM (as per SMARC standard) from Vamrs. - Compatible carrier board from Radxa. VAMRC RK3288 SOM need to mount on top of radxa dalang carrier board for making Rock Pi N8 SBC. So, add initial support for Rock Pi N8 by including rk3288, rk3288 vamrc-som and raxda dalang carrier board dtsi files. Signed-off-by: Jagan Teki --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/rk3288-rock-pi-n8.dts | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 arch/arm/boot/dts/rk3288-rock-pi-n8.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index e8dd99201397..1d1b6ac26394 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -964,6 +964,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += \ rk3288-popmetal.dtb \ rk3288-r89.dtb \ rk3288-rock2-square.dtb \ + rk3288-rock-pi-n8.dtb \ rk3288-tinker.dtb \ rk3288-tinker-s.dtb \ rk3288-veyron-brain.dtb \ diff --git a/arch/arm/boot/dts/rk3288-rock-pi-n8.dts b/arch/arm/boot/dts/rk3288-rock-pi-n8.dts new file mode 100644 index 000000000000..ffec77f0a1b6 --- /dev/null +++ b/arch/arm/boot/dts/rk3288-rock-pi-n8.dts @@ -0,0 +1,17 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd + * Copyright (c) 2019 Vamrs Limited + * Copyright (c) 2019 Amarula Solutions(India) + */ + +/dts-v1/; +#include "rk3288.dtsi" +#include "rk3288-vmarc-som.dtsi" +#include + +/ { + model = "Radxa ROCK Pi N8"; + compatible = "radxa,rockpi-n8", "vamrs,rk3288-vmarc-som", + "rockchip,rk3288"; +};