1 From a9992f2dd1890112643a93d621ff5a4c97c55d53 Mon Sep 17 00:00:00 2001
2 From: Corentin Labbe <clabbe.montjoie@gmail.com>
3 Date: Wed, 31 May 2017 09:18:42 +0200
4 Subject: arm: sun8i: orangepi-2: Enable dwmac-sun8i
6 The dwmac-sun8i hardware is present on the Orange PI 2.
7 It uses the internal PHY.
9 This patch create the needed emac node.
11 Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
12 Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
14 arch/arm/boot/dts/sun8i-h3-orangepi-2.dts | 8 ++++++++
15 1 file changed, 8 insertions(+)
17 --- a/arch/arm/boot/dts/sun8i-h3-orangepi-2.dts
18 +++ b/arch/arm/boot/dts/sun8i-h3-orangepi-2.dts
22 /* ethernet0 is the H3 emac, defined in sun8i-h3.dtsi */
32 + phy-handle = <&int_mii_phy>;
34 + allwinner,leds-active-low;
39 pinctrl-names = "default";
40 pinctrl-0 = <&ir_pins_a>;