diff options
author | Antony Antony <antony@phenome.org> | 2017-11-29 15:17:16 +0100 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2017-11-29 16:30:05 +0100 |
commit | 27d7f929702739c186e72a4dcd255e0faa3beefc (patch) | |
tree | 29799884ae3c989f6f598379d993edff75f59fea /arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo-plus2.dts | |
parent | 6d84b6c9c624db16920091f9e1558948e1446bb7 (diff) | |
download | talos-op-linux-27d7f929702739c186e72a4dcd255e0faa3beefc.tar.gz talos-op-linux-27d7f929702739c186e72a4dcd255e0faa3beefc.zip |
arm64: dts: allwinner: h5: NanoPi NEO Plus2 : add EMAC support
add arm64 H5 dwmac-sun8i support for this board
Signed-off-by: Antony Antony <antony@phenome.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo-plus2.dts')
-rw-r--r-- | arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo-plus2.dts | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo-plus2.dts b/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo-plus2.dts index ea1101293892..1ed9f219deaf 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo-plus2.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo-plus2.dts @@ -53,6 +53,7 @@ compatible = "friendlyarm,nanopi-neo-plus2", "allwinner,sun50i-h5"; aliases { + ethernet0 = &emac; serial0 = &uart0; }; @@ -133,6 +134,22 @@ status = "okay"; }; +&emac { + pinctrl-names = "default"; + pinctrl-0 = <&emac_rgmii_pins>; + phy-supply = <®_gmac_3v3>; + phy-handle = <&ext_rgmii_phy>; + phy-mode = "rgmii"; + status = "okay"; +}; + +&external_mdio { + ext_rgmii_phy: ethernet-phy@7 { + compatible = "ethernet-phy-ieee802.3-c22"; + reg = <7>; + }; +}; + &mmc0 { pinctrl-names = "default"; pinctrl-0 = <&mmc0_pins_a>; |