ramips: add support for PCI based OHCI/EHCI support for F5D8235 V1
authorTobias Wolf <github-NTEO@vplace.de>
Fri, 18 Nov 2016 14:52:38 +0000 (15:52 +0100)
committerMathias Kresin <dev@kresin.me>
Sun, 4 Dec 2016 06:03:17 +0000 (07:03 +0100)
This router uses an PCI attached NEC EHCI controller to support the single USB port.

Signed-off-by: Tobias Wolf <github-NTEO@vplace.de>
target/linux/ramips/image/rt288x.mk
target/linux/ramips/rt288x/config-4.4

index 40bf6f1f2fcc552b9880e32ea08fad160dbcb267..f9584a34abfbb31e581ec3a312598f2a701908d4 100644 (file)
@@ -31,7 +31,8 @@ define Device/f5d8235v1
   DTS := F5D8235_V1
   IMAGE_SIZE := 7744k
   DEVICE_TITLE := Belkin F5D8235 V1
-  DEVICE_PACKAGES := kmod-switch-rtl8366s
+  DEVICE_PACKAGES := kmod-switch-rtl8366s kmod-usb-core kmod-usb-ohci \
+    kmod-usb-ohci-pci kmod-usb2 kmod-usb2-pci kmod-usb-ledtrig-usbport
 endef
 TARGET_DEVICES += f5d8235v1
 
index c6ecf0b96fa24d3741acbbc7c59663525b43c6fa..5f29322874d6a213d1b0ecdbd2e72ba11c918206 100644 (file)
@@ -190,6 +190,14 @@ CONFIG_SYS_SUPPORTS_ARBIT_HZ=y
 CONFIG_SYS_SUPPORTS_LITTLE_ENDIAN=y
 CONFIG_SYS_SUPPORTS_MIPS16=y
 CONFIG_TICK_CPU_ACCOUNTING=y
+CONFIG_USB=m
+CONFIG_USB_COMMON=m
+CONFIG_USB_EHCI_HCD=m
+CONFIG_USB_EHCI_HCD_PLATFORM=m
+CONFIG_USB_EHCI_PCI=m
+CONFIG_USB_OHCI_HCD=m
+CONFIG_USB_OHCI_HCD_PCI=m
+CONFIG_USB_OHCI_HCD_PLATFORM=m
 CONFIG_USB_SUPPORT=y
 CONFIG_USE_OF=y
 CONFIG_WATCHDOG_CORE=y