From: Tobias Wolf Date: Fri, 18 Nov 2016 14:52:38 +0000 (+0100) Subject: ramips: add support for PCI based OHCI/EHCI support for F5D8235 V1 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=2e020e2cef40cf14766b5269c83feccfc5b8200b;p=openwrt%2Fstaging%2Frobimarko.git 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 --- diff --git a/target/linux/ramips/image/rt288x.mk b/target/linux/ramips/image/rt288x.mk index 40bf6f1f2f..f9584a34ab 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 c6ecf0b96f..5f29322874 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