diff options
| author | Andre Przywara <[email protected]> | 2017-01-14 02:06:09 +0000 |
|---|---|---|
| committer | Jagan Teki <[email protected]> | 2017-01-15 18:21:39 +0100 |
| commit | 8b15f8eb67a48a98d5c131c1d44aa78c236c064d (patch) | |
| tree | 1f89c48bca11ce8e824d588eeb1497f350694d14 | |
| parent | 485329a578edc768cdaa4081f1b8aeb29c5f44af (diff) | |
sunxi: dts: OrangePi Zero: add Ethernet node
The OrangePi Zero can happily use the EMAC along with its integrated
PHY to use Ethernet (for TFTP booting, for instance).
Add the emac node to the board .dts by copying it from the OrangePi One
DT.
Signed-off-by: Andre Przywara <[email protected]>
Acked-by: Maxime Ripard <[email protected]>
Reviewed-by: Jagan Teki <[email protected]>
| -rw-r--r-- | arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts b/arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts index 0989434074e..20d489cb2aa 100644 --- a/arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts +++ b/arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts @@ -99,6 +99,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>; |
