Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp119094imm; Mon, 4 Jun 2018 14:10:54 -0700 (PDT) X-Google-Smtp-Source: ADUXVKICj2laehTgJccTVy0I0081gM4E0rSKsg12Z6Jj83ygQq02+eotKAIjKD4Jh74HODJPrHYY X-Received: by 2002:a63:2c94:: with SMTP id s142-v6mr6440634pgs.39.1528146654198; Mon, 04 Jun 2018 14:10:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528146654; cv=none; d=google.com; s=arc-20160816; b=Wck8jqQwwbcA3ak23AGP2gFcUF4zqWFNbA7Fow1Lu3wCT6Eubys1QnFH/WMsPkAuJd YPG4zWXRSjxbXnT3pMKycMUfBO7E4pvpIjK3smehAA1lhOtk3htNso3krlDy9eNFPL4e yssSV4hxdjCyrijrvMLpA3tKjVMPM73MfSylSIJkM7ascnnUw8HMVX80IxQgXESqPrKP qvHcA0duhQj4cLXNYE7vZFUWiNbsAydU9mNaFa2KkkaOKZJ/abxsMh2TzEMxBT3Sjqdz /VFNWjtwk4X1ruhSaU7ipHADsdGSUW5BAazkUIxDFCeTGDNOTpwO1xRv034jD9zGHVTp sA+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:openpgp:from:references:cc:to:subject :dkim-signature:arc-authentication-results; bh=cg+B2ePvPNz1npKc/8IWhjNziiQQug6aLDqGIbT1Z64=; b=ayUTxgSkPM3CF1ySXeOi4mim4AY+OC3Gy/lomhQDREprZvkJPxUAJXpEZDI2izggI4 1pxQWid/OyB8MWIjwk4V89OflrM5lwR66D16SP5o0Ka3w/nbQGJKhFKNtd82YIAReZTw tgGDQL5Kk/axkVX2ZsIfE8Kzt30Mv+Nr/X3DXA9EBF6W7W6c6SJDRqknXOKnPBxIEMv5 jp8v6GYOdHq6BXdWdv5qTj/MrtfM2GQCBcmYNy8LXSLVzM13P4FgZUxJTYVd9rMdYBMO DtckvCb834/8QF5IMQIM5nUC9Ms4LcpM7mAMx2hYvFUIV7xxPO1+X4SC1Cds1cSkTf9D ITXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=TjuYpDX1; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 67-v6si48096554pfm.167.2018.06.04.14.10.38; Mon, 04 Jun 2018 14:10:54 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=TjuYpDX1; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751430AbeFDVJN (ORCPT + 99 others); Mon, 4 Jun 2018 17:09:13 -0400 Received: from mail-qk0-f195.google.com ([209.85.220.195]:43483 "EHLO mail-qk0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751099AbeFDVJL (ORCPT ); Mon, 4 Jun 2018 17:09:11 -0400 Received: by mail-qk0-f195.google.com with SMTP id g126-v6so76264qke.10; Mon, 04 Jun 2018 14:09:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:openpgp:autocrypt:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=cg+B2ePvPNz1npKc/8IWhjNziiQQug6aLDqGIbT1Z64=; b=TjuYpDX1F1SG+W4mlsYuI6hOjDkQxWujlC2VbmZDombevD3QHPY7EZ6CfyuFVlAve3 w3ZkDfjSeBnj0sYRsTaD58JiA6DNXF+ubf89hl4Qrp2hok+1y9JPff3JxtfSQmozr3b8 ZEDfGgTylaj6gGVeiOWdyJODnRbkMGZLtI46Q06Nb+R8APTDNDus5pTK01ImpMUjooyJ Xw3SKcr0coq23uCrgmYbJYLXUEY+0yehBz0m8IN4hE+v4zaK/MxXT5TOa19HgH2WBfba jOuvMIiSnNzxqw1IRBJ4q4Dd2sMJHLTev5cUnB2pJ5eF8sxwPXoWhM3VAODIfk/donHQ 5y6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:openpgp:autocrypt :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=cg+B2ePvPNz1npKc/8IWhjNziiQQug6aLDqGIbT1Z64=; b=r2kSQkZQxZLI8aIMXdUDKhp8cDgJ0gx55w4+GmxbAVPPSMl4/Vr2nutpLE9t+CNEiL UIeJG+RU9DCugHEhlEI9gORpUl7zAUXLkAnISY8wlHmbT3Bc5NzVZDOBSBMCw8eqo1qA BUXwGliVKUPx3JX28dqaRc6thpOLiNZZwakkP4buOQO7lZbWx/naV/uXwwIQZqsqdAjF I2mkbmU4u0B7CWlA+BQS9auQ/WyzLQ/jvx2MPEXR24/TLZJiuuHPvjfxBTEtKEYYFM7o o1Se7TOLXJ01ucUpkOQiyapVl88+JVwTqJ+ZUM2683XHuWCQf1DpVx1hvNNM3h0BaW2o 3VGA== X-Gm-Message-State: APt69E2QBuJdKAGvfIGU0CPnVd3QaWnnnyO8y4qRbaELZeiJsq0MMAZm pPduzCU5BaDtDlywUYWIBOE00rXu X-Received: by 2002:a37:2a8e:: with SMTP id q14-v6mr21439822qkq.380.1528146550188; Mon, 04 Jun 2018 14:09:10 -0700 (PDT) Received: from [10.69.41.93] ([192.19.223.250]) by smtp.googlemail.com with ESMTPSA id g56-v6sm18436709qta.83.2018.06.04.14.09.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Jun 2018 14:09:08 -0700 (PDT) Subject: Re: [PATCH] arm64: dts: stingray: move common board components to stingray-board-base To: Scott Branden , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , Florian Fainelli Cc: BCM Kernel Feedback , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <1527015342-9317-1-git-send-email-scott.branden@broadcom.com> From: Florian Fainelli Openpgp: preference=signencrypt Autocrypt: addr=f.fainelli@gmail.com; prefer-encrypt=mutual; keydata= xsDiBEjPuBIRBACW9MxSJU9fvEOCTnRNqG/13rAGsj+vJqontvoDSNxRgmafP8d3nesnqPyR xGlkaOSDuu09rxuW+69Y2f1TzjFuGpBk4ysWOR85O2Nx8AJ6fYGCoeTbovrNlGT1M9obSFGQ X3IzRnWoqlfudjTO5TKoqkbOgpYqIo5n1QbEjCCwCwCg3DOH/4ug2AUUlcIT9/l3pGvoRJ0E AICDzi3l7pmC5IWn2n1mvP5247urtHFs/uusE827DDj3K8Upn2vYiOFMBhGsxAk6YKV6IP0d ZdWX6fqkJJlu9cSDvWtO1hXeHIfQIE/xcqvlRH783KrihLcsmnBqOiS6rJDO2x1eAgC8meAX SAgsrBhcgGl2Rl5gh/jkeA5ykwbxA/9u1eEuL70Qzt5APJmqVXR+kWvrqdBVPoUNy/tQ8mYc nzJJ63ng3tHhnwHXZOu8hL4nqwlYHRa9eeglXYhBqja4ZvIvCEqSmEukfivk+DlIgVoOAJbh qIWgvr3SIEuR6ayY3f5j0f2ejUMYlYYnKdiHXFlF9uXm1ELrb0YX4GMHz80nRmxvcmlhbiBG YWluZWxsaSA8Zi5mYWluZWxsaUBnbWFpbC5jb20+wmYEExECACYCGyMGCwk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Mud06y/E449rWZFSTwGqb0FS0seTcYNvxt8PB2izX+ HZA8SL54j479ubxhfuoTu5nXdtFYFj5Lj5x34LKPx7MpgAmj0H7SDhpFWF2FzcC1bjiW9mjW HaKaX23Awt97AqQZXegbfkJwX2Y53ufq8Np3e1542lh3/mpiGSilCsaTahEGrHK+lIusl6mz Joil+u3k01ofvJMK0ZdzGUZ/aPMZ16LofjFA+MNxWrZFrkYmiGdv+LG45zSlZyIvzSiG2lKy kuVag+IijCIom78P9jRtB1q1Q5lwZp2TLAJlz92DmFwBg1hyFzwDADjZ2nrDxKUiybXIgZp9 aU2d++ptEGCVJOfEW4qpWCCLPbOT7XBr+g/4H3qWbs3j/cDDq7LuVYIe+wchy/iXEJaQVeTC y5arMQorqTFWlEOgRA8OP47L9knl9i4xuR0euV6DChDrguup2aJVU8JPBBgRAgAPAhsMBQJU X9LxBQkeXB3fAAoJEGFXmRW1Y3YOj4UAn3nrFLPZekMeqX5aD/aq/dsbXSfyAKC45Go0YyxV HGuUuzv+GKZ6nsysJw== Message-ID: <05b33af8-c938-f124-f918-a9d7f8679d90@gmail.com> Date: Mon, 4 Jun 2018 14:09:06 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <1527015342-9317-1-git-send-email-scott.branden@broadcom.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/22/2018 11:55 AM, Scott Branden wrote: > Move common board components from base bcm958742 dtsi file to new > stingray-board-base dtsi file so they can be shared between many stingray > boards following common design. > > Signed-off-by: Scott Branden Applied to devicetree-arm64/next, though this did not apply cleanly, please check the results at: https://github.com/Broadcom/stblinux/commit/0b2cf5a855cd235fa95fbdfedfc524a97a71a7fe > --- > .../boot/dts/broadcom/stingray/bcm958742-base.dtsi | 35 +-------------- > .../dts/broadcom/stingray/stingray-board-base.dtsi | 51 ++++++++++++++++++++++ > 2 files changed, 52 insertions(+), 34 deletions(-) > create mode 100644 arch/arm64/boot/dts/broadcom/stingray/stingray-board-base.dtsi > > diff --git a/arch/arm64/boot/dts/broadcom/stingray/bcm958742-base.dtsi b/arch/arm64/boot/dts/broadcom/stingray/bcm958742-base.dtsi > index cacc25e..d74f6df 100644 > --- a/arch/arm64/boot/dts/broadcom/stingray/bcm958742-base.dtsi > +++ b/arch/arm64/boot/dts/broadcom/stingray/bcm958742-base.dtsi > @@ -30,20 +30,9 @@ > * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. > */ > > -#include "stingray.dtsi" > +#include "stingray-board-base.dtsi" > > / { > - chosen { > - stdout-path = "serial0:115200n8"; > - }; > - > - aliases { > - serial0 = &uart1; > - serial1 = &uart0; > - serial2 = &uart2; > - serial3 = &uart3; > - }; > - > sdio0_vddo_ctrl_reg: sdio0_vddo_ctrl { > compatible = "regulator-gpio"; > regulator-name = "sdio0_vddo_ctrl_reg"; > @@ -67,23 +56,6 @@ > }; > }; > > -&memory { /* Default DRAM banks */ > - reg = <0x00000000 0x80000000 0x0 0x80000000>, /* 2G @ 2G */ > - <0x00000008 0x80000000 0x1 0x80000000>; /* 6G @ 34G */ > -}; > - > -&mdio_mux_iproc { > - mdio@10 { > - gphy0: eth-phy@10 { > - reg = <0x10>; > - }; > - }; > -}; > - > -&uart1 { > - status = "okay"; > -}; > - > &pwm { > status = "okay"; > }; > @@ -111,8 +83,6 @@ > }; > > &enet { > - phy-mode = "rgmii-id"; > - phy-handle = <&gphy0>; > status = "okay"; > }; > > @@ -133,13 +103,10 @@ > > &sdio0 { > vqmmc-supply = <&sdio0_vddo_ctrl_reg>; > - non-removable; > - full-pwr-cycle; > status = "okay"; > }; > > &sdio1 { > vqmmc-supply = <&sdio1_vddo_ctrl_reg>; > - full-pwr-cycle; > status = "okay"; > }; > diff --git a/arch/arm64/boot/dts/broadcom/stingray/stingray-board-base.dtsi b/arch/arm64/boot/dts/broadcom/stingray/stingray-board-base.dtsi > new file mode 100644 > index 0000000..82a2471 > --- /dev/null > +++ b/arch/arm64/boot/dts/broadcom/stingray/stingray-board-base.dtsi > @@ -0,0 +1,51 @@ > +// SPDX-License-Identifier: (GPL-2.0 or BSD-3-Clause) > +/* > + * Copyright(c) 2016-2018 Broadcom > + */ > + > +#include "stingray.dtsi" > +#include > + > +/ { > + aliases { > + serial0 = &uart1; > + serial1 = &uart0; > + serial2 = &uart2; > + serial3 = &uart3; > + }; > + > + chosen { > + stdout-path = "serial0:115200n8"; > + }; > +}; > + > +&memory { /* Default DRAM banks */ > + reg = <0x00000000 0x80000000 0x0 0x80000000>, /* 2G @ 2G */ > + <0x00000008 0x80000000 0x1 0x80000000>; /* 6G @ 34G */ > +}; > + > +&enet { > + phy-mode = "rgmii-id"; > + phy-handle = <&gphy0>; > +}; > + > +&uart1 { > + status = "okay"; > +}; > + > +&sdio0 { > + non-removable; > + full-pwr-cycle; > +}; > + > +&sdio1 { > + full-pwr-cycle; > +}; > + > +&mdio_mux_iproc { > + mdio@10 { > + gphy0: eth-phy@10 { > + reg = <0x10>; > + }; > + }; > +}; > -- Florian