diff options
author | Andre Przywara <andre.przywara@arm.com> | 2023-11-25 17:43:16 +0000 |
---|---|---|
committer | Andre Przywara <andre.przywara@arm.com> | 2023-12-06 23:08:37 +0000 |
commit | cb3e29805c52c50be04b0792eeb2d5f47f245e15 (patch) | |
tree | a1311ead3cbc1f2f11e063168935ffad7a17296e /configs | |
parent | 2f0282922b2c458eea7f85c500a948a587437b63 (diff) | |
download | u-boot-cb3e29805c52c50be04b0792eeb2d5f47f245e15.zip u-boot-cb3e29805c52c50be04b0792eeb2d5f47f245e15.tar.gz u-boot-cb3e29805c52c50be04b0792eeb2d5f47f245e15.tar.bz2 |
sunxi: H616: OrangePi Zero 2: enable USB power supply
The OrangePi Zero 2 has a USB VBUS regulator, controlled by pin PC16.
This is correctly described in the DT, but the patches for supporting
this are still pending.
Meanwhile add our good old CONFIG_USB1_VBUS_PIN to the defconfig file,
to enable power on the USB port and allow using a USB flash drive, for
instance.
Fixes: 6acc5fa581b4 ("sunxi: H616: enable USB support for H616 boards")
Reported-by: Mikhail Kalashnikov <iuncuim@gmail.com>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'configs')
-rw-r--r-- | configs/orangepi_zero2_defconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/orangepi_zero2_defconfig b/configs/orangepi_zero2_defconfig index f13735e..50009e8 100644 --- a/configs/orangepi_zero2_defconfig +++ b/configs/orangepi_zero2_defconfig @@ -8,6 +8,7 @@ CONFIG_DRAM_SUN50I_H616_CA_DRI=0x0e0e CONFIG_DRAM_SUN50I_H616_TPR10=0xf83438 CONFIG_MACH_SUN50I_H616=y CONFIG_SUNXI_DRAM_H616_DDR3_1333=y +CONFIG_USB1_VBUS_PIN="PC16" CONFIG_R_I2C_ENABLE=y CONFIG_SPL_SPI_SUNXI=y # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set |