Skip to content

Commit 08fcaae

Browse files
glneoarndb
authored andcommitted
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 <afd@ti.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
1 parent 3fa966e commit 08fcaae

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

arch/arm/boot/dts/nspire/nspire.dtsi

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,15 @@
2626
};
2727

2828
sram: sram@a4000000 {
29-
device = "memory";
30-
reg = <0xa4000000 0x20000>;
29+
compatible = "mmio-sram";
30+
reg = <0xa4000000 0x20000>; /* 128k */
31+
#address-cells = <1>;
32+
#size-cells = <1>;
33+
ranges = <0 0xa4000000 0x20000>;
34+
35+
sram@0 {
36+
reg = <0x0 0x20000>;
37+
};
3138
};
3239

3340
timer_clk: timer_clk {

0 commit comments

Comments
 (0)