From patchwork Wed Jul 15 08:34:12 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1493 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f197.google.com (mail-pg1-f197.google.com [209.85.215.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 6965F3F1D9 for ; Wed, 15 Jul 2020 10:34:48 +0200 (CEST) Received: by mail-pg1-f197.google.com with SMTP id j9sf2254953pgm.8 for ; Wed, 15 Jul 2020 01:34:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1594802086; cv=pass; d=google.com; s=arc-20160816; b=QzxFMm3ei7PhBR0z//VsiICEeNcLMw5Eg+pzqjGzE+tGlQ+uW5//uwVEyfaZopwsnZ ysDuPqN9C9uNfaDRuQ1asUNEzwo/n5NihYvNNVGhlxhzx20j27BzkdbtYFEXHmTmurhE 1PSKobR7G7POkYS5WxBE1pbqKKXFY2qhTYQXGCScO2V+fmzJYuud66RkAzcIO7TlIUQp asvuPpSIVUCgnwYwpmBi3RcprBseDlLyc5YuuTotJslvw+CzdwCRzxngPsFFie/UXocR c3cDCTxrDcA2khZ3olrnwfe2Cxa8OKYo/w3YAyEPTdZy6h3//L0MkyQA/u2dUpVMbhmt rZXQ== 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=cDJz696UsWTgZKJN1fWrFSODJs8Xrb8OrB6c0W00oU0=; b=VH62du5xgPEmViwnVh+1XnUxiWib2OpHWfnqwGHTTMq6st2sF8uARWythWi7of7+Bz tEufa91FfCv9ZnX0t2QTVDX8ouGjEQxCWH8ziRDhvmc+5cV7+NT2MukmJ9tQREp3E9EZ kUtwbO+SYChKtRmqeRSCHpL5MdX7IZOI7SZZaBinaSLqmyH1r3pUFt8f+MHqZwk9aj59 r73ohsK1QK6/WLPhXLoTk5Uu1xzO9WawHgLvOV6Ke0k0MNeUtBA7hZCz72n6xEU/2dIa FX0h1Qfd9mDqqUERdTC1XQSKK2YlPm867lFUDJUMvCQtYVVd/LEv8eXqn/c5zrM2YDyn 5xBQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=YYbdkIb4; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 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=cDJz696UsWTgZKJN1fWrFSODJs8Xrb8OrB6c0W00oU0=; b=r3Ag658PxmBqiSQ5Ck1eF5HDdmLSQ/aUEcOmDjpgUniKhjj27x98djrzmIPS6ShrQJ fv9/A5mkf8/SlnZwNutu2KD272NhxVUzMCLpQvRata+UFnQUJoSRdmQErvl7QjgADbhu jGR/gvvjRj0yObWwwuJl8gLtwFkVbh5koylqw= 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=cDJz696UsWTgZKJN1fWrFSODJs8Xrb8OrB6c0W00oU0=; b=QK+5mFku5A9dUFoA6r9W4Bc9zhfLZvWzCgduS9nn7BNlXfS9THRusGWzTsK71O3rph jS+ACCAz5xGF76j0faPbSrkIGtHsfrvsqBg4J7rHIVXZ0lWIdPJJ4YEo+UGE09JAdReQ yFgGnb+6T4Z/UIFMdLVjO8RUnhLoejihD9/qYE2BQFQOQG53MZt8iWzjewru6gEC2z2E Dh9p+hx+aePXlb02Uqa+EiNcnRcnDqoXG68cNYZXCxcao9Z0nuP3f1rfuj8a0Xu1hJFg d3yJrXYDgaJYwT2xMBc73kXUR2Ba7vmQTgr9Xtew+ehaa0qh4Q+X+bxObu23fb0vtm9I sNPg== X-Gm-Message-State: AOAM5334bXhpRzV6MTwlQxnEYvkoWiKEkmP68B8txJelxczEZxyHe94G RjPKuO7JFn0r2LIQX1cRXWrBsRLD X-Google-Smtp-Source: ABdhPJyjel1mVDCWyFvIBxP+1JcZa3eP5F9bGHpWdPyhy4EXsuQv7cO1Y38SY+bbDhnaBJyjQccjMQ== X-Received: by 2002:a17:902:6b83:: with SMTP id p3mr7507343plk.193.1594802086291; Wed, 15 Jul 2020 01:34:46 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:9f8f:: with SMTP id g15ls625985plq.6.gmail; Wed, 15 Jul 2020 01:34:46 -0700 (PDT) X-Received: by 2002:a17:902:d391:: with SMTP id e17mr7101962pld.219.1594802085804; Wed, 15 Jul 2020 01:34:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594802085; cv=none; d=google.com; s=arc-20160816; b=amvR97TVNMjh1bnN2+9bEtCHf+/7muN64McZVHtF2+5sOVV3fUQurIau6bGsonSVSK q3GO2cdKy4KkeSoAFljweYRnK+6yXWD7tBiTzjC+zf7H0y9nIqbNKTdqCf4tmspQYbsV uShClTFvQVUWBmMbLKZDCHdPCMt8kIVX/+DifnI9q9Q/AmrYy2HxS6hB0qf9PtSVxoox /2O1EnBZGO8vq+9XCqZXTOzbZYn6l6hhPqt0ateyX4HVZffHVY95tr2Dkx0bedmCka0q Vnf1+lKwzsts2GCqp2U5nKxfyEBBgpK9OuutgpaXBH8Ldrfa0DUHqEsNCGwwvETvU1mj k5pg== 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=kjN8zayeMZG2DU4GzukY5NcBfZcnl9ozMGccHHoLtc4=; b=1Ll1UoA7zCZ5DFqf4fb+eahuMftcBskznEGTW9YsnnOjrqH7vqtPv3GrrgQz7E70aR oEe02hJUHl1kvDyoWKWlZrirEKoz+W4Oo/8GA0hY/ziegeHnlCvNl1CqHJZuSdIdi1cQ PMCXIARsilXYoFtr+Oofym/Nxd+xRpcbws0m69R76/VaaO43ztlwQCXDKraKlzJ6D7gD 6MmX1hyx2J2HvciXOvuktZPxOTTX8L1h5vw3s3kGHqcd4TvBF2QGuI1mPL4H8jzZ1zOZ UIoYarYmRi5Xlt2XETj2IRd/UzZ0/+VE6l0z2krdEbIpFE3SR5lySTRiZcEb+F7dwrXf ONcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=YYbdkIb4; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id y127sor1796605pfb.74.2020.07.15.01.34.45 for (Google Transport Security); Wed, 15 Jul 2020 01:34:45 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a62:1b4e:: with SMTP id b75mr7485926pfb.33.1594802085172; Wed, 15 Jul 2020 01:34:45 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:9887:56a8:c916:cfdb]) by smtp.gmail.com with ESMTPSA id m92sm1467584pje.13.2020.07.15.01.34.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jul 2020 01:34:44 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , Rob Herring Cc: Suniel Mahesh , Michael Trimarchi , 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 v6 1/7] ARM: dts: rockchip: dalang-carrier: Move i2c nodes into SOM Date: Wed, 15 Jul 2020 14:04:12 +0530 Message-Id: <20200715083418.112003-2-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200715083418.112003-1-jagan@amarulasolutions.com> References: <20200715083418.112003-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=YYbdkIb4; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 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: , I2C nodes and associated slave devices defined in Carrier board are specific to rk3399pro vmrac SOM. So, move them into SOM dtsi. Signed-off-by: Jagan Teki --- Changes for v6: - spilt of previous version Trivial patch .../dts/rockchip-radxa-dalang-carrier.dtsi | 32 ------------------- .../dts/rockchip/rk3399pro-vmarc-som.dtsi | 29 +++++++++++++++++ 2 files changed, 29 insertions(+), 32 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..176b53b8e41a 100644 --- a/arch/arm/boot/dts/rockchip-radxa-dalang-carrier.dtsi +++ b/arch/arm/boot/dts/rockchip-radxa-dalang-carrier.dtsi @@ -17,29 +17,6 @@ &gmac { status = "okay"; }; -&i2c1 { - status = "okay"; - i2c-scl-rising-time-ns = <140>; - i2c-scl-falling-time-ns = <30>; -}; - -&i2c2 { - status = "okay"; - clock-frequency = <400000>; - - hym8563: hym8563@51 { - compatible = "haoyu,hym8563"; - reg = <0x51>; - #clock-cells = <0>; - clock-frequency = <32768>; - clock-output-names = "hym8563"; - pinctrl-names = "default"; - pinctrl-0 = <&hym8563_int>; - interrupt-parent = <&gpio4>; - interrupts = <30 IRQ_TYPE_LEVEL_LOW>; - }; -}; - &pwm0 { status = "okay"; }; @@ -70,12 +47,3 @@ &uart0 { &uart2 { status = "okay"; }; - -&pinctrl { - hym8563 { - hym8563_int: hym8563-int { - rockchip,pins = - <4 RK_PD6 0 &pcfg_pull_up>; - }; - }; -}; diff --git a/arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi b/arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi index 0a516334f15f..e11538171e67 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi @@ -297,6 +297,29 @@ regulator-state-mem { }; }; +&i2c1 { + i2c-scl-falling-time-ns = <30>; + i2c-scl-rising-time-ns = <140>; + status = "okay"; +}; + +&i2c2 { + clock-frequency = <400000>; + status = "okay"; + + hym8563: hym8563@51 { + compatible = "haoyu,hym8563"; + reg = <0x51>; + #clock-cells = <0>; + clock-frequency = <32768>; + clock-output-names = "hym8563"; + pinctrl-names = "default"; + pinctrl-0 = <&hym8563_int>; + interrupt-parent = <&gpio4>; + interrupts = ; + }; +}; + &io_domains { status = "okay"; bt656-supply = <&vcca_1v8>; @@ -324,6 +347,12 @@ &tsadc { }; &pinctrl { + hym8563 { + hym8563_int: hym8563-int { + rockchip,pins = <4 RK_PD6 0 &pcfg_pull_up>; + }; + }; + pmic { pmic_int_l: pmic-int-l { rockchip,pins = From patchwork Wed Jul 15 08:34:13 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1494 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pl1-f197.google.com (mail-pl1-f197.google.com [209.85.214.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id C1F3F3F1D9 for ; Wed, 15 Jul 2020 10:34:51 +0200 (CEST) Received: by mail-pl1-f197.google.com with SMTP id bf1sf1946204plb.11 for ; Wed, 15 Jul 2020 01:34:51 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1594802090; cv=pass; d=google.com; s=arc-20160816; b=ENs3HAio1d7wcozL1NvzedY80j/2c/TstM2SVgxE17HU/6InS4+lNJ6Yq3O8El0SVu ziTKCm55g9tbwj9beHn1S7pfCJaMb0KOxTT3BXFGmjq2o1z91MFGaSyo7dODUz5aR7ug HEIpcrEl5AAXCcec41iRrsUBoBl2uQIsV19vHLsqhBQRTfNWUfU4ngkRw+ac+UwKUO0B VHwF8yd6Q/r8B8V0y+Whsyuw1yOsyCxg5BG0mPSgfv9faJrjk0Dc9EOIcakVVGQx0XpB ABPUH5QdoVDsfteA/saX/Ew94IBPtGKJ76gzX6fHZ5JJTQIv+XVfxJ0rLNUAJV7aI4Kk xPgA== 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=nf6z7EDfM0mLrbjQTGTsORz4vxV/QtpZNAYm6teITrM=; b=j8ygsC4VXQlD6THuwtmr94XVmE0FIAYkJlSqW2zg2D2OHC8nKNFJjWEu/woc6iw7iD RtAA1ANrsc91Gh2m/B+v93AfJYzb7KWYwaNAgLKBSdrc/whCzsFynx9dWs2P4QkbEPm0 QXhGrzrXsOimogQQc+D1Lh6QWavX46opYzJlsXqPfjGLuoA3OVD7WY4DpKFWdGqir72s A9SA/qbwMxb0EbF3MP832wHI2b2bwL61BAO4YIZZm/Qfjx7c/RgxxIvFy6AXl5jHSKwB H/eLahGYvY42JmdsZef8i/QwtNuxoks6ObF3Tw6IAS6Au31VSygX5XeK6l44eQHVo5G7 IzTQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=JhJWP2KI; 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=nf6z7EDfM0mLrbjQTGTsORz4vxV/QtpZNAYm6teITrM=; b=Skm8y+KVzNx6aDV55+mx+NGOwRJ2xlR2sByjBXv7QohwQXi9nD+IPL9ZJ4qrbCFTvp 6VAGrPvHbwOTPjm9+7b5mnat7vZoxKNcgqhs4IHbvaF/7z/neRn/zbi6RCc+cnRPK4UG uQO2RVtFno1xZ5hlICh3virWNMlcDMF44gdqI= 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=nf6z7EDfM0mLrbjQTGTsORz4vxV/QtpZNAYm6teITrM=; b=Xw7j/ERCxtLuypmHVazs3vAfcxJF+pD81LF5UXvmBIN/47T2N5aq4CnrSZM6A0+wjD tLIug0sEqf98abvf2xabJENVXS+W+mqIQOuUyb+S8MtPwEqZrPMJAfBH3ilP/wugkLvK 6Wy7PAEQl0WF5TIAZcrT65Z4OXfZX5GVa1ERG7COWkgyJabkC1Dm+XmOIVnNdDzrG7Ug aFVmGUHyoMvsQSrmg7tLFQ/4OsB4AzHV4L+falpMpNjLjOuUi/NWyqlpVh79S6SN6q7w WZVJnMGon6rUgWxUrAJ5Ink6L8u3ZmC2khcVlJwUCEqIh4o7+zLUT8LjeAGIc5/X9RWI L5dQ== X-Gm-Message-State: AOAM531ttwiYCyYWbO9xqWf1uLFdCwjvYRQtEIouxoVATA3MWced6UdH B9klaK1LfKItfkMQvtGyCdQ13XsU X-Google-Smtp-Source: ABdhPJwbOnAZwyjINUgZ4mrgm9JS3cnLjRdSCr5qz/ahZb1ktq+03NVJNMxbzdkDnu8wmQ41zI1f6A== X-Received: by 2002:a17:90b:46d7:: with SMTP id jx23mr9601169pjb.191.1594802090303; Wed, 15 Jul 2020 01:34:50 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:90b:380c:: with SMTP id mq12ls809278pjb.1.gmail; Wed, 15 Jul 2020 01:34:50 -0700 (PDT) X-Received: by 2002:a17:90a:2048:: with SMTP id n66mr9362757pjc.71.1594802089829; Wed, 15 Jul 2020 01:34:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594802089; cv=none; d=google.com; s=arc-20160816; b=pn0dezG5lXZX7Itbs0Tve2wRnV0AFY/1qVZR+TgPHWFX2vSy+ckf5u+ZllY5cAgXvx lnlm6Xijp1SloNrbcKcMt4nJToLoporpkzrvd2wc8QGbNVBTeLitN8CUSZfYwdYCBEnq j+1qQGBDI6ihmS4V8POvaSa13teWcrDisb3jLeCqU2U9r4iW1b75ynQhrDFihNcWPvjM XCPiRmxDy7k/U4UqShcc2wTn6WJ2uo56O95q4LBBhmA1u6flVehmZmbp7GlCfu8hTDa4 gu9DJb2zUZfT7FWTDSb7b7pQqVdXQZ9f17mTXe0Dr512Xha+1Kkz2Et9h22LBAOdrhS1 u6ew== 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=p5iXaht479GnGhX17VzhQEzhFfkqxgmW23gJMSjYcgI=; b=nWoyAmB0x6JhA/5m2LAW4tlmCieLCaiE3le/CR2MKfayAEm1IQeIuvAovDYK0+hdTN zV09gr3Jv5IymGlLAxBjYiBDvUo2UnF51rH8ns+P1RUVE/xnooSQcBFEtcgn57rSzq06 vcen3LQ5oFe/K217ucnYs1Duu7M59l86+vXxnfZVpuu0wkidFssq4n6llYHs7YULT6Ip SB5+PXZWhbDEPvyPqVw3ddyYT6Fw+BzZyP4XtTQECfIva6ZfPKq+hNDrmFWq2NrNJbVY /yskN5u63ccSTcd5pugEGFbuqNi5wHa7etRGv5Q+2neEQ4QOwYdT1fsQAv+9RW/e2swQ szOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=JhJWP2KI; 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 k23sor1770225pll.69.2020.07.15.01.34.49 for (Google Transport Security); Wed, 15 Jul 2020 01:34:49 -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:902:b113:: with SMTP id q19mr7393133plr.170.1594802089528; Wed, 15 Jul 2020 01:34:49 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:9887:56a8:c916:cfdb]) by smtp.gmail.com with ESMTPSA id m92sm1467584pje.13.2020.07.15.01.34.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jul 2020 01:34:48 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , Rob Herring Cc: Suniel Mahesh , Michael Trimarchi , 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 v6 2/7] arm64: dts: rk3399pro: vmarc-som: Fix sorting nodes, properties Date: Wed, 15 Jul 2020 14:04:13 +0530 Message-Id: <20200715083418.112003-3-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200715083418.112003-1-jagan@amarulasolutions.com> References: <20200715083418.112003-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=JhJWP2KI; 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: , Fix node, properties sorting on RockPI N10 board dts(i) files. Signed-off-by: Jagan Teki --- Changes for v6: - spilt of previous version Trivial patch .../dts/rockchip/rk3399pro-rock-pi-n10.dts | 2 +- .../dts/rockchip/rk3399pro-vmarc-som.dtsi | 35 +++++++++---------- 2 files changed, 18 insertions(+), 19 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3399pro-rock-pi-n10.dts b/arch/arm64/boot/dts/rockchip/rk3399pro-rock-pi-n10.dts index a1783e7f769a..539f4005386d 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399pro-rock-pi-n10.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399pro-rock-pi-n10.dts @@ -8,8 +8,8 @@ /dts-v1/; #include "rk3399.dtsi" #include "rk3399-opp.dtsi" -#include "rk3399pro-vmarc-som.dtsi" #include +#include "rk3399pro-vmarc-som.dtsi" / { model = "Radxa ROCK Pi N10"; diff --git a/arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi b/arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi index e11538171e67..121a430d6a70 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi @@ -76,8 +76,8 @@ &gmac { &i2c0 { clock-frequency = <400000>; - i2c-scl-rising-time-ns = <180>; i2c-scl-falling-time-ns = <30>; + i2c-scl-rising-time-ns = <180>; status = "okay"; rk809: pmic@20 { @@ -323,8 +323,22 @@ hym8563: hym8563@51 { &io_domains { status = "okay"; bt656-supply = <&vcca_1v8>; - sdmmc-supply = <&vccio_sd>; gpio1830-supply = <&vccio_3v0>; + sdmmc-supply = <&vccio_sd>; +}; + +&pinctrl { + hym8563 { + hym8563_int: hym8563-int { + rockchip,pins = <4 RK_PD6 0 &pcfg_pull_up>; + }; + }; + + pmic { + pmic_int_l: pmic-int-l { + rockchip,pins = <1 RK_PC2 0 &pcfg_pull_up>; + }; + }; }; &pmu_io_domains { @@ -341,22 +355,7 @@ &sdhci { }; &tsadc { - status = "okay"; rockchip,hw-tshut-mode = <1>; rockchip,hw-tshut-polarity = <1>; -}; - -&pinctrl { - hym8563 { - hym8563_int: hym8563-int { - rockchip,pins = <4 RK_PD6 0 &pcfg_pull_up>; - }; - }; - - pmic { - pmic_int_l: pmic-int-l { - rockchip,pins = - <1 RK_PC2 0 &pcfg_pull_up>; - }; - }; + status = "okay"; }; From patchwork Wed Jul 15 08:34:14 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1495 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pj1-f70.google.com (mail-pj1-f70.google.com [209.85.216.70]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 28A4E3F1D9 for ; Wed, 15 Jul 2020 10:34:56 +0200 (CEST) Received: by mail-pj1-f70.google.com with SMTP id e10sf3320527pjt.0 for ; Wed, 15 Jul 2020 01:34:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1594802095; cv=pass; d=google.com; s=arc-20160816; b=0L1eDx5jX7x7MT34jDhNwGcScb4F/yFDbzTRW6MBoj79gTO0DMdjrSRQiLxk2yHuGi LfLvhRpKubjsGJXexCtM5Uazm4WaxDWlbW96yEHs26Vcotdf7oIoEBMdDIVhxuSG+37K zhP7rOJVcJecvVqPsEUTemce99W2MuGfUO/HgGz9t1bCn3DKn2968HvNvynNXvUfvX5V LsUjcvzCfnBc1B03cw47XaHBL3bRqHfSSmF+/9hIpzcw9h4LmADhNAFoe5bHT3pOBIci hRAKW7jov+dr8Av1+4Q/dEWtujNM9CtKcsXCAJZXkBIXtduQ/rvOtMyORejS8R3KJgfn UfKQ== 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=PI1tWiWLeP3Tbj69cffH2jjvzOTjGHvBZ5isfFiZHI8=; b=b1LPPLJAgQzEIvzCkVugmAWrjPS3S6kaUY/m/VkraxY/4AkC9W3n32aNydhDb64vFV OMwd2z81QmnjbMsOk4LZlnBjA2+48wfxHZhB+x/CVdtixiLB87mKkOTvH59AUQ9m/+O2 2dpfN/DIBvSEN7CvoyLgbbmw8Kbr6yxINopg4a7aHXEnhqsLT9kE3Ut59B2GPKCwrEhR wmqHorHgmrN6zSbyuknOV6WzFXRBs9+QIJwnqwrFjgGPMfROKuK4S+KKAyt2sJ7uxRZx eohhD169O04R/hueyArSRO4G+fnCDOcPEgUtG3kQyruAn9rM6j3X2sYvLYGQKXTdjlYB oL4w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=V6eXBTMb; 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=PI1tWiWLeP3Tbj69cffH2jjvzOTjGHvBZ5isfFiZHI8=; b=Xm5JpDmLQc865Ime/5SPjr0kZw/AgCHMd2iMDrfSZOXVgnT55KaouPRhdgy3wVOdm7 jJ3g+cErSH/JWtHQSu175lNYZGfNmM5qj5EYLL5h9Jqg33OVaTHAmxbdpgxLKweZzfco 1iu4LFPhG5n1ZtWHLJCn9IrDtd7PHviBWkiuY= 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=PI1tWiWLeP3Tbj69cffH2jjvzOTjGHvBZ5isfFiZHI8=; b=dgdd8Oan3mm9Pd05X61Rx7kc4pod1qVWxOUE7JYSx6t5G6ezA3ahB1HszIJU4U3jSq 97Qj0SShxlzucmC485l2CtZiTCuED/pNK3kHnedCU3Go79T4+6NZXqWnwMnWaq8VWHoL P/WLwwK5FW5cZiWAVVBouQc90s0XcKDbuf8UiZatnryz8wmEeMCCWX8FJuABqJwv9Lt/ SncLpzb91WAjrytkVfi1Tsrxq4SbWeoyzLwYFOEGlrBuxs2Tevlz40OMk648vTK3sZD6 MWh510pGNM8YcFi7m7nnJjJvBulgQGtb58cs9PSKZyHbDIDVguiKFS7rEhpVkNAsPxuP kM3w== X-Gm-Message-State: AOAM531/NG5k1ZW6DXWx9UmejQjNJs0iM9CN+DagLTlMMPfdd58jRKu1 e7ny4au74gJ8J+3hOGQTrA2xwUqV X-Google-Smtp-Source: ABdhPJzXElzyYtUzLO9pckg407P9FKNQLv51X0S3zsmoc5fdoPD5bf7WF+uhCRCdHaLQ5Asn+brafA== X-Received: by 2002:a17:90a:ba92:: with SMTP id t18mr9037465pjr.121.1594802094739; Wed, 15 Jul 2020 01:34:54 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:263:: with SMTP id 90ls623857plc.9.gmail; Wed, 15 Jul 2020 01:34:54 -0700 (PDT) X-Received: by 2002:a17:90a:21ef:: with SMTP id q102mr9315573pjc.101.1594802094267; Wed, 15 Jul 2020 01:34:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594802094; cv=none; d=google.com; s=arc-20160816; b=Qn3MoYNPD4awh7KtmT/9K0nMlGwKl9x6jfAnrneYevX2oMaivkWINg+pBj0wZNUZVM XGUOvXPCrlWtlwy2TrwjRNr+v2Oadv8O4GidzMNwVvpUtW9EICdvsi47FodwfdlDZX9L v8MWxOQehB7sHd+CnRji1UWkzZxsGUJ9A5yOyK4EsW+8h+Ld5aCi6nXyKan1uAPqL3z6 bBPkZlpG3PRXo15bpFafn5Nr/Tos3257HhWSdbwfwXwnDKOQ9hGOPZiRwlin0kKX+DcZ tBhl5lRoe8IpG97aP+tXWmrFSYpOJLsTimDsRbjIYM2Rnhrawtjt4ElJ7802TRz7NtbG ymjw== 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=YgB0N9dRcA9w6WXseVOOZfeq0/D4u3nNZYgCsL9uaRw=; b=iXsksg4rm1xToBhcGH99XxfSfjN7rcgsQZwArq3GO1XtQ+cYY7yDZ0GrIFcAhDaei2 jEhtdmkOW6KgfC4faU3GU6BM4KCcryjG/0Wq77Nr3B6uAXzCAnhd+0E7C4LLqAsIZ79J dHLDtVA1nEr1DfWS4tHZStN+H4G8Ha8ZQ5oYlnUOknQjDFUsSCb2zkADuS4byWI/x9o7 IN2Gi/rrK3rICwlgavDwoTuV0f4jfNocNaRtZ4cMyff2Jg01KxLjKVZbLvRp9ckhrPZM Ny/iHdNxmFf1fZD1PMQzsteNCNcXtOUdsgb3lrfSkCdHy+rRk3Gae3Qlti0MfjhY/V+t gMaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=V6eXBTMb; 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 mr12sor1460126pjb.26.2020.07.15.01.34.54 for (Google Transport Security); Wed, 15 Jul 2020 01:34:54 -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:db48:: with SMTP id u8mr8358830pjx.169.1594802094012; Wed, 15 Jul 2020 01:34:54 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:9887:56a8:c916:cfdb]) by smtp.gmail.com with ESMTPSA id m92sm1467584pje.13.2020.07.15.01.34.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jul 2020 01:34:53 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , Rob Herring Cc: Suniel Mahesh , Michael Trimarchi , 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 v6 3/7] arm64: dts: rk3399pro: vmarc-som: Move supply regulators into Carrier Date: Wed, 15 Jul 2020 14:04:14 +0530 Message-Id: <20200715083418.112003-4-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200715083418.112003-1-jagan@amarulasolutions.com> References: <20200715083418.112003-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=V6eXBTMb; 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: , Supply regulators are common across different variants of vmarc SOM's since the Type C power controller IC is part of the carrier board. So, move the supply regulators into carrier board dtsi. Signed-off-by: Jagan Teki --- Changes for v6: - spilt of previous version Trivial patch .../dts/rockchip-radxa-dalang-carrier.dtsi | 19 +++++++++++++++++++ .../dts/rockchip/rk3399pro-vmarc-som.dtsi | 19 ------------------- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/arch/arm/boot/dts/rockchip-radxa-dalang-carrier.dtsi b/arch/arm/boot/dts/rockchip-radxa-dalang-carrier.dtsi index 176b53b8e41a..00b200a62263 100644 --- a/arch/arm/boot/dts/rockchip-radxa-dalang-carrier.dtsi +++ b/arch/arm/boot/dts/rockchip-radxa-dalang-carrier.dtsi @@ -11,6 +11,25 @@ / { chosen { stdout-path = "serial2:1500000n8"; }; + + vcc12v_dcin: vcc12v-dcin-regulator { + compatible = "regulator-fixed"; + regulator-name = "vcc12v_dcin"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <12000000>; + regulator-max-microvolt = <12000000>; + }; + + vcc5v0_sys: vcc5v0-sys-regulator { + compatible = "regulator-fixed"; + regulator-name = "vcc5v0_sys"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + vin-supply = <&vcc12v_dcin>; + }; }; &gmac { diff --git a/arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi b/arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi index 121a430d6a70..d8fa8127d9dc 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi @@ -18,25 +18,6 @@ clkin_gmac: external-gmac-clock { clock-output-names = "clkin_gmac"; #clock-cells = <0>; }; - - vcc12v_dcin: vcc12v-dcin-regulator { - compatible = "regulator-fixed"; - regulator-name = "vcc12v_dcin"; - regulator-always-on; - regulator-boot-on; - regulator-min-microvolt = <12000000>; - regulator-max-microvolt = <12000000>; - }; - - vcc5v0_sys: vcc5v0-sys-regulator { - compatible = "regulator-fixed"; - regulator-name = "vcc5v0_sys"; - regulator-always-on; - regulator-boot-on; - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - vin-supply = <&vcc12v_dcin>; - }; }; &cpu_l0 { From patchwork Wed Jul 15 08:34:15 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1496 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pj1-f70.google.com (mail-pj1-f70.google.com [209.85.216.70]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 94CA03F1D9 for ; Wed, 15 Jul 2020 10:35:03 +0200 (CEST) Received: by mail-pj1-f70.google.com with SMTP id t12sf2168036pju.8 for ; Wed, 15 Jul 2020 01:35:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1594802102; cv=pass; d=google.com; s=arc-20160816; b=nB59PSyJ/1GIUvU9UG5K6MeZH3vB0CJ9rBN8psEt9PFxZvfiuf9FTkqDxpQgdX4Fyi 2pJPSuPvmDkpKhcByQ/hZhniAc3DVZADlefw+RqQdGeuG9pglpge+lbTBs9705dEem11 P68S10moJy3PdNQ88qy6OWtZebxiK0GqzwHw0IKtSkVS5iFbmfR5wK9HNmfC9tFx3tFx XPFOcEImHbgWxHYyfkt5WxFhXXm5ChtDV5g1xACTsCpzwP79+C1wo3Mt8mBymbTmEXnq 7MmXbmnpRNa/R3V7x1lG5mgYEqiIfORLMh5gFZXcHZgjYZtbciNVzmxOUQLuDgkRvGTS cZJw== 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=ev92nK3PTZQMRnaly/D7m+BjWgcgbOy5VJRzephHC0Q=; b=soEDQgp2gPBlnH+AsMN4LjVWwXP8mu8wgiOBRQor/jGmyjvDgzfzDSPQUQdx1iz0Do FqHF38iLFwhw7QJT9+tSJ/U3XaYE9G2p6HoBK/H9Ht2UUe1gVS2VIp/E/eXaCCkLK9y/ dHYsiw8F6I3vLJaQjJWM8QzgZsn5Nal1IuoyCbEkRjbG0uulvveFSx/r1VoBMyOfHk8Q YBdDyg3tQLDj5eU6Hzmcvi4VH+KyrfuysdbOV7e5s5XoimIubBEAz8NZ/8u6MA+PhcK0 qc4j9Z5T+gpTvhV5Pl2PvPEgHxXyjTeLQUwZfa2kfEcyzHsUoAIrbONgj7whXKSYO3vK 22sQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=D99E52J1; 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=ev92nK3PTZQMRnaly/D7m+BjWgcgbOy5VJRzephHC0Q=; b=K2CesHdv7NH4aTOZsizvCo2s5/yYgCYUxRCsipdlfidQXH93yX9UU/AacbW3JFDPMj YSKpM/6h53X9+3Ad50Imm7ECdI5taS9G+oSSICRysHwLradUHxvjeW9wuWpcR2hI3mop xder88p+nRG+KZgTIsk4Ed8lGIoBxnDHfFP2I= 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=ev92nK3PTZQMRnaly/D7m+BjWgcgbOy5VJRzephHC0Q=; b=sBwRRR36/iOy40Lw58YsAeIZa94zXyq9cG6yfDApQk2rVk29lO4dMs2gYq6Un6Ewgp fjdTVOpoYgVrO+FL5HB2rylfr7mUKBB2Zd1Su2yvsSz33HBjXOZjBAHl4BFCUl+KCa/C BvzC9AwfjF9z+nrNOy2cjGZ/+D/Xi8LGOcdZ69ZKAtwyw0yC6maD6owq7uZaj/6yTGX3 AwBmZRSjm5ogFBaO9kLd6TB/UkFS/3Izg53xzDXgJLe7ekTCh8JnZHNUZ/uS0T49RnhJ wFa5nOD9EbNR5ANG0Gma12TgESl0c6OTGU+I2TmPnqm3umFHPZYsodqnAQ3oanhMYKBV sOEA== X-Gm-Message-State: AOAM533kcHPeH3r5L0SXaJH/1Dv84fhjOmG3DoCzCSHklHfCWJ0dijDz LUSyL8AdVLv2kdl2/crlgaCr0Jwl X-Google-Smtp-Source: ABdhPJzALiWOJju6aqPNrGF9HjHdjIoE9nrWCIXaEA9b8tGDhxuBRa/8rKjv12YhpUgPvkUd8yANgg== X-Received: by 2002:a17:90a:cf01:: with SMTP id h1mr9020504pju.234.1594802102440; Wed, 15 Jul 2020 01:35:02 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a63:525b:: with SMTP id s27ls628106pgl.11.gmail; Wed, 15 Jul 2020 01:35:02 -0700 (PDT) X-Received: by 2002:a62:3741:: with SMTP id e62mr7626636pfa.127.1594802101746; Wed, 15 Jul 2020 01:35:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594802101; cv=none; d=google.com; s=arc-20160816; b=cwmwdRRVbj6E3AfZOv3lMNnfhp02j8av9mLI8aNUJGR+ycoy0355Uxfmcvjxyi5z1+ mTCS1BHePVbRr/5IBnAhnpl2FyJahjQNw9H+S+frhM8K0V71nAzZtNEFHtbfDVa96OuR f+9Ob5DQUKSuEaWbLP4fE0z4+WjfesIqmUu1T9u2lBEYoZwi27UPWkDAYGyxqm9n5eVR zfYVR64VbpNTOGAPJz1CuDXpfJUc3cAVXe9K90p1OdYbbxyCIj7mQa3yOiSbGXKxqwme BistlH+brPs9itkYdISu0PRMbE9GBGtgOtfjf2AVlqLWBell8dlMMmuPDU2N9KdIon3m oVcg== 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=5Gf+3b18Fng3ehSSzSlGlAKgiKsSEaA+C81WsDyFW3w=; b=Wn4q5mQhOBWGJm1anoiUn0f9YAgixFxpO5yeWwJ4bO38FyK8TA8Sxp7G7vGEpa5uGi V3hmccZA1B8T3YRjkx3AtirV3O6eVrKhizZGRuepZYl8TIeSYj3tvPRXkZJd4ezyO54O +E2DfpyN3eWlWvlMuhWhN3IGBzbKPTVYqx8Psy3npFiBUj9kWDIXE5wo4Hmn7j271O2b usLhr7Gd4ub+nZySshb51guyBd6e85uO5YCOzwS9a4kkjqDpMTfvZl9O2Gg4kYgT4bM8 CaXwOQy+6Lw+OysIg5+NF8nqnPHmV4Ukum6K1Vw+UwaN+X6nQPcO7DXrcbEJEQ0UJ/ib rbBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=D99E52J1; 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 y8sor1827009pfq.18.2020.07.15.01.35.01 for (Google Transport Security); Wed, 15 Jul 2020 01:35:01 -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:a62:88d4:: with SMTP id l203mr7603870pfd.205.1594802101431; Wed, 15 Jul 2020 01:35:01 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:9887:56a8:c916:cfdb]) by smtp.gmail.com with ESMTPSA id m92sm1467584pje.13.2020.07.15.01.34.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jul 2020 01:35:00 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , Rob Herring Cc: Suniel Mahesh , Michael Trimarchi , 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 v6 4/7] arm64: dts: rk3399pro: vmarc-som: Move common properties into Carrier Date: Wed, 15 Jul 2020 14:04:15 +0530 Message-Id: <20200715083418.112003-5-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200715083418.112003-1-jagan@amarulasolutions.com> References: <20200715083418.112003-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=D99E52J1; 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: , Some of gmac, sdmmc node properties are common across rk3288 and rk3399pro SOM's so move them into Carrier dtsi. Chosen node is specific to rk3399pro configure SBC, so move it into RockPI N10 dts. Signed-off-by: Jagan Teki --- Changes for v6: - spilt of previous version Trivial patch .../dts/rockchip-radxa-dalang-carrier.dtsi | 18 ++++++++++++---- .../dts/rockchip/rk3399pro-rock-pi-n10.dts | 4 ++++ .../dts/rockchip/rk3399pro-vmarc-som.dtsi | 21 +++++-------------- 3 files changed, 23 insertions(+), 20 deletions(-) diff --git a/arch/arm/boot/dts/rockchip-radxa-dalang-carrier.dtsi b/arch/arm/boot/dts/rockchip-radxa-dalang-carrier.dtsi index 00b200a62263..450e5bb5af0b 100644 --- a/arch/arm/boot/dts/rockchip-radxa-dalang-carrier.dtsi +++ b/arch/arm/boot/dts/rockchip-radxa-dalang-carrier.dtsi @@ -8,8 +8,11 @@ #include / { - chosen { - stdout-path = "serial2:1500000n8"; + clkin_gmac: external-gmac-clock { + compatible = "fixed-clock"; + clock-frequency = <125000000>; + clock-output-names = "clkin_gmac"; + #clock-cells = <0>; }; vcc12v_dcin: vcc12v-dcin-regulator { @@ -33,6 +36,15 @@ vcc5v0_sys: vcc5v0-sys-regulator { }; &gmac { + assigned-clock-parents = <&clkin_gmac>; + clock_in_out = "input"; + phy-mode = "rgmii"; + pinctrl-names = "default"; + pinctrl-0 = <&rgmii_pins>; + snps,reset-active-low; + snps,reset-delays-us = <0 10000 50000>; + tx_delay = <0x28>; + rx_delay = <0x11>; status = "okay"; }; @@ -48,10 +60,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-rock-pi-n10.dts b/arch/arm64/boot/dts/rockchip/rk3399pro-rock-pi-n10.dts index 539f4005386d..369de5dc0ebd 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399pro-rock-pi-n10.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399pro-rock-pi-n10.dts @@ -15,4 +15,8 @@ / { model = "Radxa ROCK Pi N10"; compatible = "radxa,rockpi-n10", "vamrs,rk3399pro-vmarc-som", "rockchip,rk3399pro"; + + chosen { + stdout-path = "serial2:1500000n8"; + }; }; diff --git a/arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi b/arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi index d8fa8127d9dc..37ed95d5f7e9 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi @@ -11,13 +11,6 @@ / { compatible = "vamrs,rk3399pro-vmarc-som", "rockchip,rk3399pro"; - - clkin_gmac: external-gmac-clock { - compatible = "fixed-clock"; - clock-frequency = <125000000>; - clock-output-names = "clkin_gmac"; - #clock-cells = <0>; - }; }; &cpu_l0 { @@ -42,17 +35,8 @@ &emmc_phy { &gmac { assigned-clocks = <&cru SCLK_RMII_SRC>; - assigned-clock-parents = <&clkin_gmac>; - clock_in_out = "input"; phy-supply = <&vcc_lan>; - phy-mode = "rgmii"; - pinctrl-names = "default"; - pinctrl-0 = <&rgmii_pins>; snps,reset-gpio = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>; - snps,reset-active-low; - snps,reset-delays-us = <0 10000 50000>; - tx_delay = <0x28>; - rx_delay = <0x11>; }; &i2c0 { @@ -335,6 +319,11 @@ &sdhci { status = "okay"; }; +&sdmmc { + cd-gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>; + max-frequency = <150000000>; +}; + &tsadc { rockchip,hw-tshut-mode = <1>; rockchip,hw-tshut-polarity = <1>; From patchwork Wed Jul 15 08:34:16 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1497 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pl1-f198.google.com (mail-pl1-f198.google.com [209.85.214.198]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 4D90B3F1D9 for ; Wed, 15 Jul 2020 10:35:09 +0200 (CEST) Received: by mail-pl1-f198.google.com with SMTP id p14sf1947422plq.19 for ; Wed, 15 Jul 2020 01:35:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1594802108; cv=pass; d=google.com; s=arc-20160816; b=NF5rCjEQEVIQTwqz2aNRgaba4uPPcOuCZcIfF4jLkRxc+KpMXN+5J94WMILsiKi/fB SIX0oIxyVxKBbcP22iRPK/YXMqqsuFUq5lqMWhK8BCeIHaNmcHCvJzfzGmcHBUuBebmw TixA6LRZo/6e5OV+Nk0SLQIE6hVxq8ywv+JNO5s41BAdY5y6zYIop5Qw230OmlRzI0YF J3dzA5HGhpUuczN5A60EQxGrwnlBebLDnl/ZL0cFLnzMtnwSFdL5gUYaWC2230u9WdWD CrTWVzDvljuPpazm3rveRsqp7dsFdTYnniSQJt5bX22nCxhDVIQcLqSeSKIcfDISMD1Q IC2A== 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=2iqBjVgyR2VAY+pPd3Q1bY30BtfQXgqEMA/m9J0N7sU=; b=xsZ7LhTcxt+hoK5aZyouPaeCfxHJ5IBBlyhOGRZpNYX+TQreGxnfsR9z1LNz9fRonZ EKu0X9dgx6FukciiMD8AW74LKne3sze4lhgUcY3u5anujHAXIAjN2/hd3hXbx+IZ/Pyo mzNt74tywMCuEL3hQ8zJD1wz1wIHw67iggEVITUKb2+wWZkRVm52gGs2GtEKV4M61E4W opgxBQ2QMRioyHEREz0yUtMrKJMGrPB8lWOIzCM9kzsFaI+WW39/r8ts8ajuG+nHPl0Z W2MHrOUvUrhe/n1uey862+zpncYEEN4yVUtjTGVr9QoYLOiHLqVrsSHE9DLn8PWVXMco v4rg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=mWZQDuU7; 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=2iqBjVgyR2VAY+pPd3Q1bY30BtfQXgqEMA/m9J0N7sU=; b=cJVPXb3oeOnUS23goPWTeFPSkXWWLRb0W05XQvOSKqA0cCunCxdI6AfD6g48lI8FBm GEzPYeMb6BpnyzMGf471chlmjUm7OFjvxaxSr1DT9urh3dkPNyVbQpZaEp7zsP/iaFLn ECzJrOwbxEE5wmplkO1rTSe+gQon9x5ZSsgo4= 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=2iqBjVgyR2VAY+pPd3Q1bY30BtfQXgqEMA/m9J0N7sU=; b=MqqBpAk3l+VLBroV29TmbYIfhi6/RbYA5/8bZIC/4LYe70tWA1Bl6+CIYfmPyl7V28 eQI139vO3l3hH8Mdi/xZKFR4762Vp7Fyuvx1DISrZPAScyeW3Y2sPe2pWQ48imZbJFLX 2yidPe/1pusd8M8c6sx91qqw80KeL+7PMuVs2VVoi8p7I1VvtpZlgn6AKPO+cWXmr3n9 1fL8ag6r9iZuxxN0S3Ets+UhAzq7bq31ti52H2owyXmbKTwmPbzH6FMpxSZj38gow6Vu Sl1y5N5OTMF+/t0vsUVXNEFde8OzmvwXeHrSDYzZRj5BszRpQAgjFeubBA3T5AE/Dvkd QvJA== X-Gm-Message-State: AOAM532na38+v8PYogd2bdgRh8ibrDoMjUYbYOgjuu1ttULtQ4RnqdaP is6TJKDeujGxAFIxhkkttHVgpBZR X-Google-Smtp-Source: ABdhPJymnZSyLo9rZsWCJQiAwZXbekXX8IQjPy1tvMBQCglkO4K+ArIs3v650G6zmNc1NJwO8rG0yA== X-Received: by 2002:a62:3744:: with SMTP id e65mr8266026pfa.20.1594802108008; Wed, 15 Jul 2020 01:35:08 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:ff08:: with SMTP id f8ls633609plj.1.gmail; Wed, 15 Jul 2020 01:35:07 -0700 (PDT) X-Received: by 2002:a17:90a:8009:: with SMTP id b9mr9700446pjn.190.1594802107533; Wed, 15 Jul 2020 01:35:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594802107; cv=none; d=google.com; s=arc-20160816; b=WUvXEUNCGIgcyQFWhWTnrR5pizL4P8M01wbWcW1ztXVewiOzJLiapbpeKPQNUPBdEp Iz6NxZUU8QbyYJ4mhu/eE++q0kEEwuWKh3+Rh4qfu8r4+xEXMWupCEWaosd/L8mWSmLh y/QYcZZy61g2jFr0vOPwDqMFiF2BRdnNWNKGkCzWmHyT/6RylUOdkEAgFfxqblo/voZT YvWGDS6FSpJFxw3ydt79NDoa9/w615JMQak6sqNEbx+Ig8JiZ4A1RAEREDk7D6u8hxql tp9Nfpw4kcYvf9B+8X637x9R3es2qjaQv/o/T6syO5QU55mpNg7JPrjhfKbTlZH1Vj+Z pW3A== 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=yxI9YhDE5SV3Io8wREotQldzA482P0rWaokyh+vxGCY=; b=Csz/L7kY1tasADCujtRqp7eAtcQwC4rXCE2T/BmoUXA+h6FEf8l08K1K74iprNaSD/ IyRU/Hu3JZT3ZoRxbZBEX0wwseNxKzpHQJtr++POLSLB7UDeKqjTo1A9EQYDlT/kqPxc HAIPCth7BJBV7XoScb9VqOEwpjzmYeigs0rjpgrfXjGSzfITpovriEiDgmqKv1woPUU3 sUthDi7lCYr6MhYw0DGIz/gdIss5lOGJPEaaym6Xm2uoxBquQUdoq9Qw3TUvINJMmk+G aj+O4gMmrSxNI0pNqSPYfwmvcxuX4q7EjhYrqQZP+95VxvgGjp0/JWuVvFafA1ugi5uB olPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=mWZQDuU7; 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 x61sor1516685pjj.0.2020.07.15.01.35.07 for (Google Transport Security); Wed, 15 Jul 2020 01:35: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:90a:a0a:: with SMTP id o10mr8851118pjo.12.1594802107223; Wed, 15 Jul 2020 01:35:07 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:9887:56a8:c916:cfdb]) by smtp.gmail.com with ESMTPSA id m92sm1467584pje.13.2020.07.15.01.35.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jul 2020 01:35:06 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , Rob Herring Cc: Suniel Mahesh , Michael Trimarchi , linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-amarula , Jagan Teki , Rob Herring Subject: [PATCH v6 5/7] dt-bindings: arm: rockchip: Add Rock Pi N8 binding Date: Wed, 15 Jul 2020 14:04:16 +0530 Message-Id: <20200715083418.112003-6-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200715083418.112003-1-jagan@amarulasolutions.com> References: <20200715083418.112003-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=mWZQDuU7; 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. Reviewed-by: Rob Herring Signed-off-by: Jagan Teki --- Changes for v6: - collect Rob reviewed-by 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 Wed Jul 15 08:34:17 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1498 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pl1-f200.google.com (mail-pl1-f200.google.com [209.85.214.200]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 8CC3B3F1D9 for ; Wed, 15 Jul 2020 10:35:13 +0200 (CEST) Received: by mail-pl1-f200.google.com with SMTP id w8sf1965122plq.4 for ; Wed, 15 Jul 2020 01:35:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1594802112; cv=pass; d=google.com; s=arc-20160816; b=mp525ChumJMVRgqeZWfvKnajzS6WWfODXjwdGZw9iEvxAlsNdlxzgGG6Z2U8Gmd6sd xJKVzl2IMQy08/2Hi3UXwidADDKWLTG/p9nU1Ww7ITXlFYqPA93HkD8PZgvI2fzgUFJO Fqt1Vjbysgm1LaC3ketaQ8Y9aHnWhsxiMv5Ai/8paYoayed+ZxOcCK0YbLoeFFCPZHcM pFtvRy43srctA8eaGCm1hO/9Jcm+cx3SaiBDMCQQqeXGcgJ7Qlgw2AhiZ5lcD4qahhqD v4gx5cUvH5ZlNtgjnMB7K+u/piTyl6iIhMBYphMJERGTO9lgbRada5pbtG0G23Ld+DzA 0tgQ== 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=Dxb43y9qFQHCDyewKQNZzbdgPht/5FYlAtTtGCS0eB0=; b=dsGvhdhD114Pb584TY6TqRdrSsJg40cAV5N2swbQquqamlL6QQAIrcvDUTAXmmcVUX xxMxCpU2+2LxZj+zdPzgfWyN0mPfPxCEaYZ/Tw8Cg9zv98xZ9pPUzT8mxLRpSXJJLh6P 5C3P/Klv8EuiWe0LXq8sFgMSDMhb26bxIR6Jg81X1FVYlTpODstMGUHpFo+W5zGd0O/7 yQj8ZK3VeLmeQfNRKfNf8iARO1AWB9zZ+xfzNdKQ0KYt30B/2EYC56XBlPdb0+uwznBu rufZOCTiaHR8uUFh/+lJY0Htp84JTY4GPnUnjztfkokSqJ+EBcpfGLIR2jmfAv5TU4IO ScXw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=gnd03RJ9; 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=Dxb43y9qFQHCDyewKQNZzbdgPht/5FYlAtTtGCS0eB0=; b=dwQjuYdAH+MExd3002w+FeSatUkuca11PavxsWJiTXCrkHQ24o8uVwN+HCm14sOBl+ r4SddEdoEho03yhCEO9gg1+f1uc21boWKMabmhH4DO7eQ0a/vBq+IBQ8wdUkwICeviZy oz82QDduJlG/TONAW2U4vJibDJA8XzvNr7MZ4= 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=Dxb43y9qFQHCDyewKQNZzbdgPht/5FYlAtTtGCS0eB0=; b=MwMCvvflEoIzKVRMpRIvyOdTUFUdpiUEeUFSAurCEremL9eciMvVLQ3J+mFaLaoKP1 QUV5mOvtO1e37SUkg/JLqIwei/h7ShCPCBBFKiLBvODOJSldJFkLY7MknUqQK9MbQmvD 5iR/dOJDfYnop/rMhF6HY7o+UxU52DcdOnzwjOvY5Vu5dznCXMY5CbVBqtPhcPxJ1xIu mMxo+Z8kdz75qwBJzuhEU388ZCGLQj/zx1AyUueFfYm669+HikNoJmYUf1pmF7t9oS2f v623Q/Db1WTZcQ5oWH7kp75Ct8E4qeolef7IaDHPYQCo3krQ8uH4z2+Us5bhb5W9kFSR Cx1g== X-Gm-Message-State: AOAM533hSYMG9bCIHGsnmcsTdlV6t5AYQq3nHMMmQmGaETEuNl1QT4sa nPhTH/klbKx+b++GwpK9CR2fbl7d X-Google-Smtp-Source: ABdhPJy/KVrbOlm6UJQaqCoD3GuQe/QYZq0Yix92F8n4dlErQD0qLiuWoFDUXiwwGDH97QDLOOebcg== X-Received: by 2002:a17:90b:19d4:: with SMTP id nm20mr9669167pjb.206.1594802112221; Wed, 15 Jul 2020 01:35:12 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a63:38d:: with SMTP id 135ls641699pgd.0.gmail; Wed, 15 Jul 2020 01:35:11 -0700 (PDT) X-Received: by 2002:a63:5806:: with SMTP id m6mr7129258pgb.362.1594802111681; Wed, 15 Jul 2020 01:35:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594802111; cv=none; d=google.com; s=arc-20160816; b=Srxsx6eWnFPeJokOX8a03lsKnm3Lv8DNeeUt7kfcPDKXqVwKCX77jZp18sM5+dukh5 iKz6ZBv5RulgLjvj0S0POdqEoOTKa8ZF9pCIj67Q3LA2Vs4LR+BbMtjgplf4wVDhi91E JpwhaoqyFPusfOXmSfwO6KJ0VnhfXm/YKmcVvaJE2b492APni+HOY2aX4DlH5dx8t9Wj p4SvmpCzZu6MFaBuhvJzAY7nzTaGFvKZDzKgmdaAJUfCoimMJg6VBmzS0FO2CxaeBQo1 bxzgMmQXCjZ6Dy06PAxMcWO4z9dvs/uvtXDRpQOBi5y6ovB4eX3bHWEgNlT8LLzIOt2I AweQ== 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=QQpdm3j3v/qHsRB9h01sHsvWi3OKWTpBX209yVhTeXA=; b=kJqi5bWJGMfoLQonLtI9/ngoDU7LGYqdT0Y4LLg++85vZo7QhpDgFJA6Rz/siqEyuA 6kfVSoVf/lS4VaXBIj67D68H6osNU1Mgq0+eIdNnszbDrpyFHH98yf0SdQ1eERA4y7v2 jfdW0aNLtQOzwRApOKrsK9FVvECd4dH2IYMsmM/kJR2DSruX4uGJR3smm28yRgiyPIab I4J4pnoQk3JDl4ZRp4ubhWcCJI8SC/g5VVkTgFEdMYLGhUgmk0G4Yndm6sX/hbjCaQ5b aiY9AnwwqboDNdJq5rt+PbRvrZjjuR/IPJSw6I+c0MxsCgpvHkl0w5psX2+sI9jYHj/g 3xcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=gnd03RJ9; 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 m6sor1449987pjk.31.2020.07.15.01.35.11 for (Google Transport Security); Wed, 15 Jul 2020 01:35:11 -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:a887:: with SMTP id h7mr9168908pjq.0.1594802111284; Wed, 15 Jul 2020 01:35:11 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:9887:56a8:c916:cfdb]) by smtp.gmail.com with ESMTPSA id m92sm1467584pje.13.2020.07.15.01.35.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jul 2020 01:35:10 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , Rob Herring Cc: Suniel Mahesh , Michael Trimarchi , 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 v6 6/7] ARM: dts: rockchip: Add VMARC RK3288 SOM initial support Date: Wed, 15 Jul 2020 14:04:17 +0530 Message-Id: <20200715083418.112003-7-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200715083418.112003-1-jagan@amarulasolutions.com> References: <20200715083418.112003-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=gnd03RJ9; 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 - HDMI, MIPI-DSI/CSI, eDP Add initial support for VMARC RK3288 SOM, this would use with associated carrier board. Signed-off-by: Jagan Teki --- Changes for v6: - none arch/arm/boot/dts/rk3288-vmarc-som.dtsi | 270 ++++++++++++++++++++++++ 1 file changed, 270 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..0bcb9f067d66 --- /dev/null +++ b/arch/arm/boot/dts/rk3288-vmarc-som.dtsi @@ -0,0 +1,270 @@ +// 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 + +/ { + compatible = "vamrs,rk3288-vmarc-som", "rockchip,rk3288"; + + vccio_flash: vccio-flash-regulator { + compatible = "regulator-fixed"; + regulator-name = "vccio_flash"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + vin-supply = <&vcc_io>; + }; +}; + +&emmc { + bus-width = <8>; + cap-mmc-highspeed; + disable-wp; + non-removable; + pinctrl-names = "default"; + pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_pwr &emmc_bus8>; + vmmc-supply = <&vcc_io>; + vqmmc-supply = <&vccio_flash>; + status = "okay"; +}; + +&gmac { + assigned-clocks = <&cru SCLK_MAC>; + phy-supply = <&vcc_io>; + snps,reset-gpio = <&gpio4 RK_PA7 GPIO_ACTIVE_HIGH>; +}; + +&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 = <&vcc5v0_sys>; + vcc2-supply = <&vcc5v0_sys>; + vcc3-supply = <&vcc5v0_sys>; + vcc4-supply = <&vcc5v0_sys>; + vcc6-supply = <&vcc5v0_sys>; + vcc7-supply = <&vcc5v0_sys>; + vcc8-supply = <&vcc_io>; + vcc9-supply = <&vcc_io>; + vcc10-supply = <&vcc5v0_sys>; + vcc11-supply = <&vcc5v0_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 Wed Jul 15 08:34:18 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1499 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f199.google.com (mail-pg1-f199.google.com [209.85.215.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 631723F1D9 for ; Wed, 15 Jul 2020 10:35:18 +0200 (CEST) Received: by mail-pg1-f199.google.com with SMTP id e127sf2282363pgc.2 for ; Wed, 15 Jul 2020 01:35:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1594802117; cv=pass; d=google.com; s=arc-20160816; b=jwQOWi1BPRTpaE+PPIO2chy8CGXat/HXWdnlFbnO4qVgKMqnU1vGCwYVsRZhqpXZRk IxlWzJKA+cYAxEP8nu5rqle0tkKBmC3uxj4dSjYlNhbiVMolkblh6GdPG5B0cXBuEGml fFnIg/tH2FIGJMnJbIm6jWhXD+JW3tDfjybiY91iWa79hPSQYdHMx0Oso3BKSQluTzNk mkaKRzzOI0D6cqwfyf1BJiWwEeAYjCo2GYvT43EXs0XK+0IbeWr6M50oWLNEOwIdO0FP GDQkAhxNr/1uaJvu0CwbQPq70sQ2/JD4AFYvynpREdRVa/EN79R7a1LM8LAYTkSoOK6L LSCg== 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=2ozemiFNMPgCQ8HIhP6Ul6pVPoQ+OtBbyR6+FHWnwmI=; b=wle1xWN4TrLX2k/zFFsj8dmTsVBdgE8QONkiQdceRYkBNHeA2jvDWdXuzFPpTo6vgC HeJeG8QyXyVGapJThPdort2SWo45DOesjMaSyT/JroN50bDQSnzQlh8YPc64pcKzy2TE VM+n8tBgF97DrH84Qj9Anlp48FSroZ5GvNDa2niCVETtu99/kVSSiA4B8FC/OZLMd/Lc dKStpcs0cbPxtbdgb126ZSAJbNwOLs7hP6o5Yg7qcQfIpWt3m7Pg7er7QLLOaMxaFog2 xS3XUBBBdwNzo/Th2stGh1fbgxL3T3wXt8WQo4AUCAYU0vANK257EKEe0r5yxabr/Cis tCvg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Gq7wo52x; 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=2ozemiFNMPgCQ8HIhP6Ul6pVPoQ+OtBbyR6+FHWnwmI=; b=M9ikbsjQdgEOFnV6Ua4BUt/0s+slpx7cqa5vkoGLchmiZl9qAaORQfRMX76WuRgkiy H5r4x4UosD0wFPLwuV1se5juDKlfq+InxkFycR7K2YUPsWywZAMPow9YBlplSbzlrvO/ LwWkhO574Uhq8MEBid8N415PO1n45pHAkQPB8= 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=2ozemiFNMPgCQ8HIhP6Ul6pVPoQ+OtBbyR6+FHWnwmI=; b=a+PCTLx0lYgRl5jAaJbncte9EOMcsexxBmCpdK7XWSs6vO2MChbUvS9MtND3hISlju /IxtFcJfhXH/kYrPbNXvKDh5zBVsZe/J14siocYpHqYse3mdMUsEFdL4E4YT3hEcO3ca /qWDzDSZ2qoKbt+WHiNhBiZacuCyxPzY+uFiPsOJ5FHqDud1QCh9FkIBYVpP00ytvMbZ 2JpVSBsLtDVP0htgLcCc9FsozQ36iY8MCgRfwTjx/an+jNVsaAWy6i1VlqHbGbfU0QNR 8GTiuVx2z2UOqRYKBT0jsPKgAfyY4Vg4nqCsHy+rj1/PW/qFshbFZXLfzMekiGkcVIZL hmRw== X-Gm-Message-State: AOAM532Otp+vgORcQuFnKOpXujlCS4tRFXRFq2iMh8KDjIYUV105LAKr gX6Ja6aEG1UEt1NQyXgFmu0h97Uk X-Google-Smtp-Source: ABdhPJwqBSSUkuTVS57ZFleZW8biR9/D+gQQCbq8H0ryogULj9kud+GtJNuEEwkFgihfQTX9U+53Sg== X-Received: by 2002:a63:ee0c:: with SMTP id e12mr6680839pgi.83.1594802117079; Wed, 15 Jul 2020 01:35:17 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:9344:: with SMTP id g4ls620725plp.10.gmail; Wed, 15 Jul 2020 01:35:16 -0700 (PDT) X-Received: by 2002:a17:902:6a8b:: with SMTP id n11mr7299501plk.264.1594802116188; Wed, 15 Jul 2020 01:35:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594802116; cv=none; d=google.com; s=arc-20160816; b=xsjQPzGghgw92gu7vhqlRHA1j01lWiOsaSgz940LAjWxNRMltkjld/NaCt/By6PmBg 2ffsCRZphwLweudp7HQw5eFWqKcxswzalvUvsQdCi4KL/UB0P3Cl7w/W+0yTIp3NgHVh ifIrfKEDlp3fYpub5rKbmtdhHID2Vl5Uo0sHIoX0BvqQwULaT5J601qM1G50ZPEoR2c/ wpmsjCo7rlOzRljnBc5PA4yaJYmTXC1JpdFAA6Akh3vzT9otUgar/vc7a/8xK9bo6e03 XRjGvUFXaFRcPXq3512e5ni0BzGPUeS+ZSONLWuCGM26PvUtzg5RLOyDFhlOSOH20WNV oBfA== 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=WPolAUEN8R+26Nb1p0YR+16g+IcA7gsrUiiI7xSTFn8=; b=Z5ikEwCvQdElbsodunFTL8XCwdJqIsy5WeC8BvqL8KhY6oPnvh5XhwMJd4pdJjPqD2 Fo+FJZE+PpDoCzWnhY7/BHbeBeLV65j/LFzQ00FWlAY5fPrAzYVxuKZZfSQ2RYjCQGo6 CASSBc2WecMHMPgO+T1o931o0cGaWcOXhDS+CsvR/vcHnSPvosX1GlE3AhkBOURzmyOu U7mDMqaHTKlyj9hti4A0aBho9i3QrC8iOsh1LMWHsqS/yYpiKytNySjVH5431mrZ5wLF po7jl9KWPP33Cj+/cAh3KJoTHaGeVzZsCjD8KrYShT8GAiNv/L5vpOODdK3uth7uu4jN dgqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Gq7wo52x; 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 e29sor1713870pgb.67.2020.07.15.01.35.16 for (Google Transport Security); Wed, 15 Jul 2020 01:35:16 -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:c947:: with SMTP id y7mr6972752pgg.357.1594802115768; Wed, 15 Jul 2020 01:35:15 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:9887:56a8:c916:cfdb]) by smtp.gmail.com with ESMTPSA id m92sm1467584pje.13.2020.07.15.01.35.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jul 2020 01:35:14 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , Rob Herring Cc: Suniel Mahesh , Michael Trimarchi , 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 v6 7/7] ARM: dts: rockchip: Add Radxa Rock Pi N8 initial support Date: Wed, 15 Jul 2020 14:04:18 +0530 Message-Id: <20200715083418.112003-8-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200715083418.112003-1-jagan@amarulasolutions.com> References: <20200715083418.112003-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=Gq7wo52x; 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 --- Changes for v6: - none 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..b19593021713 --- /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 +#include "rk3288-vmarc-som.dtsi" + +/ { + model = "Radxa ROCK Pi N8"; + compatible = "radxa,rockpi-n8", "vamrs,rk3288-vmarc-som", + "rockchip,rk3288"; +};