arm64: dts: armada-3720-espressobin: Configure RGMII and SMI pins
Subsystems (2)
PATCH 1/1 arm64: dts: armada-3720-espressobin: Configure RGMII and SMI pins
In order to be able to communicate with the 88e6341 switch some pins have to be repurposed as RGMII and SMI pins.
This fixes ethernet support on system booted via a bootloader that has not already configured those pins (e.g. mainline u-boot, or vendor u-boot compiled without ethernet support).
Signed-off-by Remi Pommarel <[email protected]>
---
This should be applied along with pinctrl fixes from
https://lkml.org/lkml/2018/12/21/507 which have been merged in next branch of linux-pinctrl tree.
--- arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts | 2 ++ arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 5 +++++ 2 files changed, 7 insertions(+)
arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts +2 -0
@@ -196,6 +196,8 @@ }; ð0 { + pinctrl-names = "default"; + pinctrl-0 = <&rgmii_pins>, <&smi_pins>; phy-mode = "rgmii-id"; status = "okay";
arch/arm64/boot/dts/marvell/armada-37xx.dtsi +5 -0
@@ -271,6 +271,11 @@ function = "mii"; }; + smi_pins: smi-pins { + groups = "smi"; + function = "smi"; + }; + sdio_pins: sdio-pins { groups = "sdio_sb"; function = "sdio";
Signature · 1 line
2.20.1
This patch has been included in patchset [1], please ignore this one.
[1] https://lkml.org/lkml/2019/1/28/1876
Signature · 1 line
Remi