From mboxrd@z Thu Jan 1 00:00:00 1970 From: 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> References: <20161117230508.28539-1-gregory.clement@free-electrons.com> Return-path: In-Reply-To: <20161117230508.28539-1-gregory.clement-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Jason Cooper , Andrew Lunn , Sebastian Hesselbarth , Gregory CLEMENT Cc: Thomas Petazzoni , linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, Rob Herring , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: devicetree@vger.kernel.org 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>; -- 2.10.2 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html