arm64: dts: ls1028a: move DSA CPU port property to the common SoC dtsi
authorVladimir Oltean <vladimir.oltean@nxp.com>
Wed, 31 Aug 2022 16:01:22 +0000 (19:01 +0300)
committerShawn Guo <shawnguo@kernel.org>
Sat, 17 Sep 2022 08:34:25 +0000 (16:34 +0800)
Since the CPU port 4 of the switch is hardwired inside the SoC to go to
the enetc port 2, this shouldn't be something that the board files need
to set (but whether that CPU port is used or not is another discussion).

So move the DSA "ethernet" property to the common dtsi.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Acked-by: Michael Walle <michael@walle.cc>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-kbox-a-230-ls.dts
arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var2.dts
arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts
arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi

index 6b575efd84a71470a47b57bcdd5147975536e62c..52ef2e8e54921b978cd17a62f03fec7ca0758522 100644 (file)
 };
 
 &mscc_felix_port4 {
-       ethernet = <&enetc_port2>;
        status = "okay";
 };
 
index 330e34f933a39288bc38b7d9d279f299a40e336c..37c20cb6c1524ece02174dcd1055c8e1ecd7fb94 100644 (file)
@@ -60,6 +60,5 @@
 };
 
 &mscc_felix_port4 {
-       ethernet = <&enetc_port2>;
        status = "okay";
 };
index e0cd1516d05b92d365f5310b45a70e4b419adbe3..7285bdcf2302a7fe6b255a13054a86502616254a 100644 (file)
 };
 
 &mscc_felix_port4 {
-       ethernet = <&enetc_port2>;
        status = "okay";
 };
 
index 5627dd7734f38f6c7b7d0f3900826d3e7d6ab137..1215fcdf70fac46d9f0262a7f2d21c882109ebaa 100644 (file)
                                        mscc_felix_port4: port@4 {
                                                reg = <4>;
                                                phy-mode = "internal";
+                                               ethernet = <&enetc_port2>;
                                                status = "disabled";
 
                                                fixed-link {