mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 15:32:33 +00:00
brcm63xx: move CPVA502+ to dts
Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 44990
This commit is contained in:
parent
46b4d4d1d5
commit
582dfc52f5
@ -192,6 +192,9 @@ brcm63xx_dt_detect() {
|
||||
"TECOM GW6200")
|
||||
board_name="g6200"
|
||||
;;
|
||||
"Telsey CVPA502+")
|
||||
board_name="cpva502p"
|
||||
;;
|
||||
"Telsey CPVA642-type (CPA-ZNTE60T)")
|
||||
board_name="cpva642"
|
||||
;;
|
||||
@ -216,9 +219,6 @@ brcm63xx_legacy_detect() {
|
||||
local board_name
|
||||
|
||||
case "$1" in
|
||||
CPVA502+)
|
||||
board_name="cpva502p"
|
||||
;;
|
||||
MAGIC)
|
||||
board_name="magic"
|
||||
;;
|
||||
|
44
target/linux/brcm63xx/dts/cpva502plus.dts
Normal file
44
target/linux/brcm63xx/dts/cpva502plus.dts
Normal file
@ -0,0 +1,44 @@
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "bcm6348.dtsi"
|
||||
|
||||
/ {
|
||||
model = "Telsey CPVA502+";
|
||||
compatible = "telsey,cpva502+", "brcm,bcm6348";
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
power_green {
|
||||
label = "CPVA502+:green:phone";
|
||||
gpios = <&gpio0 0 1>;
|
||||
};
|
||||
|
||||
status {
|
||||
label = "CPVA502+:amber:link";
|
||||
gpios = <&gpio0 1 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pflash {
|
||||
status = "ok";
|
||||
|
||||
linux,part-probe = "bcm63xxpart";
|
||||
|
||||
cfe@0 {
|
||||
label = "CFE";
|
||||
reg = <0x000000 0x010000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
linux@10000 {
|
||||
label = "linux";
|
||||
reg = <0x010000 0x3e0000>;
|
||||
};
|
||||
|
||||
nvram@3f0000 {
|
||||
label = "nvram";
|
||||
reg = <0x3f0000 0x010000>;
|
||||
};
|
||||
};
|
@ -368,6 +368,8 @@ $(eval $(call ImageDTB,CFEDTB,SPW500V,SPW500V,spw500v,96348GW,6348))
|
||||
$(eval $(call ImageDTB,CFEDTB,GW6000,GW6000,gw6000,96348GW,6348))
|
||||
# Tecom GW6200
|
||||
$(eval $(call ImageDTB,CFEDTB,GW6200,GW6200,gw6200,96348GW,6348,--rsa-signature "$(shell printf '\x99')"))
|
||||
# Telsey CPVA502+
|
||||
$(eval $(call ImageDTB,Dummy,CPVA502PLUS,CVPA502PLUS,cpva502plus,CPVA502+,6348,--signature "Telsey Tlc" --signature2 "99.99.999" --second-image-flag "0"))
|
||||
# Telsey CPVA642-type (e.g. CPA-ZNTE60T)
|
||||
$(eval $(call ImageDTB,CFEDTB,CPVA642,CPA-ZNTE60T,cpva642,CPVA642,6358,--signature "Telsey Tlc" --signature2 "99.99.999" --second-image-flag "0" --pad 4))
|
||||
# TP-Link TD-W8900GB
|
||||
|
@ -36,3 +36,11 @@
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_BCM63XX_CPU_6358
|
||||
@@ -1216,6 +1238,7 @@ static struct of_device_id const bcm963x
|
||||
{ .compatible = "t-com,spw500v", .data = &board_spw500v, },
|
||||
{ .compatible = "tecom,gw6000", .data = &board_gw6000, },
|
||||
{ .compatible = "tecom,gw6200", .data = &board_gw6200, },
|
||||
+ { .compatible = "telsey,cpva502+", .data = &board_CPVA502plus, },
|
||||
{ .compatible = "tp-link,td-w8900gb", .data = &board_96348gw_11, },
|
||||
{ .compatible = "usr,9108", .data = &board_96348gw_a, },
|
||||
#endif
|
||||
|
@ -81,7 +81,7 @@ Subject: [PATCH 32/63] bcm63xx: add support for 96368MVWG board.
|
||||
};
|
||||
|
||||
static struct of_device_id const bcm963xx_boards_dt[] = {
|
||||
@@ -1258,6 +1315,7 @@ static struct of_device_id const bcm963x
|
||||
@@ -1259,6 +1316,7 @@ static struct of_device_id const bcm963x
|
||||
{ .compatible = "telsey,cpva642", .data = &board_CPVA642, },
|
||||
#endif
|
||||
#ifdef CONFIG_BCM63XX_CPU_6368
|
||||
|
@ -64,7 +64,7 @@ Subject: [PATCH 33/63] bcm63xx: add support for 96368MVNgr board.
|
||||
#endif
|
||||
};
|
||||
|
||||
@@ -1315,6 +1356,7 @@ static struct of_device_id const bcm963x
|
||||
@@ -1316,6 +1357,7 @@ static struct of_device_id const bcm963x
|
||||
{ .compatible = "telsey,cpva642", .data = &board_CPVA642, },
|
||||
#endif
|
||||
#ifdef CONFIG_BCM63XX_CPU_6368
|
||||
|
@ -40,7 +40,7 @@
|
||||
&board_HW553,
|
||||
&board_spw303v,
|
||||
#endif
|
||||
@@ -1475,6 +1501,7 @@ static struct of_device_id const bcm963x
|
||||
@@ -1476,6 +1502,7 @@ static struct of_device_id const bcm963x
|
||||
{ .compatible = "alcatel,rg100a", .data = &board_96358vw2, },
|
||||
{ .compatible = "brcm,bcm96358vw", .data = &board_96358vw, },
|
||||
{ .compatible = "brcm,bcm96358vw2", .data = &board_96358vw2, },
|
||||
|
@ -45,7 +45,7 @@
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_BCM63XX_CPU_6368
|
||||
@@ -1504,6 +1535,7 @@ static struct of_device_id const bcm963x
|
||||
@@ -1505,6 +1536,7 @@ static struct of_device_id const bcm963x
|
||||
{ .compatible = "comtrend,ct-6373", .data = &board_ct6373_1, },
|
||||
{ .compatible = "d-link,dsl-274xb-c2", .data = &board_dsl_274xb_rev_c, },
|
||||
{ .compatible = "d-link,dsl-2650u", .data = &board_96358vw2, },
|
||||
|
@ -100,7 +100,7 @@
|
||||
#ifdef CONFIG_BCM63XX_CPU_6368
|
||||
&board_96368mvwg,
|
||||
&board_96368mvngr,
|
||||
@@ -1546,6 +1618,9 @@ static struct of_device_id const bcm963x
|
||||
@@ -1547,6 +1619,9 @@ static struct of_device_id const bcm963x
|
||||
{ .compatible = "t-com,spw303v", .data = &board_spw303v, },
|
||||
{ .compatible = "telsey,cpva642", .data = &board_CPVA642, },
|
||||
#endif
|
||||
|
@ -112,7 +112,7 @@
|
||||
&board_spw303v,
|
||||
&board_DVAG3810BN,
|
||||
#endif
|
||||
@@ -1856,6 +1947,9 @@ static struct of_device_id const bcm963x
|
||||
@@ -1857,6 +1948,9 @@ static struct of_device_id const bcm963x
|
||||
{ .compatible = "d-link,dsl-2650u", .data = &board_96358vw2, },
|
||||
{ .compatible = "d-link,dva-g3810bn/tl", .data = &board_DVAG3810BN, },
|
||||
{ .compatible = "huawei,hg553", .data = &board_HW553, },
|
||||
|
@ -58,7 +58,7 @@ Signed-off-by: Max Staudt <openwrt.max@enpas.org>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_BCM63XX_CPU_6368
|
||||
@@ -2055,6 +2093,7 @@ static struct of_device_id const bcm963x
|
||||
@@ -2056,6 +2094,7 @@ static struct of_device_id const bcm963x
|
||||
{ .compatible = "telsey,cpva642", .data = &board_CPVA642, },
|
||||
#endif
|
||||
#ifdef CONFIG_BCM63XX_CPU_6362
|
||||
|
@ -75,7 +75,7 @@
|
||||
&board_963269bhr,
|
||||
&board_vw6339gu,
|
||||
#endif
|
||||
@@ -2237,6 +2298,7 @@ static struct of_device_id const bcm963x
|
||||
@@ -2238,6 +2299,7 @@ static struct of_device_id const bcm963x
|
||||
{ .compatible = "brcm,bcm96368mvwg", .data = &board_96368mvwg, },
|
||||
#endif
|
||||
#ifdef CONFIG_BCM63XX_CPU_63268
|
||||
|
@ -84,7 +84,7 @@
|
||||
#endif
|
||||
#ifdef CONFIG_BCM63XX_CPU_63268
|
||||
&board_963268bu_p300,
|
||||
@@ -2296,6 +2358,7 @@ static struct of_device_id const bcm963x
|
||||
@@ -2297,6 +2359,7 @@ static struct of_device_id const bcm963x
|
||||
#ifdef CONFIG_BCM63XX_CPU_6368
|
||||
{ .compatible = "brcm,bcm96368mvngr", .data = &board_96368mvngr, },
|
||||
{ .compatible = "brcm,bcm96368mvwg", .data = &board_96368mvwg, },
|
||||
|
@ -69,7 +69,7 @@
|
||||
&board_WAP5813n,
|
||||
#endif
|
||||
#ifdef CONFIG_BCM63XX_CPU_63268
|
||||
@@ -2358,6 +2413,7 @@ static struct of_device_id const bcm963x
|
||||
@@ -2359,6 +2414,7 @@ static struct of_device_id const bcm963x
|
||||
#ifdef CONFIG_BCM63XX_CPU_6368
|
||||
{ .compatible = "brcm,bcm96368mvngr", .data = &board_96368mvngr, },
|
||||
{ .compatible = "brcm,bcm96368mvwg", .data = &board_96368mvwg, },
|
||||
|
@ -69,7 +69,7 @@
|
||||
&board_WAP5813n,
|
||||
#endif
|
||||
#ifdef CONFIG_BCM63XX_CPU_63268
|
||||
@@ -2414,6 +2469,7 @@ static struct of_device_id const bcm963x
|
||||
@@ -2415,6 +2470,7 @@ static struct of_device_id const bcm963x
|
||||
{ .compatible = "brcm,bcm96368mvngr", .data = &board_96368mvngr, },
|
||||
{ .compatible = "brcm,bcm96368mvwg", .data = &board_96368mvwg, },
|
||||
{ .compatible = "comtrend,vr-3025u", .data = &board_VR3025u, },
|
||||
|
@ -58,7 +58,7 @@
|
||||
&board_VR3025u,
|
||||
&board_VR3025un,
|
||||
&board_WAP5813n,
|
||||
@@ -2471,6 +2515,7 @@ static struct of_device_id const bcm963x
|
||||
@@ -2472,6 +2516,7 @@ static struct of_device_id const bcm963x
|
||||
{ .compatible = "comtrend,vr-3025u", .data = &board_VR3025u, },
|
||||
{ .compatible = "comtrend,vr-3025un", .data = &board_VR3025un, },
|
||||
{ .compatible = "comtrend,wap-5813n", .data = &board_WAP5813n, },
|
||||
|
@ -46,7 +46,7 @@
|
||||
&board_HW553,
|
||||
&board_HW556_A,
|
||||
&board_HW556_B,
|
||||
@@ -2492,6 +2524,7 @@ static struct of_device_id const bcm963x
|
||||
@@ -2493,6 +2525,7 @@ static struct of_device_id const bcm963x
|
||||
{ .compatible = "d-link,dsl-274xb-c2", .data = &board_dsl_274xb_rev_c, },
|
||||
{ .compatible = "d-link,dsl-2650u", .data = &board_96358vw2, },
|
||||
{ .compatible = "d-link,dva-g3810bn/tl", .data = &board_DVAG3810BN, },
|
||||
|
@ -57,7 +57,7 @@
|
||||
&board_P870HW51A_V2,
|
||||
&board_VR3025u,
|
||||
&board_VR3025un,
|
||||
@@ -2730,6 +2773,7 @@ static struct of_device_id const bcm963x
|
||||
@@ -2731,6 +2774,7 @@ static struct of_device_id const bcm963x
|
||||
{ .compatible = "comtrend,vr-3025u", .data = &board_VR3025u, },
|
||||
{ .compatible = "comtrend,vr-3025un", .data = &board_VR3025un, },
|
||||
{ .compatible = "comtrend,wap-5813n", .data = &board_WAP5813n, },
|
||||
|
@ -36,3 +36,11 @@
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_BCM63XX_CPU_6358
|
||||
@@ -1216,6 +1238,7 @@ static struct of_device_id const bcm963x
|
||||
{ .compatible = "t-com,spw500v", .data = &board_spw500v, },
|
||||
{ .compatible = "tecom,gw6000", .data = &board_gw6000, },
|
||||
{ .compatible = "tecom,gw6200", .data = &board_gw6200, },
|
||||
+ { .compatible = "telsey,cpva502+", .data = &board_CPVA502plus, },
|
||||
{ .compatible = "tp-link,td-w8900gb", .data = &board_96348gw_11, },
|
||||
{ .compatible = "usr,9108", .data = &board_96348gw_a, },
|
||||
#endif
|
||||
|
@ -81,7 +81,7 @@ Subject: [PATCH 32/63] bcm63xx: add support for 96368MVWG board.
|
||||
};
|
||||
|
||||
static struct of_device_id const bcm963xx_boards_dt[] = {
|
||||
@@ -1258,6 +1315,7 @@ static struct of_device_id const bcm963x
|
||||
@@ -1259,6 +1316,7 @@ static struct of_device_id const bcm963x
|
||||
{ .compatible = "telsey,cpva642", .data = &board_CPVA642, },
|
||||
#endif
|
||||
#ifdef CONFIG_BCM63XX_CPU_6368
|
||||
|
@ -64,7 +64,7 @@ Subject: [PATCH 33/63] bcm63xx: add support for 96368MVNgr board.
|
||||
#endif
|
||||
};
|
||||
|
||||
@@ -1315,6 +1356,7 @@ static struct of_device_id const bcm963x
|
||||
@@ -1316,6 +1357,7 @@ static struct of_device_id const bcm963x
|
||||
{ .compatible = "telsey,cpva642", .data = &board_CPVA642, },
|
||||
#endif
|
||||
#ifdef CONFIG_BCM63XX_CPU_6368
|
||||
|
@ -40,7 +40,7 @@
|
||||
&board_HW553,
|
||||
&board_spw303v,
|
||||
#endif
|
||||
@@ -1475,6 +1501,7 @@ static struct of_device_id const bcm963x
|
||||
@@ -1476,6 +1502,7 @@ static struct of_device_id const bcm963x
|
||||
{ .compatible = "alcatel,rg100a", .data = &board_96358vw2, },
|
||||
{ .compatible = "brcm,bcm96358vw", .data = &board_96358vw, },
|
||||
{ .compatible = "brcm,bcm96358vw2", .data = &board_96358vw2, },
|
||||
|
@ -45,7 +45,7 @@
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_BCM63XX_CPU_6368
|
||||
@@ -1504,6 +1535,7 @@ static struct of_device_id const bcm963x
|
||||
@@ -1505,6 +1536,7 @@ static struct of_device_id const bcm963x
|
||||
{ .compatible = "comtrend,ct-6373", .data = &board_ct6373_1, },
|
||||
{ .compatible = "d-link,dsl-274xb-c2", .data = &board_dsl_274xb_rev_c, },
|
||||
{ .compatible = "d-link,dsl-2650u", .data = &board_96358vw2, },
|
||||
|
@ -100,7 +100,7 @@
|
||||
#ifdef CONFIG_BCM63XX_CPU_6368
|
||||
&board_96368mvwg,
|
||||
&board_96368mvngr,
|
||||
@@ -1546,6 +1618,9 @@ static struct of_device_id const bcm963x
|
||||
@@ -1547,6 +1619,9 @@ static struct of_device_id const bcm963x
|
||||
{ .compatible = "t-com,spw303v", .data = &board_spw303v, },
|
||||
{ .compatible = "telsey,cpva642", .data = &board_CPVA642, },
|
||||
#endif
|
||||
|
@ -112,7 +112,7 @@
|
||||
&board_spw303v,
|
||||
&board_DVAG3810BN,
|
||||
#endif
|
||||
@@ -1856,6 +1947,9 @@ static struct of_device_id const bcm963x
|
||||
@@ -1857,6 +1948,9 @@ static struct of_device_id const bcm963x
|
||||
{ .compatible = "d-link,dsl-2650u", .data = &board_96358vw2, },
|
||||
{ .compatible = "d-link,dva-g3810bn/tl", .data = &board_DVAG3810BN, },
|
||||
{ .compatible = "huawei,hg553", .data = &board_HW553, },
|
||||
|
@ -58,7 +58,7 @@ Signed-off-by: Max Staudt <openwrt.max@enpas.org>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_BCM63XX_CPU_6368
|
||||
@@ -2055,6 +2093,7 @@ static struct of_device_id const bcm963x
|
||||
@@ -2056,6 +2094,7 @@ static struct of_device_id const bcm963x
|
||||
{ .compatible = "telsey,cpva642", .data = &board_CPVA642, },
|
||||
#endif
|
||||
#ifdef CONFIG_BCM63XX_CPU_6362
|
||||
|
@ -75,7 +75,7 @@
|
||||
&board_963269bhr,
|
||||
&board_vw6339gu,
|
||||
#endif
|
||||
@@ -2237,6 +2298,7 @@ static struct of_device_id const bcm963x
|
||||
@@ -2238,6 +2299,7 @@ static struct of_device_id const bcm963x
|
||||
{ .compatible = "brcm,bcm96368mvwg", .data = &board_96368mvwg, },
|
||||
#endif
|
||||
#ifdef CONFIG_BCM63XX_CPU_63268
|
||||
|
@ -84,7 +84,7 @@
|
||||
#endif
|
||||
#ifdef CONFIG_BCM63XX_CPU_63268
|
||||
&board_963268bu_p300,
|
||||
@@ -2296,6 +2358,7 @@ static struct of_device_id const bcm963x
|
||||
@@ -2297,6 +2359,7 @@ static struct of_device_id const bcm963x
|
||||
#ifdef CONFIG_BCM63XX_CPU_6368
|
||||
{ .compatible = "brcm,bcm96368mvngr", .data = &board_96368mvngr, },
|
||||
{ .compatible = "brcm,bcm96368mvwg", .data = &board_96368mvwg, },
|
||||
|
@ -69,7 +69,7 @@
|
||||
&board_WAP5813n,
|
||||
#endif
|
||||
#ifdef CONFIG_BCM63XX_CPU_63268
|
||||
@@ -2358,6 +2413,7 @@ static struct of_device_id const bcm963x
|
||||
@@ -2359,6 +2414,7 @@ static struct of_device_id const bcm963x
|
||||
#ifdef CONFIG_BCM63XX_CPU_6368
|
||||
{ .compatible = "brcm,bcm96368mvngr", .data = &board_96368mvngr, },
|
||||
{ .compatible = "brcm,bcm96368mvwg", .data = &board_96368mvwg, },
|
||||
|
@ -69,7 +69,7 @@
|
||||
&board_WAP5813n,
|
||||
#endif
|
||||
#ifdef CONFIG_BCM63XX_CPU_63268
|
||||
@@ -2414,6 +2469,7 @@ static struct of_device_id const bcm963x
|
||||
@@ -2415,6 +2470,7 @@ static struct of_device_id const bcm963x
|
||||
{ .compatible = "brcm,bcm96368mvngr", .data = &board_96368mvngr, },
|
||||
{ .compatible = "brcm,bcm96368mvwg", .data = &board_96368mvwg, },
|
||||
{ .compatible = "comtrend,vr-3025u", .data = &board_VR3025u, },
|
||||
|
@ -58,7 +58,7 @@
|
||||
&board_VR3025u,
|
||||
&board_VR3025un,
|
||||
&board_WAP5813n,
|
||||
@@ -2471,6 +2515,7 @@ static struct of_device_id const bcm963x
|
||||
@@ -2472,6 +2516,7 @@ static struct of_device_id const bcm963x
|
||||
{ .compatible = "comtrend,vr-3025u", .data = &board_VR3025u, },
|
||||
{ .compatible = "comtrend,vr-3025un", .data = &board_VR3025un, },
|
||||
{ .compatible = "comtrend,wap-5813n", .data = &board_WAP5813n, },
|
||||
|
@ -46,7 +46,7 @@
|
||||
&board_HW553,
|
||||
&board_HW556_A,
|
||||
&board_HW556_B,
|
||||
@@ -2492,6 +2524,7 @@ static struct of_device_id const bcm963x
|
||||
@@ -2493,6 +2525,7 @@ static struct of_device_id const bcm963x
|
||||
{ .compatible = "d-link,dsl-274xb-c2", .data = &board_dsl_274xb_rev_c, },
|
||||
{ .compatible = "d-link,dsl-2650u", .data = &board_96358vw2, },
|
||||
{ .compatible = "d-link,dva-g3810bn/tl", .data = &board_DVAG3810BN, },
|
||||
|
@ -57,7 +57,7 @@
|
||||
&board_P870HW51A_V2,
|
||||
&board_VR3025u,
|
||||
&board_VR3025un,
|
||||
@@ -2730,6 +2773,7 @@ static struct of_device_id const bcm963x
|
||||
@@ -2731,6 +2774,7 @@ static struct of_device_id const bcm963x
|
||||
{ .compatible = "comtrend,vr-3025u", .data = &board_VR3025u, },
|
||||
{ .compatible = "comtrend,vr-3025un", .data = &board_VR3025un, },
|
||||
{ .compatible = "comtrend,wap-5813n", .data = &board_WAP5813n, },
|
||||
|
@ -41,7 +41,7 @@
|
||||
&board_HW520,
|
||||
&board_HW553,
|
||||
&board_HW556_A,
|
||||
@@ -2762,6 +2789,7 @@ static struct of_device_id const bcm963x
|
||||
@@ -2763,6 +2790,7 @@ static struct of_device_id const bcm963x
|
||||
{ .compatible = "sfr,nb4-fxc-r1", .data = &board_nb4_fxc_r1, },
|
||||
{ .compatible = "t-com,spw303v", .data = &board_spw303v, },
|
||||
{ .compatible = "telsey,cpva642", .data = &board_CPVA642, },
|
||||
|
@ -5,6 +5,15 @@
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
define Profile/CPVA502PLUS
|
||||
NAME:=Telsey CPVA502+
|
||||
PACKAGES:=kmod-b43 wpad-mini
|
||||
endef
|
||||
define Profile/CPVA502PLUS/Description
|
||||
Package set optimized for CPVA502+.
|
||||
endef
|
||||
$(eval $(call Profile,CPVA502PLUS))
|
||||
|
||||
define Profile/CPVA642
|
||||
NAME:=Telsey CPVA642-type (CPA-ZNTE60T)
|
||||
PACKAGES:=kmod-rt61-pci wpad-mini\
|
||||
|
Loading…
Reference in New Issue
Block a user