mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-09 22:33:28 +09:00
![Hans de Goede](/assets/img/avatar_default.png)
Now that we've everything prepared for it remove the DM settings from the defconfig(s) and simply always set them for sunxi. This makes all sunxi boards allways use the driver model for gpios and ethernet, and allows us to move over more bits to the driver-model without the need to introduce #ifdef-ery for boards which are not yet using DM. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Ian Campbell <ijc@hellion.org.uk>
28 lines
754 B
Plaintext
28 lines
754 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_DEFAULT_DEVICE_TREE="sun6i-a31-i7"
|
|
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
|