diff options
author | Andrew Lunn <andrew@lunn.ch> | 2023-04-08 18:27:59 +0300 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2023-05-13 06:25:43 +0300 |
commit | 5c9347e80b0ab2da6f1d5ec174378af40b25b3e6 (patch) | |
tree | 466fb5129cc6043b06c6160a57dbf7dc27ffceed | |
parent | 63a208bf7c372f1ec800c6f54215673362007b85 (diff) | |
download | linux-5c9347e80b0ab2da6f1d5ec174378af40b25b3e6.tar.xz |
ARM: dts: imx51: ZII: Add missing phy-mode
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>
-rw-r--r-- | arch/arm/boot/dts/imx51-zii-rdu1.dts | 2 | ||||
-rw-r--r-- | arch/arm/boot/dts/imx51-zii-scu2-mezz.dts | 2 | ||||
-rw-r--r-- | arch/arm/boot/dts/imx51-zii-scu3-esb.dts | 1 |
3 files changed, 2 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/imx51-zii-rdu1.dts b/arch/arm/boot/dts/imx51-zii-rdu1.dts index 3ddea42196f3..5d4b29d76585 100644 --- a/arch/arm/boot/dts/imx51-zii-rdu1.dts +++ b/arch/arm/boot/dts/imx51-zii-rdu1.dts @@ -181,7 +181,7 @@ port@0 { reg = <0>; - label = "cpu"; + phy-mode = "rev-mii"; ethernet = <&fec>; fixed-link { diff --git a/arch/arm/boot/dts/imx51-zii-scu2-mezz.dts b/arch/arm/boot/dts/imx51-zii-scu2-mezz.dts index 21dd3f7abd48..625f9ac671ae 100644 --- a/arch/arm/boot/dts/imx51-zii-scu2-mezz.dts +++ b/arch/arm/boot/dts/imx51-zii-scu2-mezz.dts @@ -82,7 +82,7 @@ port@4 { reg = <4>; - label = "cpu"; + phy-mode = "rev-mii"; ethernet = <&fec>; fixed-link { diff --git a/arch/arm/boot/dts/imx51-zii-scu3-esb.dts b/arch/arm/boot/dts/imx51-zii-scu3-esb.dts index 9f857eb44bf7..19a3b142c964 100644 --- a/arch/arm/boot/dts/imx51-zii-scu3-esb.dts +++ b/arch/arm/boot/dts/imx51-zii-scu3-esb.dts @@ -267,7 +267,6 @@ port@6 { reg = <6>; - label = "cpu"; phy-mode = "mii"; ethernet = <&fec>; |