Skip to content

Commit ddb5625

Browse files
codekipperwens
authored andcommitted
ARM: dts: sun8i: h3: Enable dwmac-sun8i on the Beelink X2
The dwmac-sun8i hardware is present on the Beelink X2. It uses the internal PHY. This patch create the needed emac node. Signed-off-by: Marcus Cooper <codekipper@gmail.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> [wens@csie.org: Fixed typo in commit subject] Signed-off-by: Chen-Yu Tsai <wens@csie.org>
1 parent 6c75582 commit ddb5625

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

arch/arm/boot/dts/sun8i-h3-beelink-x2.dts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353

5454
aliases {
5555
serial0 = &uart0;
56-
/* ethernet0 is the H3 emac, defined in sun8i-h3.dtsi */
56+
ethernet0 = &emac;
5757
ethernet1 = &sdiowifi;
5858
};
5959

@@ -108,6 +108,13 @@
108108
status = "okay";
109109
};
110110

111+
&emac {
112+
phy-handle = <&int_mii_phy>;
113+
phy-mode = "mii";
114+
allwinner,leds-active-low;
115+
status = "okay";
116+
};
117+
111118
&ir {
112119
pinctrl-names = "default";
113120
pinctrl-0 = <&ir_pins_a>;

0 commit comments

Comments
 (0)