From c29f71ece753d55ddf19a1b87d228499e5165190 Mon Sep 17 00:00:00 2001 From: Roger Pueyo Centelles Date: Fri, 22 Oct 2021 12:19:40 +0200 Subject: [PATCH] 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 --- .../ath79/dts/qca9533_mikrotik_routerboard-wapr-2nd.dts | 8 ++++++++ target/linux/ath79/image/mikrotik.mk | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) 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 -- 2.30.2