diff options
author | LABBE Corentin <clabbe.montjoie@gmail.com> | 2017-05-31 09:18:39 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-01 14:53:05 -0400 |
commit | 62781b28785d3b21b58152489fea6fe14450eaaf (patch) | |
tree | 489379c505c7040b08999884974d53da36bd27fc /arch | |
parent | 33125eaae481ad7da6b281f25b77a7bc91732b25 (diff) | |
download | linux-62781b28785d3b21b58152489fea6fe14450eaaf.tar.bz2 |
arm: sun8i: orangepi-pc: Enable dwmac-sun8i
The dwmac-sun8i hardware is present on the Orange PI PC.
It uses the internal PHY.
This patch create the needed emac node.
Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts b/arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts index f148111c326d..52e65755c51a 100644 --- a/arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts +++ b/arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts @@ -52,6 +52,7 @@ compatible = "xunlong,orangepi-pc", "allwinner,sun8i-h3"; aliases { + ethernet0 = &emac; serial0 = &uart0; }; @@ -109,6 +110,13 @@ status = "okay"; }; +&emac { + phy-handle = <&int_mii_phy>; + phy-mode = "mii"; + allwinner,leds-active-low; + status = "okay"; +}; + &ir { pinctrl-names = "default"; pinctrl-0 = <&ir_pins_a>; |