diff options
author | Jelle van der Waa <jelle@vdwaa.nl> | 2016-12-05 19:47:21 +0100 |
---|---|---|
committer | Jagan Teki <jagan@openedev.com> | 2017-01-15 18:16:12 +0100 |
commit | 2fc554d3e37c27c5b8d2540d7a571dc53152a301 (patch) | |
tree | 10ae1578dee8c239469892f86ab72e5b5b9ee4fe | |
parent | 7f73ca484f792a0d2a7ee09860c32f3d02b3030d (diff) |
sunxi: enable H3 EMAC for the nanopi neo
The nanopi already had the CONFIG_SUN8I_EMAC=y enabled in it's defconfig
file, but was missing the &emac the device tree entry.
Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
-rw-r--r-- | arch/arm/dts/sun8i-h3-nanopi-neo.dts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/dts/sun8i-h3-nanopi-neo.dts b/arch/arm/dts/sun8i-h3-nanopi-neo.dts index 3d64cafc1e..096ff0b5a5 100644 --- a/arch/arm/dts/sun8i-h3-nanopi-neo.dts +++ b/arch/arm/dts/sun8i-h3-nanopi-neo.dts @@ -123,3 +123,14 @@ /* USB VBUS is always on */ status = "okay"; }; + +&emac { + phy = <&phy1>; + phy-mode = "mii"; + allwinner,use-internal-phy; + allwinner,leds-active-low; + status = "okay"; + phy1: ethernet-phy@1 { + reg = <1>; + }; +}; |