ARM: dts: sun5i: Use most-qualified system control compatibles
authorPaul Kocialkowski <paul.kocialkowski@bootlin.com>
Tue, 10 Jul 2018 08:01:01 +0000 (10:01 +0200)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Wed, 11 Jul 2018 09:00:50 +0000 (11:00 +0200)
This switches the sun5i dtsi to use the most qualified compatibles for
the system-control block (previously named SRAM controller) as well as
the SRAM blocks.

The node name for system control is also updated to reflect the fact that
the controller described is really about system control rather than SRAM
control.

Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
[Maxime: Removed the A10 compatible for the driver]
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
arch/arm/boot/dts/sun5i.dtsi

index 07f2248..b833f4e 100644 (file)
                #size-cells = <1>;
                ranges;
 
-               sram-controller@1c00000 {
-                       compatible = "allwinner,sun4i-a10-sram-controller";
+               system-control@1c00000 {
+                       compatible = "allwinner,sun5i-a13-system-control";
                        reg = <0x01c00000 0x30>;
                        #address-cells = <1>;
                        #size-cells = <1>;
                        };
 
                        emac_sram: sram-section@8000 {
-                               compatible = "allwinner,sun4i-a10-sram-a3-a4";
+                               compatible = "allwinner,sun5i-a13-sram-a3-a4",
+                                            "allwinner,sun4i-a10-sram-a3-a4";
                                reg = <0x8000 0x4000>;
                                status = "disabled";
                        };
                                ranges = <0 0x00010000 0x1000>;
 
                                otg_sram: sram-section@0 {
-                                       compatible = "allwinner,sun4i-a10-sram-d";
+                                       compatible = "allwinner,sun5i-a13-sram-d",
+                                                    "allwinner,sun4i-a10-sram-d";
                                        reg = <0x0000 0x1000>;
                                        status = "disabled";
                                };