diff options
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/ramips/dts/mt7620n_ravpower_rp-wd03.dts (renamed from target/linux/ramips/dts/mt7620n_ravpower_wd03.dts) | 8 | ||||
-rw-r--r-- | target/linux/ramips/image/mt7620.mk | 9 | ||||
-rwxr-xr-x | target/linux/ramips/mt7620/base-files/etc/board.d/02_network | 2 | ||||
-rw-r--r-- | target/linux/ramips/mt7620/base-files/etc/uci-defaults/04_led_migration | 3 |
4 files changed, 13 insertions, 9 deletions
diff --git a/target/linux/ramips/dts/mt7620n_ravpower_wd03.dts b/target/linux/ramips/dts/mt7620n_ravpower_rp-wd03.dts index f67f186be1..31ecd4dd85 100644 --- a/target/linux/ramips/dts/mt7620n_ravpower_wd03.dts +++ b/target/linux/ramips/dts/mt7620n_ravpower_rp-wd03.dts @@ -6,8 +6,8 @@ #include <dt-bindings/input/input.h> / { - compatible = "ravpower,wd03", "ralink,mt7620n-soc"; - model = "Ravpower WD03"; + compatible = "ravpower,rp-wd03", "ralink,mt7620n-soc"; + model = "RAVPower RP-WD03"; chosen { bootargs = "console=ttyS0,115200"; @@ -17,12 +17,12 @@ compatible = "gpio-leds"; green-wifi { - label = "wd03:green:wifi"; + label = "rp-wd03:green:wifi"; gpios = <&gpio2 0 GPIO_ACTIVE_HIGH>; }; blue-wifi { - label = "wd03:blue:wifi"; + label = "rp-wd03:blue:wifi"; gpios = <&gpio3 0 GPIO_ACTIVE_HIGH>; }; }; diff --git a/target/linux/ramips/image/mt7620.mk b/target/linux/ramips/image/mt7620.mk index 5b9dd16bce..a3a468324b 100644 --- a/target/linux/ramips/image/mt7620.mk +++ b/target/linux/ramips/image/mt7620.mk @@ -924,15 +924,16 @@ define Device/ralink_mt7620a-v22sg-evb endef TARGET_DEVICES += ralink_mt7620a-v22sg-evb -define Device/ravpower_wd03 +define Device/ravpower_rp-wd03 SOC := mt7620n IMAGE_SIZE := 7872k - DEVICE_VENDOR := Ravpower - DEVICE_MODEL := WD03 + DEVICE_VENDOR := RAVPower + DEVICE_MODEL := RP-WD03 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci + SUPPORTED_DEVICES += ravpower,wd03 DEFAULT := n endef -TARGET_DEVICES += ravpower_wd03 +TARGET_DEVICES += ravpower_rp-wd03 define Device/sanlinking_d240 SOC := mt7620a diff --git a/target/linux/ramips/mt7620/base-files/etc/board.d/02_network b/target/linux/ramips/mt7620/base-files/etc/board.d/02_network index 3c77e6ad30..3fdd42bbff 100755 --- a/target/linux/ramips/mt7620/base-files/etc/board.d/02_network +++ b/target/linux/ramips/mt7620/base-files/etc/board.d/02_network @@ -60,7 +60,7 @@ ramips_setup_interfaces() planex,cs-qr10|\ planex,mzk-ex300np|\ planex,mzk-ex750np|\ - ravpower,wd03|\ + ravpower,rp-wd03|\ sercomm,na930|\ tplink,re200-v1|\ tplink,re210-v1|\ diff --git a/target/linux/ramips/mt7620/base-files/etc/uci-defaults/04_led_migration b/target/linux/ramips/mt7620/base-files/etc/uci-defaults/04_led_migration index 16ccd5cfef..0f2e08cf7f 100644 --- a/target/linux/ramips/mt7620/base-files/etc/uci-defaults/04_led_migration +++ b/target/linux/ramips/mt7620/base-files/etc/uci-defaults/04_led_migration @@ -13,6 +13,9 @@ lenovo,newifi-y1s) netgear,wn3000rp-v3) migrate_leds "^wn3000rpv3:=wn3000rp-v3:" ;; +ravpower,rp-wd03) + migrate_leds "^wd03:=rp-wd03:" + ;; tplink,archer-c2-v1) migrate_leds "^c2-v1:=archer-c2-v1:" ;; |