mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-08 05:43:21 +09:00
![Hans de Goede](/assets/img/avatar_default.png)
Sending out 5V when there is a charger connected to the otg port is not a good idea, so check for this and error out. Note this commit currently breaks otg support on the q8h tablets, as we need to do some magic with the pmic there to get vbus info, this is deliberate (better safe then sorry), fixing this is on my TODO list. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk>
25 lines
868 B
Plaintext
25 lines
868 B
Plaintext
# The Hyundai A7HD is a 7" 16:9 A10 powered tablet featuring 1G RAM, 8G
|
|
# nand, 1024x600 IPS screen, a mini hdmi port, mini usb receptacle and a
|
|
# headphones port for details see: http://linux-sunxi.org/Hyundai_A7HD
|
|
CONFIG_SPL=y
|
|
CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER"
|
|
CONFIG_FDTFILE="sun4i-a10-hyundai-a7hd.dtb"
|
|
CONFIG_USB_MUSB_SUNXI=y
|
|
CONFIG_USB0_VBUS_PIN="PB09"
|
|
CONFIG_USB0_VBUS_DET="PH5"
|
|
CONFIG_USB1_VBUS_PIN=""
|
|
CONFIG_USB2_VBUS_PIN="PH6"
|
|
CONFIG_VIDEO_LCD_MODE="x:1024,y:600,depth:18,pclk_khz:51000,le:45,ri:274,up:22,lo:12,hs:1,vs:1,sync:3,vmode:0"
|
|
CONFIG_VIDEO_LCD_DCLK_PHASE=1
|
|
CONFIG_VIDEO_LCD_POWER="PH2"
|
|
CONFIG_VIDEO_LCD_BL_EN="PH9"
|
|
CONFIG_VIDEO_LCD_BL_PWM="PB2"
|
|
CONFIG_VIDEO_LCD_BL_PWM_ACTIVE_LOW=n
|
|
CONFIG_VIDEO_LCD_PANEL_LVDS=y
|
|
+S:CONFIG_ARM=y
|
|
+S:CONFIG_ARCH_SUNXI=y
|
|
+S:CONFIG_MACH_SUN4I=y
|
|
+S:CONFIG_DRAM_CLK=360
|
|
+S:CONFIG_DRAM_ZQ=123
|
|
+S:CONFIG_DRAM_EMR1=4
|