aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorRoger Pueyo Centelles <roger.pueyo@guifi.net>2021-10-22 12:19:40 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2021-11-20 21:08:21 +0100
commitc29f71ece753d55ddf19a1b87d228499e5165190 (patch)
tree4936f7b1ca16d905766300507d97a643867af2a4 /target/linux
parente900779e6f15a3a00a2f9003dd68a43aa0ef88e8 (diff)
downloadupstream-c29f71ece753d55ddf19a1b87d228499e5165190.tar.gz
upstream-c29f71ece753d55ddf19a1b87d228499e5165190.tar.bz2
upstream-c29f71ece753d55ddf19a1b87d228499e5165190.zip
ath79: mikrotik: enable USB module on RouterBoard wAPR-2nD
The MikroTik RouterBOARD wAPR-2nD (wAP R) router features a miniPCI-e slot with USB lines connected, which are used by some USB cards with miniPCI-e form factor, like the R11e-LR8. Enabling USB support is required for such cards to work. Tested on a MikroTik wAP LR8 kit (RB wAPR-2nD + R11e-LR8). Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ath79/dts/qca9533_mikrotik_routerboard-wapr-2nd.dts8
-rw-r--r--target/linux/ath79/image/mikrotik.mk2
2 files changed, 9 insertions, 1 deletions
diff --git a/target/linux/ath79/dts/qca9533_mikrotik_routerboard-wapr-2nd.dts b/target/linux/ath79/dts/qca9533_mikrotik_routerboard-wapr-2nd.dts
index 459fc04e6c..49756f3336 100644
--- a/target/linux/ath79/dts/qca9533_mikrotik_routerboard-wapr-2nd.dts
+++ b/target/linux/ath79/dts/qca9533_mikrotik_routerboard-wapr-2nd.dts
@@ -68,3 +68,11 @@
&pcie0 {
status = "okay";
};
+
+&usb0 {
+ status = "okay";
+};
+
+&usb_phy {
+ status = "okay";
+};
diff --git a/target/linux/ath79/image/mikrotik.mk b/target/linux/ath79/image/mikrotik.mk
index 2324ecc195..095a1cbc84 100644
--- a/target/linux/ath79/image/mikrotik.mk
+++ b/target/linux/ath79/image/mikrotik.mk
@@ -69,7 +69,7 @@ define Device/mikrotik_routerboard-wapr-2nd
$(Device/mikrotik_nor)
SOC := qca9533
DEVICE_MODEL := RouterBOARD wAPR-2nD (wAP R)
- DEVICE_PACKAGES += rssileds
+ DEVICE_PACKAGES += kmod-usb2 rssileds
IMAGE_SIZE := 16256k
endef
TARGET_DEVICES += mikrotik_routerboard-wapr-2nd