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 3ddea42196f32e4df6c58fe775af77d4bdaf09da..5d4b29d765853ed27d581bde482596da5e7d84a0 100644 (file)
 
                                port@0 {
                                        reg = <0>;
-                                       label = "cpu";
+                                       phy-mode = "rev-mii";
                                        ethernet = <&fec>;
 
                                        fixed-link {
index 21dd3f7abd488bd0d52b61e976afc659c878583d..625f9ac671ae9713110fcd2cf62884c8fd79f236 100644 (file)
@@ -82,7 +82,7 @@
 
                                port@4 {
                                        reg = <4>;
-                                       label = "cpu";
+                                       phy-mode = "rev-mii";
                                        ethernet = <&fec>;
 
                                        fixed-link {
index 9f857eb44bf722acef5be1c3e536213f0d8ea206..19a3b142c964919d92ed23657ca749aa95e4d006 100644 (file)
 
                                port@6 {
                                        reg = <6>;
-                                       label = "cpu";
                                        phy-mode = "mii";
                                        ethernet = <&fec>;