Commit b1f9b5fd authored by Philipp Rossak's avatar Philipp Rossak Committed by Maxime Ripard

ARM: dts: sun8i: h3: Enable dwmac-sun8i on the Nanopi M1

The dwmac-sun8i hardware is present on the Nanopi M1.
It uses the internal PHY
Signed-off-by: default avatarPhilipp Rossak <embed3d@gmail.com>
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
parent ad87b75f
...@@ -45,6 +45,10 @@ ...@@ -45,6 +45,10 @@
/ { / {
model = "FriendlyArm NanoPi M1"; model = "FriendlyArm NanoPi M1";
compatible = "friendlyarm,nanopi-m1", "allwinner,sun8i-h3"; compatible = "friendlyarm,nanopi-m1", "allwinner,sun8i-h3";
aliases {
ethernet0 = &emac;
};
}; };
&ehci1 { &ehci1 {
...@@ -55,6 +59,13 @@ &ehci2 { ...@@ -55,6 +59,13 @@ &ehci2 {
status = "okay"; status = "okay";
}; };
&emac {
phy-handle = <&int_mii_phy>;
phy-mode = "mii";
allwinner,leds-active-low;
status = "okay";
};
&ir { &ir {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&ir_pins_a>; pinctrl-0 = <&ir_pins_a>;
......
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