From patchwork Thu Nov 17 23:04:57 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gregory CLEMENT X-Patchwork-Id: 9435419 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id EEECE60469 for ; Thu, 17 Nov 2016 23:09:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DFB1429421 for ; Thu, 17 Nov 2016 23:09:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D438E29448; Thu, 17 Nov 2016 23:09:01 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 55E3629421 for ; Thu, 17 Nov 2016 23:09:01 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1c7Vm3-0006rE-VI; Thu, 17 Nov 2016 23:07:20 +0000 Received: from mail.free-electrons.com ([62.4.15.54]) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1c7Vkh-00063e-Qy for linux-arm-kernel@lists.infradead.org; Thu, 17 Nov 2016 23:05:57 +0000 Received: by mail.free-electrons.com (Postfix, from userid 110) id 2CF6520C29; Fri, 18 Nov 2016 00:05:18 +0100 (CET) Received: from localhost (83.146.29.93.rev.sfr.net [93.29.146.83]) by mail.free-electrons.com (Postfix) with ESMTPSA id 0308820652; Fri, 18 Nov 2016 00:05:17 +0100 (CET) From: Gregory CLEMENT To: Jason Cooper , Andrew Lunn , Sebastian Hesselbarth , Gregory CLEMENT Subject: [PATCH v3 08/19] ARM: dts: armada-370-xp: Fixup bm-bppi DT warning Date: Fri, 18 Nov 2016 00:04:57 +0100 Message-Id: <20161117230508.28539-9-gregory.clement@free-electrons.com> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20161117230508.28539-1-gregory.clement@free-electrons.com> References: <20161117230508.28539-1-gregory.clement@free-electrons.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161117_150556_280176_39F8C6FF X-CRM114-Status: GOOD ( 11.10 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thomas Petazzoni , devicetree@vger.kernel.org, Rob Herring , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP bm-bppi has a reg property so the unit name should contain an address. Take the opportunity to use the node label instead of the full name. Signed-off-by: Gregory CLEMENT --- arch/arm/boot/dts/armada-xp-db.dts | 8 ++++---- arch/arm/boot/dts/armada-xp-gp.dts | 8 ++++---- arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts | 8 ++++---- arch/arm/boot/dts/armada-xp.dtsi | 6 +++++- 4 files changed, 17 insertions(+), 13 deletions(-) diff --git a/arch/arm/boot/dts/armada-xp-db.dts b/arch/arm/boot/dts/armada-xp-db.dts index 9e3bb3d7b4dc..486caf887da4 100644 --- a/arch/arm/boot/dts/armada-xp-db.dts +++ b/arch/arm/boot/dts/armada-xp-db.dts @@ -213,10 +213,6 @@ }; }; }; - - bm-bppi { - status = "okay"; - }; }; }; @@ -248,6 +244,10 @@ }; }; +&bm_bppi { + status = "okay"; +}; + &mdio { phy0: ethernet-phy@0 { reg = <0>; diff --git a/arch/arm/boot/dts/armada-xp-gp.dts b/arch/arm/boot/dts/armada-xp-gp.dts index 9918c7883a36..65d960defff3 100644 --- a/arch/arm/boot/dts/armada-xp-gp.dts +++ b/arch/arm/boot/dts/armada-xp-gp.dts @@ -198,10 +198,6 @@ nand-on-flash-bbt; }; }; - - bm-bppi { - status = "okay"; - }; }; }; @@ -233,6 +229,10 @@ }; }; +&bm_bppi { + status = "okay"; +}; + &mdio { phy0: ethernet-phy@0 { reg = <16>; diff --git a/arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts b/arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts index c8dd5a3bccb6..7cd2d74e0161 100644 --- a/arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts +++ b/arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts @@ -187,10 +187,6 @@ status = "okay"; }; }; - - bm-bppi { - status = "okay"; - }; }; }; @@ -222,6 +218,10 @@ }; }; +&bm_bppi { + status = "okay"; +}; + &mdio { phy0: ethernet-phy@0 { reg = <0>; diff --git a/arch/arm/boot/dts/armada-xp.dtsi b/arch/arm/boot/dts/armada-xp.dtsi index 8d86c6f61299..e282ef819be8 100644 --- a/arch/arm/boot/dts/armada-xp.dtsi +++ b/arch/arm/boot/dts/armada-xp.dtsi @@ -252,7 +252,11 @@ ranges = <0 MBUS_ID(0x09, 0x05) 0 0x800>; }; - bm_bppi: bm-bppi { + /* The following unit address is composed of the target + * value (bit [40-47]), attributes value (bits [32-39], + * and the address value in the window memory: [0-31]. + */ + bm_bppi: bm-bppi@c0400000000 { compatible = "mmio-sram"; reg = ; ranges = <0 MBUS_ID(0x0c, 0x04) 0 0x100000>;