[U-Boot] [PATCH 2/4] sunxi: defconfig: enable sun8i emac on nanopi m1 plus
Philipp Rossak
embed3d at gmail.com
Wed Aug 30 00:32:39 UTC 2017
From: Philipp Rossak <embed3d at gmail.com>
The sun8i emac hardware is present on the Nanopi M1.
It uses an external PHY. Pin PD6 is used to enable
the external PHY.
Signed-off-by: Philipp Rossak <embed3d at gmail.com>
---
configs/nanopi_m1_plus_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/nanopi_m1_plus_defconfig b/configs/nanopi_m1_plus_defconfig
index d7a908d..e696ce3 100644
--- a/configs/nanopi_m1_plus_defconfig
+++ b/configs/nanopi_m1_plus_defconfig
@@ -4,6 +4,7 @@ CONFIG_MACH_SUN8I_H3=y
CONFIG_DRAM_CLK=408
CONFIG_DRAM_ZQ=3881979
CONFIG_DRAM_ODT_EN=y
+CONFIG_MACPWR="PD6"
CONFIG_MMC0_CD_PIN="PH13"
CONFIG_MMC_SUNXI_SLOT_EXTRA=2
CONFIG_DEFAULT_DEVICE_TREE="sun8i-h3-nanopi-m1-plus"
@@ -16,3 +17,4 @@ CONFIG_SPL=y
# CONFIG_SPL_ISO_PARTITION is not set
# CONFIG_SPL_EFI_PARTITION is not set
CONFIG_USB_EHCI_HCD=y
+CONFIG_SUN8I_EMAC=y
--
2.7.4
More information about the U-Boot
mailing list