Skip to contentSkip to conversation

sun8i: h3: NanoPi M1 Plus: Add emac configuration

PATCH New Emmanuel Vadot 1 participant 1 message Apr 16, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sun8i: h3: NanoPi M1 Plus: Add emac configuration

NanoPi M1 plus have a 10/100/1000M ethernet with external phy. Phy power is controlled by PD6.
Add the required configuration for it.

---
 configs/nanopi_m1_plus_defconfig | 2 ++
 1 file changed, 2 insertions(+)
configs/nanopi_m1_plus_defconfig +2 -0
index b83cdf2e1c..ac5497ac2f 100644
@@ -13,6 +13,8 @@ CONFIG_NR_DRAM_BANKS=1
 # CONFIG_SPL_DOS_PARTITION is not set
 # CONFIG_SPL_EFI_PARTITION is not set
 CONFIG_DEFAULT_DEVICE_TREE="sun8i-h3-nanopi-m1-plus"
+CONFIG_MACPWR="PD6"
+CONFIG_SUN8I_EMAC=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_OHCI_HCD=y
 CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y
Signature · 1 line
2.21.0