summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorTobias Wolf <github-NTEO@vplace.de>2016-11-18 15:52:38 +0100
committerMathias Kresin <dev@kresin.me>2016-12-04 07:03:17 +0100
commit2e020e2cef40cf14766b5269c83feccfc5b8200b (patch)
tree0f9119ce472dfa0120e12013e6305e3782d85504 /target
parent13c0d208b23ef82f870b55d965326f313bdbc27b (diff)
downloadmtk-20170518-2e020e2cef40cf14766b5269c83feccfc5b8200b.zip
mtk-20170518-2e020e2cef40cf14766b5269c83feccfc5b8200b.tar.gz
mtk-20170518-2e020e2cef40cf14766b5269c83feccfc5b8200b.tar.bz2
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@vplace.de>
Diffstat (limited to 'target')
-rw-r--r--target/linux/ramips/image/rt288x.mk3
-rw-r--r--target/linux/ramips/rt288x/config-4.48
2 files changed, 10 insertions, 1 deletions
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