]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: dts: ls1028a: move the UART controller nodes into /soc
authorMichael Walle <michael@walle.cc>
Wed, 13 Oct 2021 16:14:08 +0000 (18:14 +0200)
committerPriyanka Jain <priyanka.jain@nxp.com>
Tue, 9 Nov 2021 11:48:23 +0000 (17:18 +0530)
While inserting them into the new location, keep them sorted by the
register base offset just like in the linux kernel device tree.

Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
arch/arm/dts/fsl-ls1028a.dtsi

index ecafa67d0875174ccba8fc3ad074eba36090d29b..07aeb380efb721a9a86db226be14d4459b8180c6 100644 (file)
                                          IRQ_TYPE_LEVEL_LOW)>;
        };
 
-       serial0: serial@21c0500 {
-               device_type = "serial";
-               compatible = "fsl,ns16550", "ns16550a";
-               reg = <0x0 0x21c0500 0x0 0x100>;
-               interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
-               status = "disabled";
-       };
-
-       serial1: serial@21c0600 {
-               device_type = "serial";
-               compatible = "fsl,ns16550", "ns16550a";
-               reg = <0x0 0x21c0600 0x0 0x100>;
-               interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
-               status = "disabled";
-       };
-
        pcie1: pcie@3400000 {
               compatible = "fsl,ls-pcie", "fsl,ls1028-pcie", "snps,dw-pcie";
               reg = <0x00 0x03400000 0x0 0x80000
                        bus-width = <4>;
                        status = "disabled";
                };
+
+               serial0: serial@21c0500 {
+                       device_type = "serial";
+                       compatible = "fsl,ns16550", "ns16550a";
+                       reg = <0x0 0x21c0500 0x0 0x100>;
+                       interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
+                       status = "disabled";
+               };
+
+               serial1: serial@21c0600 {
+                       device_type = "serial";
+                       compatible = "fsl,ns16550", "ns16550a";
+                       reg = <0x0 0x21c0600 0x0 0x100>;
+                       interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
+                       status = "disabled";
+               };
        };
 };