[source] ramips: add support for PCI based OHCI/EHCI support for F5D8235 V1

LEDE Commits lede-commits at lists.infradead.org
Sat Dec 3 23:26:15 PST 2016


mkresin pushed a commit to source.git, branch master:
https://git.lede-project.org/2e020e2cef40cf14766b5269c83feccfc5b8200b

commit 2e020e2cef40cf14766b5269c83feccfc5b8200b
Author: Tobias Wolf <github-NTEO at vplace.de>
AuthorDate: Fri Nov 18 15:52:38 2016 +0100

    ramips: add support for PCI based OHCI/EHCI support for F5D8235 V1
    
    This router uses an PCI attached NEC EHCI controller to support the single USB port.
    
    Signed-off-by: Tobias Wolf <github-NTEO at vplace.de>
---
 target/linux/ramips/image/rt288x.mk   | 3 ++-
 target/linux/ramips/rt288x/config-4.4 | 8 ++++++++
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/target/linux/ramips/image/rt288x.mk b/target/linux/ramips/image/rt288x.mk
index 40bf6f1..f9584a3 100644
--- a/target/linux/ramips/image/rt288x.mk
+++ b/target/linux/ramips/image/rt288x.mk
@@ -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
 
diff --git a/target/linux/ramips/rt288x/config-4.4 b/target/linux/ramips/rt288x/config-4.4
index c6ecf0b..5f29322 100644
--- a/target/linux/ramips/rt288x/config-4.4
+++ b/target/linux/ramips/rt288x/config-4.4
@@ -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



More information about the lede-commits mailing list