diff options
author | Andrew Lunn <andrew@lunn.ch> | 2023-04-08 17:28:00 +0200 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2023-05-13 05:25:59 +0200 |
commit | 0eea5c60c15fedd61dede52883745ab7e6a28562 (patch) | |
tree | 853eeb163a6937068850fe4dacf57a2df40b7132 /arch/arm/boot/dts/imx6qdl-gw5904.dtsi | |
parent | ARM: dts: imx51: ZII: Add missing phy-mode (diff) | |
download | linux-0eea5c60c15fedd61dede52883745ab7e6a28562.tar.xz linux-0eea5c60c15fedd61dede52883745ab7e6a28562.zip |
ARM: dts: imx6qdl: Add missing phy-mode and fixed links
The DSA framework has got more picky about always having a phy-mode
for the CPU port. Add a phy-mode based on what the SoC ethernet is
using. For RGMII mode, have the switch add the delays.
Additionally, the cpu label has never actually been used in the
binding, so remove it.
Lastly add a fixed-link node indicating the expected speed/duplex of
the link to the SoC.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/imx6qdl-gw5904.dtsi')
-rw-r--r-- | arch/arm/boot/dts/imx6qdl-gw5904.dtsi | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/imx6qdl-gw5904.dtsi b/arch/arm/boot/dts/imx6qdl-gw5904.dtsi index 9fc79af2bc9a..9594bc5745ed 100644 --- a/arch/arm/boot/dts/imx6qdl-gw5904.dtsi +++ b/arch/arm/boot/dts/imx6qdl-gw5904.dtsi @@ -238,8 +238,13 @@ port@5 { reg = <5>; - label = "cpu"; ethernet = <&fec>; + phy-mode = "rgmii-id"; + + fixed-link { + speed = <1000>; + full-duplex; + }; }; }; }; |