summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2016-07-27 18:06:35 +0200
committerHans de Goede <hdegoede@redhat.com>2016-07-31 21:45:47 +0200
commitfcada3b05e56c9b22bf5f92ba94fa80449452e76 (patch)
tree98fe0a202b6e30c344b61e722462e9effd792f82 /arch/arm
parent4069437dfbb2f70b92a84af7ce2d5cfba27247b9 (diff)
downloadu-boot-imx-fcada3b05e56c9b22bf5f92ba94fa80449452e76.zip
u-boot-imx-fcada3b05e56c9b22bf5f92ba94fa80449452e76.tar.gz
u-boot-imx-fcada3b05e56c9b22bf5f92ba94fa80449452e76.tar.bz2
sunxi: Re-enable h3 emac support
With the recent bug fixes for the sun8i_emac driver all known issues are resolved, so we can re-enable the driver. While at it, also enable the emac on the Orange Pi One. Cc: Chen-Yu Tsai <wens@csie.org> Cc: Corentin LABBE <clabbe.montjoie@gmail.com> Cc: Amit Singh Tomar <amittomer25@gmail.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk> Acked-by: Jagan Teki <jteki@openedev.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/dts/sun8i-h3-orangepi-one.dts11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/dts/sun8i-h3-orangepi-one.dts b/arch/arm/dts/sun8i-h3-orangepi-one.dts
index 0adf932..8df5c74 100644
--- a/arch/arm/dts/sun8i-h3-orangepi-one.dts
+++ b/arch/arm/dts/sun8i-h3-orangepi-one.dts
@@ -94,6 +94,17 @@
status = "okay";
};
+&emac {
+ phy = <&phy1>;
+ phy-mode = "mii";
+ allwinner,use-internal-phy;
+ allwinner,leds-active-low;
+ status = "okay";
+ phy1: ethernet-phy@1 {
+ reg = <1>;
+ };
+};
+
&mmc0 {
pinctrl-names = "default";
pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin>;