ARM: dts: nspire: Fix sram node to conform with DT binding
authorAndrew Davis <afd@ti.com>
Wed, 2 Aug 2023 15:33:27 +0000 (10:33 -0500)
committerArnd Bergmann <arnd@arndb.de>
Sat, 12 Aug 2023 09:45:58 +0000 (11:45 +0200)
This node does not follow the DT binding schema, correct this.
Should result in no functional change.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/boot/dts/nspire/nspire.dtsi

index cb72370..f979b28 100644 (file)
        };
 
        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 {