Commit 8b15f8eb67a48a98d5c131c1d44aa78c236c064d
Committed by
Jagan Teki
1 parent
485329a578
Exists in
smarc_8mq_lf_v2020.04
and in
22 other branches
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 <andre.przywara@arm.com> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com> Reviewed-by: Jagan Teki <jagan@openedev.com>
Showing 1 changed file with 11 additions and 0 deletions Side-by-side Diff
arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts
... | ... | @@ -99,6 +99,17 @@ |
99 | 99 | status = "okay"; |
100 | 100 | }; |
101 | 101 | |
102 | +&emac { | |
103 | + phy = <&phy1>; | |
104 | + phy-mode = "mii"; | |
105 | + allwinner,use-internal-phy; | |
106 | + allwinner,leds-active-low; | |
107 | + status = "okay"; | |
108 | + phy1: ethernet-phy@1 { | |
109 | + reg = <1>; | |
110 | + }; | |
111 | +}; | |
112 | + | |
102 | 113 | &mmc0 { |
103 | 114 | pinctrl-names = "default"; |
104 | 115 | pinctrl-0 = <&mmc0_pins_a>; |