mirror of
https://github.com/smaeul/u-boot.git
synced 2025-09-12 04:56:02 +01:00
Update boards to use the USB power supply driver, as referenced in the device tree, instead of a virtual GPIO. This removes the need for some DM-incompatible special cases in the GPIO driver. The following six boards used AXP0-VBUS-DETECT in their config, but are missing the "usb0_vbus_power-supply" property in their device tree: - Ainol_AW1_defconfig / sun7i-a20-ainol-aw1 - Cubieboard4_defconfig / sun9i-a80-cubieboard4 - Merrii_A80_Optimus_defconfig / sun9i-a80-optimus - Nintendo_NES_Classic_Edition_defconfig / sun8i-r16-nintendo-nes-classic-edition - Yones_Toptech_BD1078_defconfig / sun7i-a20-yones-toptech-bd1078 - Yones_Toptech_BS1078_V2_defconfig / sun6i-a31s-yones-toptech-bs1078-v2 None of those six boards have the MUSB controller (USB OTG) enabled in their device trees, so this change should not break anything for them. Signed-off-by: Samuel Holland <samuel@sholland.org>
26 lines
662 B
Plaintext
26 lines
662 B
Plaintext
CONFIG_ARM=y
|
|
CONFIG_ARCH_SUNXI=y
|
|
CONFIG_DEFAULT_DEVICE_TREE="sun8i-r16-nintendo-nes-classic"
|
|
CONFIG_SPL=y
|
|
CONFIG_MACH_SUN8I_A33=y
|
|
CONFIG_DRAM_CLK=600
|
|
CONFIG_DRAM_ZQ=15291
|
|
CONFIG_DRAM_ODT_EN=y
|
|
CONFIG_REGULATOR_AXP_USB_POWER=y
|
|
CONFIG_AXP_GPIO=y
|
|
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
|
# CONFIG_CMD_FLASH is not set
|
|
CONFIG_CMD_MTDPARTS=y
|
|
# CONFIG_MMC is not set
|
|
CONFIG_MTD=y
|
|
CONFIG_MTD_RAW_NAND=y
|
|
CONFIG_SYS_NAND_BLOCK_SIZE=0x20000
|
|
CONFIG_SYS_NAND_ONFI_DETECTION=y
|
|
CONFIG_SYS_NAND_PAGE_SIZE=0x800
|
|
CONFIG_SYS_NAND_OOBSIZE=0x40
|
|
CONFIG_AXP_DLDO1_VOLT=3300
|
|
CONFIG_AXP_ELDO2_VOLT=1800
|
|
CONFIG_CONS_INDEX=5
|
|
CONFIG_USB_MUSB_GADGET=y
|
|
CONFIG_USB_FUNCTION_MASS_STORAGE=y
|