ARM: dts: sun5i: Fix the SRAM A3-A4 declaration
authorMaxime Ripard <maxime.ripard@bootlin.com>
Wed, 11 Jul 2018 09:25:08 +0000 (11:25 +0200)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Thu, 19 Jul 2018 14:39:42 +0000 (16:39 +0200)
According to the system control bindings, the A3-A4 SRAM node should be
a child node of the SRAM it belongs to. However, it was introduced at the
same level, therefore breaking the binding. Fix this.

Fixes: 85870196258f ("ARM: sun5i: a13: Merge common controllers into the common DTSI")
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
arch/arm/boot/dts/sun5i.dtsi

index 40e4dc293f147035aa4367c03cded8fda57422ed..8bfb36651177d715cd213e16fd2bb0dd2686d7f0 100644 (file)
                                #address-cells = <1>;
                                #size-cells = <1>;
                                ranges = <0 0x00000000 0xc000>;
-                       };
 
-                       emac_sram: sram-section@8000 {
-                               compatible = "allwinner,sun5i-a13-sram-a3-a4",
-                                            "allwinner,sun4i-a10-sram-a3-a4";
-                               reg = <0x8000 0x4000>;
-                               status = "disabled";
+                               emac_sram: sram-section@8000 {
+                                       compatible = "allwinner,sun5i-a13-sram-a3-a4",
+                                                    "allwinner,sun4i-a10-sram-a3-a4";
+                                       reg = <0x8000 0x4000>;
+                                       status = "disabled";
+                               };
                        };
 
                        sram_d: sram@10000 {