提交 27d7f929 编写于 作者: A Antony Antony 提交者: Maxime Ripard

arm64: dts: allwinner: h5: NanoPi NEO Plus2 : add EMAC support

add arm64 H5 dwmac-sun8i support for this board
Signed-off-by: NAntony Antony <antony@phenome.org>
Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
上级 6d84b6c9
......@@ -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 = <&reg_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>;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册