diff options
author | Corentin Labbe <clabbe.montjoie@gmail.com> | 2017-05-31 10:18:41 +0300 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2017-06-06 21:06:03 +0300 |
commit | 25b9c3f58d2917c3e3cb572f4af5b67d562143dd (patch) | |
tree | b44c0caafe3de0f43673966c1e9363f453bdae82 /arch/arm/boot/dts/sun8i-h3-orangepi-one.dts | |
parent | d342cb6f018a6967e52ff7701beac2ead15530cb (diff) | |
download | linux-25b9c3f58d2917c3e3cb572f4af5b67d562143dd.tar.xz |
arm: sun8i: orangepi-one: Enable dwmac-sun8i
The dwmac-sun8i hardware is present on the Orange PI One.
It uses the internal PHY.
This patch create the needed emac node.
Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/sun8i-h3-orangepi-one.dts')
-rw-r--r-- | arch/arm/boot/dts/sun8i-h3-orangepi-one.dts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun8i-h3-orangepi-one.dts b/arch/arm/boot/dts/sun8i-h3-orangepi-one.dts index 5fea430e0eb1..6880268e8b87 100644 --- a/arch/arm/boot/dts/sun8i-h3-orangepi-one.dts +++ b/arch/arm/boot/dts/sun8i-h3-orangepi-one.dts @@ -52,6 +52,7 @@ compatible = "xunlong,orangepi-one", "allwinner,sun8i-h3"; aliases { + ethernet0 = &emac; serial0 = &uart0; }; @@ -97,6 +98,13 @@ status = "okay"; }; +&emac { + phy-handle = <&int_mii_phy>; + phy-mode = "mii"; + allwinner,leds-active-low; + status = "okay"; +}; + &mmc0 { pinctrl-names = "default"; pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin>; |