Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp1943974imm; Tue, 22 May 2018 11:56:40 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrJx3sG/zBC9w4kJFmg/M+Jvu9xK2i5RvYescynYpnK11qZaIiWnwjMZjzmrNnSj1QPoZxk X-Received: by 2002:a65:5308:: with SMTP id m8-v6mr20521603pgq.42.1527015400071; Tue, 22 May 2018 11:56:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527015400; cv=none; d=google.com; s=arc-20160816; b=sXU/88Y3aYBdezAPISY+ApiLaez8oebT78OeLBox4qfkb8AwBhnXx0d2pSnvaT8kU6 SE8z0U2b90cbMAV+ZgJf4dpr44aPl3MuQUiRpy96lrHmhE9fZtBSN9ADJnmxPMeNRyoo hs1jpf7FGCtHehkReIAr3lBI+dizsBKZFVTacS1Gl3TwDwSY7q0E1GGyrOV/rGXqMgn/ 4Ko/+fOTxhlv3kR3qsnE3/wV3KuBjR4byds42cjB01Zqp2sqXRL1+4/9nqcN9cGdZFlw xTAOYpcGlnclGKH95aAl7j40WPs71AeOPrWfng70CKp/z/WPpE8BZBszPygc4kzlnP7S LgIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=Vqij6/tL4g64sOH2vVBVRBIq1deHLWZB57To7r4ikPk=; b=S6sNlHD3zcDbBfViZG+Ryr429/GwFxSpAferYKwnKcPbGFtgmiLUYoDyrDzWkZh3jA VDfOynCXN5MgFuiLBvRoFYZPkWjIOi4cfgX5QuZycRyw56zqBzj2SXWkl+ZvhTQKRLRN PMTy1MSOBE76tWpm1CYBCp6waH4r5F54a/RO1GJkrmWlQIJ8OVVLVBS5mnd7ehNXnbba i8mXUIntGPFbuMwW8pV0u4DAy6ob/Y8qQaZitUvquGKe8QaHlBKanLzmgsDmb2lLRBiM v6rt83/unpI3Sp//0Z02rHEZQXfFk7CjGhuJPmA4EvTbM9zElzfbC7qRqucSvfRdRC9N 7BtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=FTcRnMVc; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g13-v6si13445042pgn.146.2018.05.22.11.56.25; Tue, 22 May 2018 11:56:40 -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=@broadcom.com header.s=google header.b=FTcRnMVc; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751592AbeEVS4J (ORCPT + 99 others); Tue, 22 May 2018 14:56:09 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:52862 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751501AbeEVS4H (ORCPT ); Tue, 22 May 2018 14:56:07 -0400 Received: by mail-wm0-f67.google.com with SMTP id w194-v6so2477193wmf.2 for ; Tue, 22 May 2018 11:56:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id; bh=Vqij6/tL4g64sOH2vVBVRBIq1deHLWZB57To7r4ikPk=; b=FTcRnMVcKe4cuJI1wYDkLFZ5vRwesbg+BSbxjy2Cb9YjJiflKauZTgtr43N/Ps24fw rOPgwshNDUpbjNVIDO3KXPA/mLd+kM4V/aemYGvbMKRb55A8eVKIqRT+DDhVC6IPZ1M1 9FFBOzD7AqGFOYC4x/hufWCbTdX562WcJLlWs= 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; bh=Vqij6/tL4g64sOH2vVBVRBIq1deHLWZB57To7r4ikPk=; b=cY1hEhyMHlNAKYrQJMUYbHxf071ZTO/NyI0WMQBC6FnQypokobPhYspf9qSeNA/hkz 0ObMObn2SHlwdsZNOAuhuTJg4It/vU3q0fVjDAqyvA1VHmRSSanFdswJcmJ8HJ8OwK34 7JOy0iSTYAS1zMKlObdts6du7i+Z0SrBaBLrllorJlv86y7GO11TjmaSG9srKYs0e0hW Z6Ik84jm7Jd4vSuzrXa8axATi1oddrmNpUul7J39huCPvvoim3AhqOmptnLd4nSnNjQJ 6KjJBzzSunqTUlnOptffCJhQ3UskpC79bCqJjcsJZFPRHjMjCjZcammpbnhT8o21JP74 CHAQ== X-Gm-Message-State: ALKqPwdnmaruLuI6VOg/ZWf78k/UhsbdPgvlBhZtWE3Sd3FgnF6KxTEg vjLJkfddLsacqFuJXgvL4j3wVA== X-Received: by 2002:a50:8b26:: with SMTP id l35-v6mr3713324edl.224.1527015366020; Tue, 22 May 2018 11:56:06 -0700 (PDT) Received: from lbrmn-lnxub113.ric.broadcom.com ([192.19.228.250]) by smtp.gmail.com with ESMTPSA id d18-v6sm9160526edb.97.2018.05.22.11.56.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 22 May 2018 11:56:04 -0700 (PDT) From: Scott Branden To: 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, Scott Branden Subject: [PATCH] arm64: dts: stingray: move common board components to stingray-board-base Date: Tue, 22 May 2018 11:55:42 -0700 Message-Id: <1527015342-9317-1-git-send-email-scott.branden@broadcom.com> X-Mailer: git-send-email 2.5.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- .../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>; + }; + }; +}; -- 2.5.0