From patchwork Thu Nov 17 23:04:58 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gregory CLEMENT X-Patchwork-Id: 9435425 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 CA7F360469 for ; Thu, 17 Nov 2016 23:10:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B954B2971E for ; Thu, 17 Nov 2016 23:10:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AC6C629720; Thu, 17 Nov 2016 23:10:10 +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 33D722971E for ; Thu, 17 Nov 2016 23:10:10 +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 1c7Vn1-0007gl-Ea; Thu, 17 Nov 2016 23:08:19 +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-00064m-R9 for linux-arm-kernel@lists.infradead.org; Thu, 17 Nov 2016 23:06:00 +0000 Received: by mail.free-electrons.com (Postfix, from userid 110) id 7F64720C30; 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 568D820652; Fri, 18 Nov 2016 00:05:18 +0100 (CET) From: Gregory CLEMENT To: Jason Cooper , Andrew Lunn , Sebastian Hesselbarth , Gregory CLEMENT Subject: [PATCH v3 09/19] ARM: dts: armada-370-xp: Fixup sa-ram DT warning Date: Fri, 18 Nov 2016 00:04:58 +0100 Message-Id: <20161117230508.28539-10-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_239036_41E45DFB X-CRM114-Status: GOOD ( 10.25 ) 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 sa-ram which is a mmio-sram has a reg property so the unit name should contain an address. Signed-off-by: Gregory CLEMENT --- arch/arm/boot/dts/armada-370.dtsi | 6 +++++- arch/arm/boot/dts/armada-xp.dtsi | 8 ++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/armada-370.dtsi b/arch/arm/boot/dts/armada-370.dtsi index c0b821e8a03a..7ba3e609a5ae 100644 --- a/arch/arm/boot/dts/armada-370.dtsi +++ b/arch/arm/boot/dts/armada-370.dtsi @@ -266,7 +266,11 @@ }; }; - crypto_sram: sa-sram { + /* 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]. + */ + crypto_sram: sa-sram@90100000000 { compatible = "mmio-sram"; reg = ; reg-names = "sram"; diff --git a/arch/arm/boot/dts/armada-xp.dtsi b/arch/arm/boot/dts/armada-xp.dtsi index e282ef819be8..395eb9ffb53b 100644 --- a/arch/arm/boot/dts/armada-xp.dtsi +++ b/arch/arm/boot/dts/armada-xp.dtsi @@ -234,7 +234,11 @@ }; }; - crypto_sram0: sa-sram0 { + /* The following unit addresses (for sa-sram) are composed of + * the target value (bit [40-47]), attributes value (bits + * [32-39], and the address value in the window memory: [0-31]. + */ + crypto_sram0: sa-sram@90900000000 { compatible = "mmio-sram"; reg = ; clocks = <&gateclk 23>; @@ -243,7 +247,7 @@ ranges = <0 MBUS_ID(0x09, 0x09) 0 0x800>; }; - crypto_sram1: sa-sram1 { + crypto_sram1: sa-sram@90500000000 { compatible = "mmio-sram"; reg = ; clocks = <&gateclk 23>;