ef48f6dd30
Move this to Kconfig and clean up board config files that use it. Also rename it to CONFIG_ETH_DESIGNWARE to fit with the naming that exists in drivers/net/Kconfig. Signed-off-by: Simon Glass <sjg@chromium.org> Version 1: Acked-by: Joe Hershberger <joe.hershberger@ni.com>
30 lines
779 B
Plaintext
30 lines
779 B
Plaintext
# The Mele I7 is a Allwinner based Android TV box.
|
|
#
|
|
# It features a A31 SOC, 1G RAM, 8GB NAND, HDMI out, A/V out,
|
|
# SPDIF, IrDA, 3 USB A, 1 USB micro OTG and Wireless LAN.
|
|
#
|
|
# For more details see: http://linux-sunxi.org/Mele_I7
|
|
CONFIG_SPL=y
|
|
CONFIG_SYS_EXTRA_OPTIONS="USB_EHCI,SUNXI_GMAC"
|
|
CONFIG_FDTFILE="sun6i-a31-i7.dtb"
|
|
CONFIG_ARM=y
|
|
CONFIG_ARCH_SUNXI=y
|
|
CONFIG_MACH_SUN6I=y
|
|
CONFIG_DRAM_CLK=312
|
|
CONFIG_DRAM_ZQ=120
|
|
# The Mele I7 uses 3.3V for general IO
|
|
CONFIG_AXP221_DCDC1_VOLT=3300
|
|
# Ethernet phy power
|
|
CONFIG_AXP221_DLDO1_VOLT=3300
|
|
# USB hub power
|
|
CONFIG_AXP221_DLDO4_VOLT=3300
|
|
# Wifi power
|
|
CONFIG_AXP221_ALDO1_VOLT=3300
|
|
# Vbus gpio for usb1
|
|
CONFIG_USB1_VBUS_PIN="PC27"
|
|
# No Vbus gpio for usb2
|
|
CONFIG_USB2_VBUS_PIN=""
|
|
CONFIG_ETH_DESIGNWARE=y
|
|
CONFIG_NETDEVICES=y
|
|
CONFIG_NET=y
|