mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-10 03:09:08 +08:00
ramips: use proper name for RAVPower RP-WD03
The proper model name is RP-WD03 (i.e. with the RP- prefix). Adjust all names to that. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
parent
14024f6e0f
commit
a4e5b8897a
@ -6,8 +6,8 @@
|
|||||||
#include <dt-bindings/input/input.h>
|
#include <dt-bindings/input/input.h>
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
compatible = "ravpower,wd03", "ralink,mt7620n-soc";
|
compatible = "ravpower,rp-wd03", "ralink,mt7620n-soc";
|
||||||
model = "Ravpower WD03";
|
model = "RAVPower RP-WD03";
|
||||||
|
|
||||||
chosen {
|
chosen {
|
||||||
bootargs = "console=ttyS0,115200";
|
bootargs = "console=ttyS0,115200";
|
||||||
@ -17,12 +17,12 @@
|
|||||||
compatible = "gpio-leds";
|
compatible = "gpio-leds";
|
||||||
|
|
||||||
green-wifi {
|
green-wifi {
|
||||||
label = "wd03:green:wifi";
|
label = "rp-wd03:green:wifi";
|
||||||
gpios = <&gpio2 0 GPIO_ACTIVE_HIGH>;
|
gpios = <&gpio2 0 GPIO_ACTIVE_HIGH>;
|
||||||
};
|
};
|
||||||
|
|
||||||
blue-wifi {
|
blue-wifi {
|
||||||
label = "wd03:blue:wifi";
|
label = "rp-wd03:blue:wifi";
|
||||||
gpios = <&gpio3 0 GPIO_ACTIVE_HIGH>;
|
gpios = <&gpio3 0 GPIO_ACTIVE_HIGH>;
|
||||||
};
|
};
|
||||||
};
|
};
|
@ -924,15 +924,16 @@ define Device/ralink_mt7620a-v22sg-evb
|
|||||||
endef
|
endef
|
||||||
TARGET_DEVICES += ralink_mt7620a-v22sg-evb
|
TARGET_DEVICES += ralink_mt7620a-v22sg-evb
|
||||||
|
|
||||||
define Device/ravpower_wd03
|
define Device/ravpower_rp-wd03
|
||||||
SOC := mt7620n
|
SOC := mt7620n
|
||||||
IMAGE_SIZE := 7872k
|
IMAGE_SIZE := 7872k
|
||||||
DEVICE_VENDOR := Ravpower
|
DEVICE_VENDOR := RAVPower
|
||||||
DEVICE_MODEL := WD03
|
DEVICE_MODEL := RP-WD03
|
||||||
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
|
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
|
||||||
|
SUPPORTED_DEVICES += ravpower,wd03
|
||||||
DEFAULT := n
|
DEFAULT := n
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += ravpower_wd03
|
TARGET_DEVICES += ravpower_rp-wd03
|
||||||
|
|
||||||
define Device/sanlinking_d240
|
define Device/sanlinking_d240
|
||||||
SOC := mt7620a
|
SOC := mt7620a
|
||||||
|
@ -60,7 +60,7 @@ ramips_setup_interfaces()
|
|||||||
planex,cs-qr10|\
|
planex,cs-qr10|\
|
||||||
planex,mzk-ex300np|\
|
planex,mzk-ex300np|\
|
||||||
planex,mzk-ex750np|\
|
planex,mzk-ex750np|\
|
||||||
ravpower,wd03|\
|
ravpower,rp-wd03|\
|
||||||
sercomm,na930|\
|
sercomm,na930|\
|
||||||
tplink,re200-v1|\
|
tplink,re200-v1|\
|
||||||
tplink,re210-v1|\
|
tplink,re210-v1|\
|
||||||
|
@ -13,6 +13,9 @@ lenovo,newifi-y1s)
|
|||||||
netgear,wn3000rp-v3)
|
netgear,wn3000rp-v3)
|
||||||
migrate_leds "^wn3000rpv3:=wn3000rp-v3:"
|
migrate_leds "^wn3000rpv3:=wn3000rp-v3:"
|
||||||
;;
|
;;
|
||||||
|
ravpower,rp-wd03)
|
||||||
|
migrate_leds "^wd03:=rp-wd03:"
|
||||||
|
;;
|
||||||
tplink,archer-c2-v1)
|
tplink,archer-c2-v1)
|
||||||
migrate_leds "^c2-v1:=archer-c2-v1:"
|
migrate_leds "^c2-v1:=archer-c2-v1:"
|
||||||
;;
|
;;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user