[PATCH 2/4] configs: roc-pc-rk3399:fix up USB support
Manoj Sai
abbaraju.manojsai at amarulasolutions.com
Fri Sep 2 10:24:42 CEST 2022
- Fix up USB config options so keyboards and other USB devices work .
- Update the number of ports of the Usb root hub to configuration of
CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS .
USB device tree:
1 Hub (12 Mb/s, 0mA)
U-Boot Root Hub
1 Hub (12 Mb/s, 0mA)
| U-Boot Root Hub
|
+-2 Hub (12 Mb/s, 100mA)
USB 2.0 Hub [MTT]
1 Hub (5 Gb/s, 0mA)
U-Boot XHCI Host Controller
Signed-off-by: Manoj Sai <abbaraju.manojsai at amarulasolutions.com>
Signed-off-by: Da Xue <da.xue at libretech.co>
Signed-off-by: dsx724 <da at lessconfused.com>
---
configs/roc-pc-rk3399_defconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/configs/roc-pc-rk3399_defconfig b/configs/roc-pc-rk3399_defconfig
index 84e82da3cf..ffd809687b 100644
--- a/configs/roc-pc-rk3399_defconfig
+++ b/configs/roc-pc-rk3399_defconfig
@@ -76,6 +76,9 @@ CONFIG_USB_XHCI_HCD=y
CONFIG_USB_XHCI_DWC3=y
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_EHCI_GENERIC=y
+CONFIG_USB_OHCI_HCD=y
+CONFIG_USB_OHCI_GENERIC=y
+CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS=2
CONFIG_USB_DWC3=y
CONFIG_USB_DWC3_GENERIC=y
CONFIG_USB_KEYBOARD=y
--
2.25.1
More information about the U-Boot
mailing list