arm64: dts: ls1028a-qds: define mdio slots for networking options
authorLi Yang <leoyang.li@nxp.com>
Wed, 26 Jan 2022 09:26:50 +0000 (03:26 -0600)
committerShawn Guo <shawnguo@kernel.org>
Fri, 11 Feb 2022 03:21:08 +0000 (11:21 +0800)
The ls1028a QDS board support different pluggable PHY cards.  Define the
nodes for these slots to be updated at boot time with overlay according
to board setup.

Signed-off-by: Alex Marginean <alexandru.marginean@nxp.com>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Tested-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts

index 177bc14..19d3952 100644 (file)
                                reg = <5>;
                        };
                };
+
+               mdio_slot1: mdio@4 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <4>;
+               };
+
+               mdio_slot2: mdio@5 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <5>;
+               };
+
+               mdio_slot3: mdio@6 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <6>;
+               };
+
+               mdio_slot4: mdio@7 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <7>;
+               };
        };
 };