diff options
author | Andrew Lunn <andrew@lunn.ch> | 2023-05-25 20:26:06 +0200 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2023-05-27 21:24:01 +0800 |
commit | 6390213bb5bb06c3babada641c2f679501d1bfba (patch) | |
tree | 2c0189fb30f494fc49727e1804aff5aceaafa004 /arch/arm/boot/dts/vf610-zii-dev-rev-c.dts | |
parent | 62c9f9c1d4debaa28ba10b23c1dc7be573602898 (diff) |
ARM: dts: vf610: ZII: Add missing phy-mode and fixed links
The DSA framework has got more picky about always having a phy-mode
for the CPU port. The Vybrid FEC is a Fast Ethrnet using RMII.
Additionally, the cpu label has never actually been used in the
binding, so remove it.
Lastly, for DSA links between switches, add a fixed-link node
indicating the expected speed/duplex of the link.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/vf610-zii-dev-rev-c.dts')
-rw-r--r-- | arch/arm/boot/dts/vf610-zii-dev-rev-c.dts | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/vf610-zii-dev-rev-c.dts b/arch/arm/boot/dts/vf610-zii-dev-rev-c.dts index c00d39562a10..6f9878f124c4 100644 --- a/arch/arm/boot/dts/vf610-zii-dev-rev-c.dts +++ b/arch/arm/boot/dts/vf610-zii-dev-rev-c.dts @@ -44,7 +44,7 @@ port@0 { reg = <0>; - label = "cpu"; + phy-mode = "rmii"; ethernet = <&fec1>; fixed-link { @@ -82,6 +82,11 @@ label = "dsa"; phy-mode = "xaui"; link = <&switch1port10>; + + fixed-link { + speed = <10000>; + full-duplex; + }; }; }; @@ -174,6 +179,11 @@ label = "dsa"; phy-mode = "xaui"; link = <&switch0port10>; + + fixed-link { + speed = <10000>; + full-duplex; + }; }; }; mdio { |