summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/kirkwood-linksys-viper.dts
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2023-04-07 17:17:20 +0200
committerGregory CLEMENT <gregory.clement@bootlin.com>2023-04-07 17:28:24 +0200
commit8aea8659a5f3ae8dc63c9f632ce1f676a1483556 (patch)
tree5b3ff6fd408dacbe4d98935a75bf46c5515f17b1 /arch/arm/boot/dts/kirkwood-linksys-viper.dts
parentfe15c26ee26efa11741a7b632e9f23b01aca4cc6 (diff)
ARM: dts: kirkwood: 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 Kirkwood Ethernet is an RGMII port. Set the switch to impose the RGMII delays. Additionally, the cpu label has never actually been used in the binding, so remove it. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Diffstat (limited to 'arch/arm/boot/dts/kirkwood-linksys-viper.dts')
-rw-r--r--arch/arm/boot/dts/kirkwood-linksys-viper.dts3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/kirkwood-linksys-viper.dts b/arch/arm/boot/dts/kirkwood-linksys-viper.dts
index 2f9660f3b457..27fd6e2337d5 100644
--- a/arch/arm/boot/dts/kirkwood-linksys-viper.dts
+++ b/arch/arm/boot/dts/kirkwood-linksys-viper.dts
@@ -198,7 +198,7 @@
port@5 {
reg = <5>;
- label = "cpu";
+ phy-mode = "rgmii-id";
ethernet = <&eth0port>;
fixed-link {
speed = <1000>;
@@ -221,6 +221,7 @@
ethernet0-port@0 {
speed = <1000>;
duplex = <1>;
+ phy-mode = "rgmii";
};
};