arm64: dts: freescale: ZII: Add missing phy-mode
authorAndrew Lunn <andrew@lunn.ch>
Sat, 8 Apr 2023 15:28:01 +0000 (17:28 +0200)
committerShawn Guo <shawnguo@kernel.org>
Sat, 13 May 2023 03:26:38 +0000 (11:26 +0800)
The DSA framework has got more picky about always having a phy-mode
for the CPU port. The imx8mq Ethernet is being configured to RMII. Set
the switch phy-mode based on this.

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/arm64/boot/dts/freescale/imx8mq-zii-ultra.dtsi

index 3a52679ecd68e543ee161b5c35cfd75c282b10e5..cb777b47baf9b7642f976995ae5bafd9c0562f7f 100644 (file)
 
                                port@2 {
                                        reg = <2>;
-                                       label = "cpu";
+                                       phy-mode = "rev-rmii";
                                        ethernet = <&fec1>;
 
                                        fixed-link {