mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-10 23:03:29 +09:00
![Hans de Goede](/assets/img/avatar_default.png)
It turns out that there is a too large spread between boards to handle this with a default value, turn this into Kconfig options, and set the values the factory images are using for the Colombus and Mele_M9 boards. Note this changes the ZQ default when not overriden through defconfig from 120 to 123, as that is what most boards seem to actually use. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk>
23 lines
561 B
Plaintext
23 lines
561 B
Plaintext
CONFIG_SPL=y
|
|
CONFIG_SYS_EXTRA_OPTIONS="USB_EHCI,SUNXI_GMAC"
|
|
CONFIG_FDTFILE="sun6i-a31-m9.dtb"
|
|
+S:CONFIG_ARM=y
|
|
+S:CONFIG_ARCH_SUNXI=y
|
|
+S:CONFIG_MACH_SUN6I=y
|
|
+S:CONFIG_TARGET_MELE_M9=y
|
|
+S:CONFIG_DRAM_CLK=312
|
|
+S:CONFIG_DRAM_ZQ=120
|
|
# Ethernet phy power
|
|
+S:CONFIG_AXP221_DLDO1_VOLT=3300
|
|
# USB hub power
|
|
+S:CONFIG_AXP221_DLDO4_VOLT=3300
|
|
# Wifi power
|
|
+S:CONFIG_AXP221_ALDO1_VOLT=3300
|
|
# HDMI power ?
|
|
+S:CONFIG_AXP221_ALDO2_VOLT=1800
|
|
+S:CONFIG_AXP221_ALDO3_VOLT=3000
|
|
# Vbus gpio for usb1
|
|
+S:CONFIG_USB1_VBUS_PIN="PC27"
|
|
# No Vbus gpio for usb2
|
|
+S:CONFIG_USB2_VBUS_PIN=""
|