summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts
diff options
context:
space:
mode:
authorCorentin Labbe <clabbe.montjoie@gmail.com>2017-05-31 09:18:39 +0200
committerMaxime Ripard <maxime.ripard@free-electrons.com>2017-06-06 20:05:56 +0200
commitd342cb6f018a6967e52ff7701beac2ead15530cb (patch)
tree5c039e7dceab3dd7c96bcd8ec8f2973c63dfc339 /arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts
parent0eba511a3cac29d6338b22b5b727f40cf8d163df (diff)
downloadblackbird-obmc-linux-d342cb6f018a6967e52ff7701beac2ead15530cb.tar.gz
blackbird-obmc-linux-d342cb6f018a6967e52ff7701beac2ead15530cb.zip
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: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts')
-rw-r--r--arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts8
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>;
OpenPOWER on IntegriCloud