From 08fcaae1dc8887bd899266785d1e9081dca4b97e Mon Sep 17 00:00:00 2001 From: Andrew Davis Date: Wed, 2 Aug 2023 10:33:27 -0500 Subject: [PATCH] ARM: dts: nspire: Fix sram node to conform with DT binding This node does not follow the DT binding schema, correct this. Should result in no functional change. Signed-off-by: Andrew Davis Signed-off-by: Arnd Bergmann --- arch/arm/boot/dts/nspire/nspire.dtsi | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/nspire/nspire.dtsi b/arch/arm/boot/dts/nspire/nspire.dtsi index cb72370..f979b28 100644 --- a/arch/arm/boot/dts/nspire/nspire.dtsi +++ b/arch/arm/boot/dts/nspire/nspire.dtsi @@ -26,8 +26,15 @@ }; sram: sram@a4000000 { - device = "memory"; - reg = <0xa4000000 0x20000>; + compatible = "mmio-sram"; + reg = <0xa4000000 0x20000>; /* 128k */ + #address-cells = <1>; + #size-cells = <1>; + ranges = <0 0xa4000000 0x20000>; + + sram@0 { + reg = <0x0 0x20000>; + }; }; timer_clk: timer_clk { -- 2.7.4