summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZiyang Huang2026-01-08 14:38:46 +0000
committerChristian Marangi2026-05-27 15:55:08 +0000
commitab4c7d6af71a576571e6ab57d73072dbf7733072 (patch)
tree56892438e2768a1a2dc8e394ce4c928a2b502c04
parentca4a3dde42b97f948304f489352f1c1049d2b6bd (diff)
downloadopenwrt-ab4c7d6af71a576571e6ab57d73072dbf7733072.tar.gz
airoha: an7581: enable USB support
The an7581.dtsi contains the mediatek,mtk-xhci device. Signed-off-by: Ziyang Huang <hzyitc@outlook.com> Link: https://github.com/openwrt/openwrt/pull/21460 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> (cherry picked from commit f8a6798bf38c3d3e6fe6af9367ea5628df46429a) [ fix conflict error ] Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
-rw-r--r--package/kernel/linux/modules/usb.mk1
-rw-r--r--target/linux/airoha/an7581/config-6.61
2 files changed, 2 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk
index 481d2be59a..e65d8aeba2 100644
--- a/package/kernel/linux/modules/usb.mk
+++ b/package/kernel/linux/modules/usb.mk
@@ -1805,6 +1805,7 @@ define KernelPackage/usb3
TITLE:=Support for USB3 controllers
DEPENDS:= \
+kmod-usb-xhci-hcd \
+ +TARGET_airoha_an7581:kmod-usb-xhci-mtk \
+TARGET_bcm53xx:kmod-usb-bcma \
+TARGET_bcm53xx:kmod-phy-bcm-ns-usb3 \
+TARGET_ramips_mt7621:kmod-usb-xhci-mtk \
diff --git a/target/linux/airoha/an7581/config-6.6 b/target/linux/airoha/an7581/config-6.6
index d158370d28..bee09f238b 100644
--- a/target/linux/airoha/an7581/config-6.6
+++ b/target/linux/airoha/an7581/config-6.6
@@ -376,6 +376,7 @@ CONFIG_TREE_RCU=y
CONFIG_TREE_SRCU=y
CONFIG_UBIFS_FS=y
# CONFIG_UNMAP_KERNEL_AT_EL0 is not set
+CONFIG_USB_SUPPORT=y
CONFIG_VMAP_STACK=y
CONFIG_WANT_DEV_COREDUMP=y
CONFIG_WATCHDOG_CORE=y