]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: dts: ls1028a: move I2C controller nodes into /soc
authorMichael Walle <michael@walle.cc>
Wed, 13 Oct 2021 16:14:05 +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>
12 files changed:
arch/arm/dts/fsl-ls1028a-qds-1xxx-sch-30842.dtsi
arch/arm/dts/fsl-ls1028a-qds-6xxx-sch-30842.dtsi
arch/arm/dts/fsl-ls1028a-qds-7777-sch-30841.dtsi
arch/arm/dts/fsl-ls1028a-qds-7xx7-sch-30841R.dtsi
arch/arm/dts/fsl-ls1028a-qds-8xxx-sch-24801.dtsi
arch/arm/dts/fsl-ls1028a-qds-9999-sch-24801-LBRW.dtsi
arch/arm/dts/fsl-ls1028a-qds-9999-sch-24801.dtsi
arch/arm/dts/fsl-ls1028a-qds-x3xx-sch-30841-LBRW.dtsi
arch/arm/dts/fsl-ls1028a-qds-x5xx-sch-28021-LBRW.dtsi
arch/arm/dts/fsl-ls1028a-qds-x7xx-sch-30842.dtsi
arch/arm/dts/fsl-ls1028a-qds-xx7x-sch-30842.dtsi
arch/arm/dts/fsl-ls1028a.dtsi

index 4063d9a114d39bbf70f54e5900aed059bc2f629f..1f13cf80e6aad180f4f0f4be1242e6742b82a0f9 100644 (file)
@@ -16,5 +16,5 @@
 &enetc0 {
        status = "okay";
        phy-mode = "usxgmii";
-       phy-handle = <&{/i2c@2000000/fpga@66/mux-mdio@54/mdio@40/phy@02}>;
+       phy-handle = <&{/soc/i2c@2000000/fpga@66/mux-mdio@54/mdio@40/phy@02}>;
 };
index 548ab2ba65bc3667a319a8d7ddd12aee32f913e4..10375b27516f96bad0ce4ab3e36fb93467efde96 100644 (file)
@@ -15,5 +15,5 @@
 &enetc0 {
        status = "okay";
        phy-mode = "2500base-x";
-       phy-handle = <&{/i2c@2000000/fpga@66/mux-mdio@54/mdio@40/phy@02}>;
+       phy-handle = <&{/soc/i2c@2000000/fpga@66/mux-mdio@54/mdio@40/phy@02}>;
 };
