ipq40xx: rename AC1200 to LEGUANG CA100
Don’t have this device, but we should use the original manufacturer’s name as much as possible.
This commit is contained in:
parent
8944671444
commit
54fbf1d711
@ -33,7 +33,7 @@ ALLWIFIBOARDS:= \
|
||||
ezviz_cs-w3-wd1200g-eup \
|
||||
glinet_gl-s1300 \
|
||||
hiwifi_c526a \
|
||||
hugo_ac1200 \
|
||||
leguang_ca100 \
|
||||
linksys_ea8300 \
|
||||
mobipromo_cm520-79f \
|
||||
p2w_r619ac \
|
||||
@ -112,7 +112,7 @@ $(eval $(call generate-ipq-wifi-package,engenius_emr3500,EnGenius EMR3500))
|
||||
$(eval $(call generate-ipq-wifi-package,ezviz_cs-w3-wd1200g-eup,EZVIZ CS-W3-WD1200G EUP))
|
||||
$(eval $(call generate-ipq-wifi-package,glinet_gl-s1300,GL.iNet GL-S1300))
|
||||
$(eval $(call generate-ipq-wifi-package,hiwifi_c526a,HiWiFi C526A))
|
||||
$(eval $(call generate-ipq-wifi-package,hugo_ac1200,Hugo AC1200))
|
||||
$(eval $(call generate-ipq-wifi-package,leguang_ca100,LEGUANG CA100))
|
||||
$(eval $(call generate-ipq-wifi-package,linksys_ea8300,Linksys EA8300))
|
||||
$(eval $(call generate-ipq-wifi-package,mobipromo_cm520-79f,MobiPromo CM520-79F))
|
||||
$(eval $(call generate-ipq-wifi-package,p2w_r619ac,P&W R619AC))
|
||||
|
||||
@ -60,7 +60,7 @@ engenius,ens620ext)
|
||||
ucidef_set_led_switch "lan1" "LAN1" "${boardname}:green:lan1" "switch0" "0x10"
|
||||
ucidef_set_led_switch "lan2" "LAN2" "${boardname}:green:lan2" "switch0" "0x20"
|
||||
;;
|
||||
hugo,ac1200)
|
||||
leguang,ca100)
|
||||
ucidef_set_led_default "green" "GREEN" "${boardname}:green:ctrl1" "1"
|
||||
ucidef_set_led_default "red" "RED" "${boardname}:red:ctrl2" "1"
|
||||
ucidef_set_led_default "blue" "BLUE" "${boardname}:blue:ctrl3" "1"
|
||||
|
||||
@ -81,7 +81,7 @@ ipq40xx_setup_interfaces()
|
||||
ucidef_add_switch "switch0" \
|
||||
"0t@eth0" "2:lan" "3:lan" "4:lan" "5:wan"
|
||||
;;
|
||||
hugo,ac1200)
|
||||
leguang,ca100)
|
||||
ucidef_add_switch "switch0" \
|
||||
"0t@eth0" "5:wan" "3:lan"
|
||||
;;
|
||||
|
||||
@ -193,7 +193,7 @@ case "$FIRMWARE" in
|
||||
compex,wpj428 |\
|
||||
engenius,eap1300 |\
|
||||
engenius,eap2200 |\
|
||||
hugo,ac1200 |\
|
||||
leguang,ca100 |\
|
||||
openmesh,a42 |\
|
||||
openmesh,a62 |\
|
||||
qxwlan,e2600ac-c1 |\
|
||||
@ -296,7 +296,7 @@ case "$FIRMWARE" in
|
||||
compex,wpj428 |\
|
||||
engenius,eap1300 |\
|
||||
engenius,eap2200 |\
|
||||
hugo,ac1200 |\
|
||||
leguang,ca100 |\
|
||||
openmesh,a42 |\
|
||||
openmesh,a62 |\
|
||||
qxwlan,e2600ac-c1 |\
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
||||
/*
|
||||
* Copyright (c) 2019 Hugo Yuan <hugolxq@gmail.com>
|
||||
*/
|
||||
@ -8,8 +9,8 @@
|
||||
#include <dt-bindings/soc/qcom,tcsr.h>
|
||||
|
||||
/ {
|
||||
model = "Hugo AC1200";
|
||||
compatible = "hugo,ac1200", "qcom,ipq4019";
|
||||
model = "LEGUANG CA100";
|
||||
compatible = "leguang,ca100", "qcom,ipq4019";
|
||||
|
||||
memory {
|
||||
device_type = "memory";
|
||||
@ -132,17 +133,17 @@
|
||||
compatible = "gpio-leds";
|
||||
|
||||
led1 {
|
||||
label = "ac1200:green:ctrl1";
|
||||
label = "ca100:green:ctrl1";
|
||||
gpios = <&tlmm 44 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
led2 {
|
||||
label = "ac1200:red:ctrl2";
|
||||
label = "ca100:red:ctrl2";
|
||||
gpios = <&tlmm 45 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
power: led3 {
|
||||
label = "ac1200:blue:ctrl3";
|
||||
label = "ca100:blue:ctrl3";
|
||||
gpios = <&tlmm 46 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
};
|
||||
@ -492,7 +492,6 @@ define Device/glinet_gl-b1300
|
||||
DEVICE_MODEL := GL-B1300
|
||||
BOARD_NAME := gl-b1300
|
||||
DEVICE_DTS := qcom-ipq4029-gl-b1300
|
||||
BOARD_NAME := gl-b1300
|
||||
KERNEL_SIZE := 4096k
|
||||
IMAGE_SIZE := 26624k
|
||||
IMAGE/sysupgrade.bin := append-kernel |append-rootfs | pad-rootfs | append-metadata
|
||||
@ -530,18 +529,17 @@ define Device/hiwifi_c526a-128m
|
||||
endef
|
||||
TARGET_DEVICES += hiwifi_c526a-128m
|
||||
|
||||
define Device/hugo_ac1200
|
||||
define Device/leguang_ca100
|
||||
$(call Device/FitImage)
|
||||
DEVICE_VENDOR := Hugo
|
||||
DEVICE_MODEL := AC1200
|
||||
BOARD_NAME := hugo_ac1200
|
||||
DEVICE_DTS := qcom-ipq4019-hugo-ac1200
|
||||
DEVICE_VENDOR := LEGUANG
|
||||
DEVICE_MODEL := CA100
|
||||
DEVICE_DTS := qcom-ipq4019-ca100
|
||||
KERNEL_SIZE := 4096k
|
||||
IMAGE_SIZE := 31232k
|
||||
IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs | append-metadata
|
||||
DEVICE_PACKAGES := ipq-wifi-hugo_ac1200
|
||||
DEVICE_PACKAGES := ipq-wifi-leguang_ca100
|
||||
endef
|
||||
TARGET_DEVICES += hugo_ac1200
|
||||
TARGET_DEVICES += leguang_ca100
|
||||
|
||||
define Device/linksys_ea6350v3
|
||||
# The Linksys EA6350v3 has a uboot bootloader that does not
|
||||
|
||||
@ -37,10 +37,10 @@ Signed-off-by: John Crispin <john@phrozen.org>
|
||||
+ qcom-ipq4019-a62.dtb \
|
||||
+ qcom-ipq4019-c526a.dtb \
|
||||
+ qcom-ipq4019-c526a-128m.dtb \
|
||||
+ qcom-ipq4019-ca100.dtb \
|
||||
+ qcom-ipq4019-cm520-79f.dtb \
|
||||
+ qcom-ipq4019-ea8300.dtb \
|
||||
+ qcom-ipq4019-eap2200.dtb \
|
||||
+ qcom-ipq4019-hugo-ac1200.dtb \
|
||||
+ qcom-ipq4019-fritzbox-7530.dtb \
|
||||
+ qcom-ipq4019-fritzrepeater-1200.dtb \
|
||||
+ qcom-ipq4019-fritzrepeater-3000.dtb \
|
||||
|
||||
@ -40,10 +40,10 @@ Signed-off-by: John Crispin <john@phrozen.org>
|
||||
+ qcom-ipq4019-a62.dtb \
|
||||
+ qcom-ipq4019-c526a.dtb \
|
||||
+ qcom-ipq4019-c526a-128m.dtb \
|
||||
+ qcom-ipq4019-ca100.dtb \
|
||||
+ qcom-ipq4019-cm520-79f.dtb \
|
||||
+ qcom-ipq4019-ea8300.dtb \
|
||||
+ qcom-ipq4019-eap2200.dtb \
|
||||
+ qcom-ipq4019-hugo-ac1200.dtb \
|
||||
+ qcom-ipq4019-fritzbox-7530.dtb \
|
||||
+ qcom-ipq4019-fritzrepeater-1200.dtb \
|
||||
+ qcom-ipq4019-fritzrepeater-3000.dtb \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user