From: Roger Pueyo Centelles Date: Fri, 22 Oct 2021 10:19:40 +0000 (+0200) Subject: ath79: mikrotik: enable USB module on RouterBoard wAPR-2nD X-Git-Tag: v22.03.0-rc1~1171 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=c29f71ece753d55ddf19a1b87d228499e5165190;p=openwrt%2Fstaging%2Fhauke.git 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 --- 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