mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-27 07:01:24 +00:00
1262a85fe3
The dcdc1 voltage is typically used as generic 3.3V IO voltage for things like GPIO-s, sdcard interfaces, etc. On most boards this is undervolted to 3.0V to safe battery, but not on all, make it configurable so that we can use the same settings as the original firmware on all boards. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk>
21 lines
552 B
Text
21 lines
552 B
Text
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
|
|
# The Mele M9 uses 3.3V for general IO
|
|
+S:CONFIG_AXP221_DCDC1_VOLT=3300
|
|
# 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
|
|
# Vbus gpio for usb1
|
|
+S:CONFIG_USB1_VBUS_PIN="PC27"
|
|
# No Vbus gpio for usb2
|
|
+S:CONFIG_USB2_VBUS_PIN=""
|