ARM: dts: imx51: ZII: Add missing phy-mode
authorAndrew Lunn <andrew@lunn.ch>
Sat, 8 Apr 2023 15:27:59 +0000 (17:27 +0200)
committerShawn Guo <shawnguo@kernel.org>
Sat, 13 May 2023 03:25:43 +0000 (11:25 +0800)
The DSA framework has got more picky about always having a phy-mode
for the CPU port. The imx51 Ethernet supports MII, and RMII. Set the
switch phy-mode based on how the SoC Ethernet port has been
configured.

Additionally, the cpu label has never actually been used in the
binding, so remove it.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx51-zii-rdu1.dts
arch/arm/boot/dts/imx51-zii-scu2-mezz.dts
arch/arm/boot/dts/imx51-zii-scu3-esb.dts

index 3ddea42..5d4b29d 100644 (file)
 
                                port@0 {
                                        reg = <0>;
-                                       label = "cpu";
+                                       phy-mode = "rev-mii";
                                        ethernet = <&fec>;
 
                                        fixed-link {
index 21dd3f7..625f9ac 100644 (file)
@@ -82,7 +82,7 @@
 
                                port@4 {
                                        reg = <4>;
-                                       label = "cpu";
+                                       phy-mode = "rev-mii";
                                        ethernet = <&fec>;
 
                                        fixed-link {
index 9f857eb..19a3b14 100644 (file)
 
                                port@6 {
                                        reg = <6>;
-                                       label = "cpu";
                                        phy-mode = "mii";
                                        ethernet = <&fec>;