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 <repk@triplefau.lt>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
This commit is contained in:
Remi Pommarel 2019-01-28 21:07:27 +01:00 committed by Gregory CLEMENT
parent 0d45062cfc
commit 4f63b1c3d6
2 changed files with 7 additions and 0 deletions

View File

@ -198,6 +198,8 @@
};
&eth0 {
pinctrl-names = "default";
pinctrl-0 = <&rgmii_pins>, <&smi_pins>;
phy-mode = "rgmii-id";
status = "okay";

View File

@ -271,6 +271,11 @@
function = "mii";
};
smi_pins: smi-pins {
groups = "smi";
function = "smi";
};
sdio_pins: sdio-pins {
groups = "sdio_sb";
function = "sdio";