1 From 8aea8659a5f3ae8dc63c9f632ce1f676a1483556 Mon Sep 17 00:00:00 2001
2 From: Andrew Lunn <andrew@lunn.ch>
3 Date: Fri, 7 Apr 2023 17:17:20 +0200
4 Subject: [PATCH] ARM: dts: kirkwood: Add missing phy-mode and fixed links
6 The DSA framework has got more picky about always having a phy-mode
7 for the CPU port. The Kirkwood Ethernet is an RGMII port. Set the
8 switch to impose the RGMII delays.
10 Additionally, the cpu label has never actually been used in the
11 binding, so remove it.
13 Signed-off-by: Andrew Lunn <andrew@lunn.ch>
14 Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
16 arch/arm/boot/dts/kirkwood-dir665.dts | 3 ++-
17 arch/arm/boot/dts/kirkwood-l-50.dts | 2 +-
18 arch/arm/boot/dts/kirkwood-linksys-viper.dts | 3 ++-
19 arch/arm/boot/dts/kirkwood-mv88f6281gtw-ge.dts | 3 ++-
20 arch/arm/boot/dts/kirkwood-rd88f6281.dtsi | 2 +-
21 5 files changed, 8 insertions(+), 5 deletions(-)
23 --- a/arch/arm/boot/dts/kirkwood-dir665.dts
24 +++ b/arch/arm/boot/dts/kirkwood-dir665.dts
30 + phy-mode = "rgmii-id";
31 ethernet = <ð0port>;
42 --- a/arch/arm/boot/dts/kirkwood-l-50.dts
43 +++ b/arch/arm/boot/dts/kirkwood-l-50.dts
49 phy-mode = "rgmii-id";
50 ethernet = <ð1port>;
60 --- a/arch/arm/boot/dts/kirkwood-linksys-viper.dts
61 +++ b/arch/arm/boot/dts/kirkwood-linksys-viper.dts
67 + phy-mode = "rgmii-id";
68 ethernet = <ð0port>;
79 --- a/arch/arm/boot/dts/kirkwood-mv88f6281gtw-ge.dts
80 +++ b/arch/arm/boot/dts/kirkwood-mv88f6281gtw-ge.dts
86 + phy-mode = "rgmii-id";
87 ethernet = <ð0port>;
98 --- a/arch/arm/boot/dts/kirkwood-rd88f6281.dtsi
99 +++ b/arch/arm/boot/dts/kirkwood-rd88f6281.dtsi
105 + phy-mode = "rgmii-id";
106 ethernet = <ð0port>;