diff options
author | Emmanuel Vadot <manu@freebsd.org> | 2019-04-16 19:18:03 +0200 |
---|---|---|
committer | Jagan Teki <jagan@amarulasolutions.com> | 2019-05-20 22:37:35 +0530 |
commit | c598c4837d782f6d9481f4be07ae5d679c6df976 (patch) | |
tree | 452db4174ff0861ba249b3160b697aa2a56b9794 /configs | |
parent | ee61c168bdc2732a5be1770dc5785693228fd5be (diff) | |
download | u-boot-c598c4837d782f6d9481f4be07ae5d679c6df976.tar.gz u-boot-c598c4837d782f6d9481f4be07ae5d679c6df976.tar.xz u-boot-c598c4837d782f6d9481f4be07ae5d679c6df976.zip |
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.
Signed-off-by: Emmanuel Vadot <manu@freebsd.org>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
Diffstat (limited to 'configs')
-rw-r--r-- | configs/nanopi_m1_plus_defconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configs/nanopi_m1_plus_defconfig b/configs/nanopi_m1_plus_defconfig index ad94d58831..90edbd9b06 100644 --- a/configs/nanopi_m1_plus_defconfig +++ b/configs/nanopi_m1_plus_defconfig @@ -4,6 +4,7 @@ CONFIG_NR_DRAM_BANKS=1 CONFIG_SPL=y CONFIG_MACH_SUN8I_H3=y CONFIG_DRAM_CLK=408 +CONFIG_MACPWR="PD6" CONFIG_MMC0_CD_PIN="PH13" CONFIG_MMC_SUNXI_SLOT_EXTRA=2 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set @@ -12,6 +13,7 @@ CONFIG_SPL_TEXT_BASE=0x60 # CONFIG_SPL_DOS_PARTITION is not set # CONFIG_SPL_EFI_PARTITION is not set CONFIG_DEFAULT_DEVICE_TREE="sun8i-h3-nanopi-m1-plus" +CONFIG_SUN8I_EMAC=y CONFIG_USB_EHCI_HCD=y CONFIG_USB_OHCI_HCD=y CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y |