mirror of
https://github.com/edk2-porting/edk2-rk3588.git
synced 2025-06-03 06:30:23 +00:00
Platform/ROCK5A: Enable vcc_5v0
USB 2.0 ports were not working. Fixes #35
This commit is contained in:
parent
784d85ffd5
commit
6eeff5000d
@ -192,12 +192,14 @@ UsbPortPowerEnable (
|
||||
)
|
||||
{
|
||||
DEBUG((EFI_D_WARN, "UsbPortPowerEnable called\n"));
|
||||
|
||||
|
||||
/* vcc5v0_host */
|
||||
GpioPinSetDirection (4, GPIO_PIN_PB5, GPIO_PIN_OUTPUT);
|
||||
GpioPinWrite (4, GPIO_PIN_PB5, TRUE);
|
||||
|
||||
GpioPinSetDirection (0, GPIO_PIN_PD4, GPIO_PIN_OUTPUT);
|
||||
GpioPinWrite (0, GPIO_PIN_PD4, TRUE);
|
||||
/* vcc_5v0 */
|
||||
GpioPinSetDirection (4, GPIO_PIN_PA3, GPIO_PIN_OUTPUT);
|
||||
GpioPinWrite (4, GPIO_PIN_PA3, TRUE);
|
||||
}
|
||||
|
||||
VOID
|
||||
|
Loading…
Reference in New Issue
Block a user