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 /arch/arm | |
parent | 7f73ca484f792a0d2a7ee09860c32f3d02b3030d (diff) | |
download | u-boot-imx-2fc554d3e37c27c5b8d2540d7a571dc53152a301.zip u-boot-imx-2fc554d3e37c27c5b8d2540d7a571dc53152a301.tar.gz u-boot-imx-2fc554d3e37c27c5b8d2540d7a571dc53152a301.tar.bz2 |
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>
Diffstat (limited to 'arch/arm')
-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 3d64caf..096ff0b 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>; + }; +}; |