Commit 4f63b1c3 authored by Remi Pommarel's avatar Remi Pommarel Committed by Gregory CLEMENT

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: default avatarRemi Pommarel <repk@triplefau.lt>
Signed-off-by: default avatarGregory CLEMENT <gregory.clement@bootlin.com>
parent 0d45062c
...@@ -198,6 +198,8 @@ switch0phy2: switch0phy2@13 { ...@@ -198,6 +198,8 @@ switch0phy2: switch0phy2@13 {
}; };
&eth0 { &eth0 {
pinctrl-names = "default";
pinctrl-0 = <&rgmii_pins>, <&smi_pins>;
phy-mode = "rgmii-id"; phy-mode = "rgmii-id";
status = "okay"; status = "okay";
......
...@@ -271,6 +271,11 @@ rgmii_pins: mii-pins { ...@@ -271,6 +271,11 @@ rgmii_pins: mii-pins {
function = "mii"; function = "mii";
}; };
smi_pins: smi-pins {
groups = "smi";
function = "smi";
};
sdio_pins: sdio-pins { sdio_pins: sdio-pins {
groups = "sdio_sb"; groups = "sdio_sb";
function = "sdio"; function = "sdio";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment