arm64: dts: allwinner: h5: NanoPi NEO Plus2 : add EMAC support
Subsystems (2)
PATCH 1/1 arm64: dts: allwinner: h5: NanoPi NEO Plus2 : add EMAC support
add arm64 H5 dwmac-sun8i support for this board
Signed-off-by Antony Antony <[email protected]>
--- .../boot/dts/allwinner/sun50i-h5-nanopi-neo-plus2.dts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+)
arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo-plus2.dts +17 -0
@@ -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 at 7 { + compatible = "ethernet-phy-ieee802.3-c22"; + reg = <7>; + }; +}; + &mmc0 { pinctrl-names = "default"; pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin>;
Signature · 1 line
2.7.4
Maxime Ripard
AppliedPATCH 1/1 arm64: dts: allwinner: h5: NanoPi NEO Plus2 : add EMAC support
Quoted 3 lines · Antony Antony
add arm64 H5 dwmac-sun8i support for this board
Signed-off-by Antony Antony <[email protected]>
Applied, thanks
Maxime
Signature · 10 lines
Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20171129/d0ebd19e/attachment.sig>