]> git.baikalelectronics.ru Git - uboot.git/commitdiff
ARM64: rockchip: evb_rk3399: add usb ohci definations
authorArtem Lapkin <email2tema@gmail.com>
Mon, 7 Jun 2021 03:45:04 +0000 (11:45 +0800)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 18 Jun 2021 06:37:07 +0000 (14:37 +0800)
Problem: USB2.0 port can recognize any USB1.1 devices (like usb keyboard)
Add missed USB OHCI configuration

USB device tree:
  1  Hub (480 Mb/s, 0mA)
     u-boot EHCI Host Controller

  1  Hub (12 Mb/s, 0mA)
  |   U-Boot Root Hub
  |
  +-2  Human Interface (1.5 Mb/s, 100mA)
        Dell KB216 Wired Keyboard

Signed-off-by: Artem Lapkin <art@khadas.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
include/configs/evb_rk3399.h

index b7e850370b3193ef35a2026884506bad5ad00d5c..492b7b4df1281f0ed99c6c6e9cc3d689f5c558cc 100644 (file)
@@ -15,4 +15,7 @@
 
 #define SDRAM_BANK_SIZE                        (2UL << 30)
 
+#define CONFIG_USB_OHCI_NEW
+#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS     2
+
 #endif