index 3991fb793ffbd0a772e50197459b3c49ef1af7f2..f18cb39f21942eb27c9c2f3eacdc0b6e7904e318 100644 (file)
 &mscc_felix_port0 {
        status = "okay";
        phy-mode = "2500base-x";
-       phy-handle = <&{/i2c@2000000/fpga@66/mux-mdio@54/mdio@40/phy@00}>;
+       phy-handle = <&{/soc/i2c@2000000/fpga@66/mux-mdio@54/mdio@40/phy@00}>;
 };
 
 &mscc_felix_port1 {
        status = "okay";
        phy-mode = "2500base-x";
-       phy-handle = <&{/i2c@2000000/fpga@66/mux-mdio@54/mdio@40/phy@01}>;
+       phy-handle = <&{/soc/i2c@2000000/fpga@66/mux-mdio@54/mdio@40/phy@01}>;
 };
 
 &mscc_felix_port2 {
        status = "okay";
        phy-mode = "2500base-x";
-       phy-handle = <&{/i2c@2000000/fpga@66/mux-mdio@54/mdio@40/phy@02}>;
+       phy-handle = <&{/soc/i2c@2000000/fpga@66/mux-mdio@54/mdio@40/phy@02}>;
 };
 
 &mscc_felix_port3 {
        status = "okay";
        phy-mode = "2500base-x";
-       phy-handle = <&{/i2c@2000000/fpga@66/mux-mdio@54/mdio@40/phy@03}>;
+       phy-handle = <&{/soc/i2c@2000000/fpga@66/mux-mdio@54/mdio@40/phy@03}>;
 };
 
 &mscc_felix_port4 {
index d68c8c2be040102eb998b6f060aebf677be8853f..f6561a89eb215edee1d12b106fef730339b57e2b 100644 (file)
 &mscc_felix_port0 {
        status = "okay";
        phy-mode = "2500base-x";
-       phy-handle = <&{/i2c@2000000/fpga@66/mux-mdio@54/mdio@40/phy@02}>;
+       phy-handle = <&{/soc/i2c@2000000/fpga@66/mux-mdio@54/mdio@40/phy@02}>;
 };
 
 &mscc_felix_port3 {
        status = "okay";
        phy-mode = "2500base-x";
-       phy-handle = <&{/i2c@2000000/fpga@66/mux-mdio@54/mdio@40/phy@03}>;
+       phy-handle = <&{/soc/i2c@2000000/fpga@66/mux-mdio@54/mdio@40/phy@03}>;
 };
 
 &mscc_felix_port4 {
index 94b5081d6101be4e3857c1feceb745929a1aa18a..d9ccd8353bbdf174f9ce68fc66defb5ae57bc869 100644 (file)
@@ -15,5 +15,5 @@
 &enetc0 {
        status = "okay";
        phy-mode = "sgmii";
-       phy-handle = <&{/i2c@2000000/fpga@66/mux-mdio@54/mdio@40/phy@1c}>;
+       phy-handle = <&{/soc/i2c@2000000/fpga@66/mux-mdio@54/mdio@40/phy@1c}>;
 };
index 3b850268e6a94239679aae007c6f15816ec92474..0630f1206932457764c1fdf2e424b27c31b4a6b2 100644 (file)
 &mscc_felix_port0 {
        status = "okay";
        phy-mode = "sgmii";
-       phy-handle = <&{/i2c@2000000/fpga@66/mux-mdio@54/mdio@40/phy@1c}>;
+       phy-handle = <&{/soc/i2c@2000000/fpga@66/mux-mdio@54/mdio@40/phy@1c}>;
 };
 
 &mscc_felix_port1 {
        status = "okay";
        phy-mode = "sgmii";
-       phy-handle = <&{/i2c@2000000/fpga@66/mux-mdio@54/mdio@50/phy@1c}>;
+       phy-handle = <&{/soc/i2c@2000000/fpga@66/mux-mdio@54/mdio@50/phy@1c}>;
 };
 
 &mscc_felix_port2 {
        status = "okay";
        phy-mode = "sgmii";
-       phy-handle = <&{/i2c@2000000/fpga@66/mux-mdio@54/mdio@40/phy@1e}>;
+       phy-handle = <&{/soc/i2c@2000000/fpga@66/mux-mdio@54/mdio@40/phy@1e}>;
 };
 
 &mscc_felix_port3 {
        status = "okay";
        phy-mode = "sgmii";
-       phy-handle = <&{/i2c@2000000/fpga@66/mux-mdio@54/mdio@40/phy@1f}>;
+       phy-handle = <&{/soc/i2c@2000000/fpga@66/mux-mdio@54/mdio@40/phy@1f}>;
 };
 
 &mscc_felix_port4 {
index eb632143e068a518041a83012645128a7dcb1bad..170aacf8c01842f2be6cf40b057cbdea07e86586 100644 (file)
 &mscc_felix_port0 {
        status = "okay";
        phy-mode = "sgmii";
-       phy-handle = <&{/i2c@2000000/fpga@66/mux-mdio@54/mdio@40/phy@1c}>;
+       phy-handle = <&{/soc/i2c@2000000/fpga@66/mux-mdio@54/mdio@40/phy@1c}>;
 };
 
 &mscc_felix_port1 {
        status = "okay";
        phy-mode = "sgmii";
-       phy-handle = <&{/i2c@2000000/fpga@66/mux-mdio@54/mdio@40/phy@1d}>;
+       phy-handle = <&{/soc/i2c@2000000/fpga@66/mux-mdio@54/mdio@40/phy@1d}>;
 };
 
 &mscc_felix_port2 {
        status = "okay";
        phy-mode = "sgmii";
-       phy-handle = <&{/i2c@2000000/fpga@66/mux-mdio@54/mdio@40/phy@1e}>;
+       phy-handle = <&{/soc/i2c@2000000/fpga@66/mux-mdio@54/mdio@40/phy@1e}>;
 };
 
 &mscc_felix_port3 {
        status = "okay";
        phy-mode = "sgmii";
-       phy-handle = <&{/i2c@2000000/fpga@66/mux-mdio@54/mdio@40/phy@1f}>;
+       phy-handle = <&{/soc/i2c@2000000/fpga@66/mux-mdio@54/mdio@40/phy@1f}>;
 };
 
 &mscc_felix_port4 {
index ed86da6b26dfa79077cd78ec7a9efe3732ac17ae..1a9288a03726c814127768a89c3a3f580780040b 100644 (file)
 &mscc_felix_port0 {
        status = "okay";
        phy-mode = "usxgmii";
-       phy-handle = <&{/i2c@2000000/fpga@66/mux-mdio@54/mdio@50/phy@00}>;
+       phy-handle = <&{/soc/i2c@2000000/fpga@66/mux-mdio@54/mdio@50/phy@00}>;
 };
 
 &mscc_felix_port1 {
        status = "okay";
        phy-mode = "usxgmii";
-       phy-handle = <&{/i2c@2000000/fpga@66/mux-mdio@54/mdio@50/phy@01}>;
+       phy-handle = <&{/soc/i2c@2000000/fpga@66/mux-mdio@54/mdio@50/phy@01}>;
 };
 
 &mscc_felix_port2 {
        status = "okay";
        phy-mode = "usxgmii";
-       phy-handle = <&{/i2c@2000000/fpga@66/mux-mdio@54/mdio@50/phy@02}>;
+       phy-handle = <&{/soc/i2c@2000000/fpga@66/mux-mdio@54/mdio@50/phy@02}>;
 };
 
 &mscc_felix_port3 {
        status = "okay";
        phy-mode = "usxgmii";
-       phy-handle = <&{/i2c@2000000/fpga@66/mux-mdio@54/mdio@50/phy@03}>;
+       phy-handle = <&{/soc/i2c@2000000/fpga@66/mux-mdio@54/mdio@50/phy@03}>;
 };
 
 &mscc_felix_port4 {
index c9de4ecc434ab22c7f419ec80078af61b27bcaab..544f548b1a9d9a7f2e7f73650724a761b142f37f 100644 (file)
 &mscc_felix_port0 {
        status = "okay";
        phy-mode = "qsgmii";
-       phy-handle = <&{/i2c@2000000/fpga@66/mux-mdio@54/mdio@50/phy@08}>;
+       phy-handle = <&{/soc/i2c@2000000/fpga@66/mux-mdio@54/mdio@50/phy@08}>;
 };
 
 &mscc_felix_port1 {
        status = "okay";
        phy-mode = "qsgmii";
-       phy-handle = <&{/i2c@2000000/fpga@66/mux-mdio@54/mdio@50/phy@09}>;
+       phy-handle = <&{/soc/i2c@2000000/fpga@66/mux-mdio@54/mdio@50/phy@09}>;
 };
 
 &mscc_felix_port2 {
        status = "okay";
        phy-mode = "qsgmii";
-       phy-handle = <&{/i2c@2000000/fpga@66/mux-mdio@54/mdio@50/phy@0a}>;
+       phy-handle = <&{/soc/i2c@2000000/fpga@66/mux-mdio@54/mdio@50/phy@0a}>;
 };
 
 &mscc_felix_port3 {
        status = "okay";
        phy-mode = "qsgmii";
-       phy-handle = <&{/i2c@2000000/fpga@66/mux-mdio@54/mdio@50/phy@0b}>;
+       phy-handle = <&{/soc/i2c@2000000/fpga@66/mux-mdio@54/mdio@50/phy@0b}>;
 };
 
 &mscc_felix_port4 {
index 7f785507bf1b5d3e31783b2559a74b220a20495c..639796263cbec007130035821f287282e5dc540a 100644 (file)
@@ -20,7 +20,7 @@
 &mscc_felix_port1 {
        status = "okay";
        phy-mode = "2500base-x";
-       phy-handle = <&{/i2c@2000000/fpga@66/mux-mdio@54/mdio@50/phy@02}>;
+       phy-handle = <&{/soc/i2c@2000000/fpga@66/mux-mdio@54/mdio@50/phy@02}>;
 };
 
 &mscc_felix_port4 {
index 0fbe7721c813cc6a39da6ff1b6168f874821601c..62c5513c2c3d857e45a4e97b921513a58c70f4b8 100644 (file)
@@ -20,7 +20,7 @@
 &mscc_felix_port2 {
        status = "okay";
        phy-mode = "2500base-x";
-       phy-handle = <&{/i2c@2000000/fpga@66/mux-mdio@54/mdio@60/phy@02}>;
+       phy-handle = <&{/soc/i2c@2000000/fpga@66/mux-mdio@54/mdio@60/phy@02}>;
 };
 
 &mscc_felix_port4 {
index 54f97014be4303f4bb1b8898cd06284a4391be14..de85fdd045fce90498843de3007a5de4ccdc2cb4 100644 (file)
                };
        };
 
-       i2c0: i2c@2000000 {
-               compatible = "fsl,vf610-i2c";
-               #address-cells = <1>;
-               #size-cells = <0>;
-               reg = <0x0 0x2000000 0x0 0x10000>;
-               interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
-               clock-names = "i2c";
-               clocks = <&clockgen 4 0>;
-               status = "disabled";
-       };
-
-       i2c1: i2c@2010000 {
-               compatible = "fsl,vf610-i2c";
-               #address-cells = <1>;
-               #size-cells = <0>;
-               reg = <0x0 0x2010000 0x0 0x10000>;
-               interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
-               clock-names = "i2c";
-               clocks = <&clockgen 4 0>;
-               status = "disabled";
-       };
-
-       i2c2: i2c@2020000 {
-               compatible = "fsl,vf610-i2c";
-               #address-cells = <1>;
-               #size-cells = <0>;
-               reg = <0x0 0x2020000 0x0 0x10000>;
-               interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
-               clock-names = "i2c";
-               clocks = <&clockgen 4 0>;
-               status = "disabled";
-       };
-
-       i2c3: i2c@2030000 {
-               compatible = "fsl,vf610-i2c";
-               #address-cells = <1>;
-               #size-cells = <0>;
-               reg = <0x0 0x2030000 0x0 0x10000>;
-               interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
-               clock-names = "i2c";
-               clocks = <&clockgen 4 0>;
-               status = "disabled";
-       };
-
-       i2c4: i2c@2040000 {
-               compatible = "fsl,vf610-i2c";
-               #address-cells = <1>;
-               #size-cells = <0>;
-               reg = <0x0 0x2040000 0x0 0x10000>;
-               interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
-               clock-names = "i2c";
-               clocks = <&clockgen 4 0>;
-               status = "disabled";
-       };
-
-       i2c5: i2c@2050000 {
-               compatible = "fsl,vf610-i2c";
-               #address-cells = <1>;
-               #size-cells = <0>;
-               reg = <0x0 0x2050000 0x0 0x10000>;
-               interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
-               clock-names = "i2c";
-               clocks = <&clockgen 4 0>;
-               status = "disabled";
-       };
-
-       i2c6: i2c@2060000 {
-               compatible = "fsl,vf610-i2c";
-               #address-cells = <1>;
-               #size-cells = <0>;
-               reg = <0x0 0x2060000 0x0 0x10000>;
-               interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
-               clock-names = "i2c";
-               clocks = <&clockgen 4 0>;
-               status = "disabled";
-       };
-
-       i2c7: i2c@2070000 {
-               compatible = "fsl,vf610-i2c";
-               #address-cells = <1>;
-               #size-cells = <0>;
-               reg = <0x0 0x2070000 0x0 0x10000>;
-               interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
-               clock-names = "i2c";
-               clocks = <&clockgen 4 0>;
-               status = "disabled";
-       };
-
        lpuart0: serial@2260000 {
                compatible = "fsl,ls1021a-lpuart";
                reg = <0x0 0x2260000 0x0 0x1000>;
                        #clock-cells = <2>;
                        clocks = <&sysclk>;
                };
+
+               i2c0: i2c@2000000 {
+                       compatible = "fsl,vf610-i2c";
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <0x0 0x2000000 0x0 0x10000>;
+                       interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
+                       clock-names = "i2c";
+                       clocks = <&clockgen 4 0>;
+                       status = "disabled";
+               };
+
+               i2c1: i2c@2010000 {
+                       compatible = "fsl,vf610-i2c";
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <0x0 0x2010000 0x0 0x10000>;
+                       interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
+                       clock-names = "i2c";
+                       clocks = <&clockgen 4 0>;
+                       status = "disabled";
+               };
+
+               i2c2: i2c@2020000 {
+                       compatible = "fsl,vf610-i2c";
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <0x0 0x2020000 0x0 0x10000>;
+                       interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
+                       clock-names = "i2c";
+                       clocks = <&clockgen 4 0>;
+                       status = "disabled";
+               };
+
+               i2c3: i2c@2030000 {
+                       compatible = "fsl,vf610-i2c";
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <0x0 0x2030000 0x0 0x10000>;
+                       interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
+                       clock-names = "i2c";
+                       clocks = <&clockgen 4 0>;
+                       status = "disabled";
+               };
+
+               i2c4: i2c@2040000 {
+                       compatible = "fsl,vf610-i2c";
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <0x0 0x2040000 0x0 0x10000>;
+                       interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
+                       clock-names = "i2c";
+                       clocks = <&clockgen 4 0>;
+                       status = "disabled";
+               };
+
+               i2c5: i2c@2050000 {
+                       compatible = "fsl,vf610-i2c";
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <0x0 0x2050000 0x0 0x10000>;
+                       interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
+                       clock-names = "i2c";
+                       clocks = <&clockgen 4 0>;
+                       status = "disabled";
+               };
+
+               i2c6: i2c@2060000 {
+                       compatible = "fsl,vf610-i2c";
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <0x0 0x2060000 0x0 0x10000>;
+                       interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
+                       clock-names = "i2c";
+                       clocks = <&clockgen 4 0>;
+                       status = "disabled";
+               };
+
+               i2c7: i2c@2070000 {
+                       compatible = "fsl,vf610-i2c";
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <0x0 0x2070000 0x0 0x10000>;
+                       interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
+                       clock-names = "i2c";
+                       clocks = <&clockgen 4 0>;
+                       status = "disabled";
+               };
        };
 };