brcm63xx: move RTA770(B)W to dts

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 44992
This commit is contained in:
Jonas Gorski 2015-03-25 15:36:12 +00:00
parent 0e4c1ba284
commit 10cdfd04e6
48 changed files with 323 additions and 265 deletions

View file

@ -114,6 +114,12 @@ brcm63xx_dt_detect() {
"D-Link DVA-G3810BN/TL")
board_name="dva-g3810bn"
;;
"Dynalink RTA770BW")
board_name="rta770bw"
;;
"Dynalink RTA770W")
board_name="rta770w"
;;
"Dynalink RTA1025W")
board_name="rta1025w"
;;
@ -222,12 +228,6 @@ brcm63xx_legacy_detect() {
local board_name
case "$1" in
RTA770BW)
board_name="rta770bw"
;;
RTA770W)
board_name="rta770w"
;;
V2110)
board_name="v2110"
;;

View file

@ -0,0 +1,68 @@
/dts-v1/;
/include/ "bcm6345.dtsi"
/ {
model = "Siemens Gigaset SE515";
compatible = "dynalink,rta770bw", "brcm,bcm6345";
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
debounce-interval = <60>;
reset {
label = "reset";
gpios = <&gpio0 13 1>;
linux,code = <0x198>;
};
};
gpio-leds {
compatible = "gpio-leds";
usb {
label = "RTA770BW:green:usb";
gpios = <&gpio0 7 1>;
};
adsl {
label = "RTA770BW:green:adsl";
gpios = <&gpio0 8 0>;
};
diag {
label = "RTA770BW:green:diag";
gpios = <&gpio0 10 1>;
};
wlan {
label = "RTA770BW:green:wlan";
gpios = <&gpio0 11 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>;
};
};

View file

@ -0,0 +1,68 @@
/dts-v1/;
/include/ "bcm6345.dtsi"
/ {
model = "Dynalink RTA770W";
compatible = "dynalink,rta770w", "brcm,bcm6345";
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
debounce-interval = <60>;
reset {
label = "reset";
gpios = <&gpio0 13 1>;
linux,code = <0x198>;
};
};
gpio-leds {
compatible = "gpio-leds";
usb {
label = "RTA770W:green:usb";
gpios = <&gpio0 7 1>;
};
adsl {
label = "RTA770W:green:adsl";
gpios = <&gpio0 8 0>;
};
diag {
label = "RTA770W:green:diag";
gpios = <&gpio0 10 1>;
};
wlan {
label = "RTA770W:green:wlan";
gpios = <&gpio0 11 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>;
};
};

View file

@ -314,6 +314,10 @@ $(eval $(call ImageDTB,CFEDTB,DSL274XB_F,DSL274XB-F1-AU,dsl-274xb-f,AW4339U,6328
$(eval $(call ImageDTB,CFEDTB,DVAG3810BN,DVAG3810BN,dva-g3810bn_tl,96358VW,6358))
# Davolink DV-201AMR
$(eval $(call ImageDTB,OLDCFEDTB,DV201AMR,DV-201AMR,dv-201amr,DV201AMR,6348))
# Dynalink RTA770BW (Siemens SE515)
$(eval $(call ImageDTB,Dummy,RTA770BW,RTA770BW,rta770bw,RTA770BW,6345,--layoutver 5))
# Dynalink RTA770W
$(eval $(call ImageDTB,Dummy,RTA770W,RTA770W,rta770w,RTA770W,6345,--layoutver 5))
# Dynalink RTA1025W (numerous routers)
$(eval $(call ImageDTB,CFEDTB,RTA1025W,RTA1025W_16,rta1025w,RTA1025W_16,6348,--layoutver 5))
# Dynalink RTA1320 (numerous routers)

View file

@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -524,6 +524,55 @@ static struct board_info __initdata boar
@@ -524,6 +524,22 @@ static struct board_info __initdata boar
.has_uart0 = 1,
};
@ -19,44 +19,11 @@
+ .force_speed_100 = 1,
+ .force_duplex_full = 1,
+ },
+
+ .leds = {
+ {
+ .name = "RTA770BW:green:usb",
+ .gpio = 7,
+ .active_low = 1,
+ },
+ {
+ .name = "RTA770BW:green:adsl",
+ .gpio = 8,
+ },
+ {
+ .name = "RTA770BW:green:diag",
+ .gpio = 10,
+ .active_low = 1,
+ },
+ {
+ .name = "RTA770BW:green:wlan",
+ .gpio = 11,
+ .active_low = 1,
+ },
+ },
+
+ .buttons = {
+ {
+ .desc = "reset",
+ .gpio = 13,
+ .type = EV_KEY,
+ .code = KEY_RESTART,
+ .active_low = 1,
+ .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
+ },
+ },
+};
#endif /* CONFIG_BCM63XX_CPU_6345 */
/*
@@ -1665,6 +1714,7 @@ static const struct board_info __initcon
@@ -1665,6 +1681,7 @@ static const struct board_info __initcon
#endif
#ifdef CONFIG_BCM63XX_CPU_6345
&board_96345gw2,
@ -64,3 +31,11 @@
#endif
#ifdef CONFIG_BCM63XX_CPU_6348
&board_96348r,
@@ -1735,6 +1752,7 @@ static struct of_device_id const bcm963x
#endif
#ifdef CONFIG_BCM63XX_CPU_6345
{ .compatible = "brcm,bcm96345gw2", .data = &board_96345gw2, },
+ { .compatible = "dynalink,rta770bw", .data = &board_rta770bw, },
#endif
#ifdef CONFIG_BCM63XX_CPU_6348
{ .compatible = "belkin,f5d7633", .data = &board_96348gw_10, },

View file

@ -8,7 +8,7 @@
#include <linux/platform_device.h>
#include <linux/rtl8367.h>
#include <asm/addrspace.h>
@@ -1489,6 +1490,93 @@ static struct board_info __initdata boar
@@ -1456,6 +1457,93 @@ static struct board_info __initdata boar
},
};
@ -102,7 +102,7 @@
/* T-Home Speedport W 303V Typ B */
static struct board_info __initdata board_spw303v = {
.name = "96358-502V",
@@ -1750,6 +1838,9 @@ static const struct board_info __initcon
@@ -1717,6 +1805,9 @@ static const struct board_info __initcon
&board_nb4_fxc_r1,
&board_ct6373_1,
&board_HW553,
@ -112,7 +112,7 @@
&board_spw303v,
&board_DVAG3810BN,
#endif
@@ -1820,6 +1911,9 @@ static struct of_device_id const bcm963x
@@ -1788,6 +1879,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, },

View file

@ -1,7 +1,7 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -574,6 +574,60 @@ static struct board_info __initdata boar
},
@@ -541,6 +541,27 @@ static struct board_info __initdata boar
.force_duplex_full = 1,
},
};
+
@ -24,44 +24,11 @@
+ .force_speed_100 = 1,
+ .force_duplex_full = 1,
+ },
+
+ .leds = {
+ {
+ .name = "RTA770W:green:usb",
+ .gpio = 7,
+ .active_low = 1,
+ },
+ {
+ .name = "RTA770W:green:adsl",
+ .gpio = 8,
+ },
+ {
+ .name = "RTA770W:green:diag",
+ .gpio = 10,
+ .active_low = 1,
+ },
+ {
+ .name = "RTA770W:green:wlan",
+ .gpio = 11,
+ .active_low = 1,
+ },
+ },
+
+ .buttons = {
+ {
+ .desc = "reset",
+ .gpio = 13,
+ .type = EV_KEY,
+ .code = KEY_RESTART,
+ .active_low = 1,
+ .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
+ },
+ },
+};
#endif /* CONFIG_BCM63XX_CPU_6345 */
/*
@@ -1803,6 +1857,7 @@ static const struct board_info __initcon
@@ -1770,6 +1791,7 @@ static const struct board_info __initcon
#ifdef CONFIG_BCM63XX_CPU_6345
&board_96345gw2,
&board_rta770bw,
@ -69,3 +36,11 @@
#endif
#ifdef CONFIG_BCM63XX_CPU_6348
&board_96348r,
@@ -1844,6 +1866,7 @@ static struct of_device_id const bcm963x
#ifdef CONFIG_BCM63XX_CPU_6345
{ .compatible = "brcm,bcm96345gw2", .data = &board_96345gw2, },
{ .compatible = "dynalink,rta770bw", .data = &board_rta770bw, },
+ { .compatible = "dynalink,rta770w", .data = &board_rta770w, },
#endif
#ifdef CONFIG_BCM63XX_CPU_6348
{ .compatible = "belkin,f5d7633", .data = &board_96348gw_10, },

View file

@ -57,7 +57,7 @@ Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com>
#endif /* CONFIG_BCM63XX_CPU_6328 */
/*
@@ -1847,6 +1885,7 @@ static const struct board_info __initcon
@@ -1781,6 +1819,7 @@ static const struct board_info __initcon
&board_963281TAN,
&board_A4001N1,
&board_dsl_274xb_f1,
@ -65,7 +65,7 @@ Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com>
#endif
#ifdef CONFIG_BCM63XX_CPU_6338
&board_96338gw,
@@ -1922,6 +1961,7 @@ static struct of_device_id const bcm963x
@@ -1856,6 +1895,7 @@ static struct of_device_id const bcm963x
{ .compatible = "comtrend,ar-5381u", .data = &board_AR5381u, },
{ .compatible = "comtrend,ar-5387un", .data = &board_AR5387un, },
{ .compatible = "d-link,dsl-274xb-f", .data = &board_dsl_274xb_f1, },

View file

@ -6,7 +6,7 @@ Signed-off-by: Max Staudt <openwrt.max@enpas.org>
---
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -1776,6 +1776,43 @@ static struct board_info __initdata boar
@@ -1710,6 +1710,43 @@ static struct board_info __initdata boar
.devs = nb6_devices,
.num_devs = ARRAY_SIZE(nb6_devices),
};
@ -50,7 +50,7 @@ Signed-off-by: Max Staudt <openwrt.max@enpas.org>
#endif /* CONFIG_BCM63XX_CPU_6362 */
/*
@@ -1941,6 +1978,7 @@ static const struct board_info __initcon
@@ -1875,6 +1912,7 @@ static const struct board_info __initcon
#ifdef CONFIG_BCM63XX_CPU_6362
&board_nb6,
@ -58,7 +58,7 @@ Signed-off-by: Max Staudt <openwrt.max@enpas.org>
#endif
#ifdef CONFIG_BCM63XX_CPU_6368
@@ -2019,6 +2057,7 @@ static struct of_device_id const bcm963x
@@ -1955,6 +1993,7 @@ static struct of_device_id const bcm963x
{ .compatible = "telsey,cpva642", .data = &board_CPVA642, },
#endif
#ifdef CONFIG_BCM63XX_CPU_6362

View file

@ -132,7 +132,7 @@ Subject: [PATCH] MIPS: BCM63XX: remove leds and buttons
};
static struct board_info __initdata board_96338w2_e7t = {
@@ -685,36 +590,6 @@ static struct board_info __initdata boar
@@ -619,36 +524,6 @@ static struct board_info __initdata boar
.has_phy = 1,
.use_internal_phy = 1,
},
@ -169,7 +169,7 @@ Subject: [PATCH] MIPS: BCM63XX: remove leds and buttons
};
static struct board_info __initdata board_96348gw_10 = {
@@ -747,35 +622,6 @@ static struct board_info __initdata boar
@@ -681,35 +556,6 @@ static struct board_info __initdata boar
.cs = 2,
.ext_irq = 2,
},
@ -205,7 +205,7 @@ Subject: [PATCH] MIPS: BCM63XX: remove leds and buttons
};
static struct board_info __initdata board_96348gw_11 = {
@@ -802,35 +648,6 @@ static struct board_info __initdata boar
@@ -736,35 +582,6 @@ static struct board_info __initdata boar
.has_ohci0 = 1,
.has_pccard = 1,
.has_ehci0 = 1,
@ -241,7 +241,7 @@ Subject: [PATCH] MIPS: BCM63XX: remove leds and buttons
};
@@ -954,35 +771,6 @@ static struct board_info __initdata boar
@@ -888,35 +705,6 @@ static struct board_info __initdata boar
.ext_irq = 2,
.cs = 2,
},
@ -277,7 +277,7 @@ Subject: [PATCH] MIPS: BCM63XX: remove leds and buttons
};
static struct board_info __initdata board_gw6200 = {
@@ -1309,33 +1097,6 @@ static struct board_info __initdata boar
@@ -1243,33 +1031,6 @@ static struct board_info __initdata boar
.has_ohci0 = 1,
.has_pccard = 1,
.has_ehci0 = 1,
@ -311,7 +311,7 @@ Subject: [PATCH] MIPS: BCM63XX: remove leds and buttons
};
static struct board_info __initdata board_96358vw2 = {
@@ -1363,29 +1124,6 @@ static struct board_info __initdata boar
@@ -1297,29 +1058,6 @@ static struct board_info __initdata boar
.has_pccard = 1,
.has_ehci0 = 1,
.num_usbh_ports = 2,

View file

@ -11,7 +11,7 @@
.force_speed_100 = 1,
.force_duplex_full = 1,
},
@@ -607,6 +611,8 @@ static struct board_info __initdata boar
@@ -541,6 +545,8 @@ static struct board_info __initdata boar
.use_internal_phy = 1,
},
.enet1 = {
@ -20,7 +20,7 @@
.force_speed_100 = 1,
.force_duplex_full = 1,
},
@@ -640,6 +646,8 @@ static struct board_info __initdata boar
@@ -574,6 +580,8 @@ static struct board_info __initdata boar
},
.enet1 = {
@ -29,7 +29,7 @@
.force_speed_100 = 1,
.force_duplex_full = 1,
},
@@ -787,6 +795,8 @@ static struct board_info __initdata boar
@@ -721,6 +729,8 @@ static struct board_info __initdata boar
.use_internal_phy = 1,
},
.enet1 = {
@ -38,7 +38,7 @@
.force_speed_100 = 1,
.force_duplex_full = 1,
},
@@ -849,6 +859,8 @@ static struct board_info __initdata boar
@@ -783,6 +793,8 @@ static struct board_info __initdata boar
},
.enet1 = {
@ -47,7 +47,7 @@
.force_speed_100 = 1,
.force_duplex_full = 1,
},
@@ -890,6 +902,8 @@ static struct board_info __initdata boar
@@ -824,6 +836,8 @@ static struct board_info __initdata boar
.use_internal_phy = 1,
},
.enet1 = {
@ -56,7 +56,7 @@
.force_speed_100 = 1,
.force_duplex_full = 1,
},
@@ -912,6 +926,8 @@ static struct board_info __initdata boar
@@ -846,6 +860,8 @@ static struct board_info __initdata boar
.use_internal_phy = 1,
},
.enet1 = {
@ -65,7 +65,7 @@
.force_speed_100 = 1,
.force_duplex_full = 1,
},
@@ -932,6 +948,8 @@ static struct board_info __initdata boar
@@ -866,6 +882,8 @@ static struct board_info __initdata boar
.use_internal_phy = 1,
},
.enet1 = {
@ -74,7 +74,7 @@
.force_speed_100 = 1,
.force_duplex_full = 1,
},
@@ -1115,6 +1133,8 @@ static struct board_info __initdata boar
@@ -1049,6 +1067,8 @@ static struct board_info __initdata boar
},
.enet1 = {
@ -83,7 +83,7 @@
.force_speed_100 = 1,
.force_duplex_full = 1,
},
@@ -1186,6 +1206,12 @@ static struct board_info __initdata boar
@@ -1120,6 +1140,12 @@ static struct board_info __initdata boar
},
.enet1 = {

View file

@ -94,7 +94,7 @@
* known 6328 boards
*/
#ifdef CONFIG_BCM63XX_CPU_6328
@@ -1679,6 +1766,9 @@ static const struct board_info __initcon
@@ -1613,6 +1700,9 @@ static const struct board_info __initcon
#ifdef CONFIG_BCM63XX_CPU_3368
&board_cvg834g,
#endif

View file

@ -95,7 +95,7 @@
#endif /* CONFIG_BCM63XX_CPU_6318 */
/*
@@ -1768,6 +1856,7 @@ static const struct board_info __initcon
@@ -1702,6 +1790,7 @@ static const struct board_info __initcon
#endif
#ifdef CONFIG_BCM63XX_CPU_6318
&board_96318ref,

View file

@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -1848,6 +1848,75 @@ static struct board_info __initdata boar
@@ -1782,6 +1782,75 @@ static struct board_info __initdata boar
#endif /* CONFIG_BCM63XX_CPU_6368 */
/*
@ -76,7 +76,7 @@
* all boards
*/
static const struct board_info __initconst *bcm963xx_boards[] = {
@@ -1928,6 +1997,9 @@ static const struct board_info __initcon
@@ -1862,6 +1931,9 @@ static const struct board_info __initcon
&board_96368mvwg,
&board_96368mvngr,
#endif

View file

@ -8,7 +8,7 @@ Signed-off-by: Adrian Feliks <mexit@o2.pl>
---
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -833,6 +833,22 @@ static struct board_info __initdata boar
@@ -767,6 +767,22 @@ static struct board_info __initdata boar
.has_ehci0 = 1,
};
@ -31,7 +31,7 @@ Signed-off-by: Adrian Feliks <mexit@o2.pl>
/* BT Voyager 2110 */
static struct board_info __initdata board_V2110 = {
@@ -1968,6 +1984,7 @@ static const struct board_info __initcon
@@ -1902,6 +1918,7 @@ static const struct board_info __initcon
&board_96348A_122,
&board_CPVA502plus,
&board_96348W3,
@ -39,8 +39,8 @@ Signed-off-by: Adrian Feliks <mexit@o2.pl>
#endif
#ifdef CONFIG_BCM63XX_CPU_6358
@@ -2026,6 +2043,7 @@ static struct of_device_id const bcm963x
{ .compatible = "brcm,bcm96345gw2", .data = &board_96345gw2, },
@@ -1962,6 +1979,7 @@ static struct of_device_id const bcm963x
{ .compatible = "dynalink,rta770w", .data = &board_rta770w, },
#endif
#ifdef CONFIG_BCM63XX_CPU_6348
+ { .compatible = "asmax,ar1004g", .data = &board_96348gw_10_AR1004G, },

View file

@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -1930,6 +1930,108 @@ static struct board_info __initdata boar
@@ -1864,6 +1864,108 @@ static struct board_info __initdata boar
},
},
};
@ -109,7 +109,7 @@
#endif /* CONFIG_BCM63XX_CPU_63268 */
/*
@@ -2016,6 +2118,7 @@ static const struct board_info __initcon
@@ -1950,6 +2052,7 @@ static const struct board_info __initcon
#endif
#ifdef CONFIG_BCM63XX_CPU_63268
&board_963269bhr,

View file

@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -1867,6 +1867,66 @@ static struct board_info __initdata boar
@@ -1801,6 +1801,66 @@ static struct board_info __initdata boar
* known 63268/63269 boards
*/
#ifdef CONFIG_BCM63XX_CPU_63268
@ -67,7 +67,7 @@
static struct board_info __initdata board_963269bhr = {
.name = "963269BHR",
.expected_cpu_id = 0x63268,
@@ -2117,6 +2177,7 @@ static const struct board_info __initcon
@@ -2051,6 +2111,7 @@ static const struct board_info __initcon
&board_96368mvngr,
#endif
#ifdef CONFIG_BCM63XX_CPU_63268
@ -75,7 +75,7 @@
&board_963269bhr,
&board_vw6339gu,
#endif
@@ -2201,6 +2262,7 @@ static struct of_device_id const bcm963x
@@ -2137,6 +2198,7 @@ static struct of_device_id const bcm963x
{ .compatible = "brcm,bcm96368mvwg", .data = &board_96368mvwg, },
#endif
#ifdef CONFIG_BCM63XX_CPU_63268

View file

@ -10,7 +10,7 @@
#include <asm/addrspace.h>
#include <bcm63xx_board.h>
#include <bcm63xx_cpu.h>
@@ -1861,6 +1863,65 @@ static struct board_info __initdata boar
@@ -1795,6 +1797,65 @@ static struct board_info __initdata boar
.has_ohci0 = 1,
.has_ehci0 = 1,
};
@ -76,7 +76,7 @@
#endif /* CONFIG_BCM63XX_CPU_6368 */
/*
@@ -2175,6 +2236,7 @@ static const struct board_info __initcon
@@ -2109,6 +2170,7 @@ static const struct board_info __initcon
#ifdef CONFIG_BCM63XX_CPU_6368
&board_96368mvwg,
&board_96368mvngr,
@ -84,7 +84,7 @@
#endif
#ifdef CONFIG_BCM63XX_CPU_63268
&board_963268bu_p300,
@@ -2260,6 +2322,7 @@ static struct of_device_id const bcm963x
@@ -2196,6 +2258,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, },

View file

@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -1864,6 +1864,60 @@ static struct board_info __initdata boar
@@ -1798,6 +1798,60 @@ static struct board_info __initdata boar
.has_ehci0 = 1,
};
@ -61,7 +61,7 @@
static struct b53_platform_data WAP5813n_b53_pdata = {
.alias = "eth0",
};
@@ -2236,6 +2290,7 @@ static const struct board_info __initcon
@@ -2170,6 +2224,7 @@ static const struct board_info __initcon
#ifdef CONFIG_BCM63XX_CPU_6368
&board_96368mvwg,
&board_96368mvngr,
@ -69,7 +69,7 @@
&board_WAP5813n,
#endif
#ifdef CONFIG_BCM63XX_CPU_63268
@@ -2322,6 +2377,7 @@ static struct of_device_id const bcm963x
@@ -2258,6 +2313,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, },

View file

@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -1918,6 +1918,60 @@ static struct board_info __initdata boar
@@ -1852,6 +1852,60 @@ static struct board_info __initdata boar
},
};
@ -61,7 +61,7 @@
static struct b53_platform_data WAP5813n_b53_pdata = {
.alias = "eth0",
};
@@ -2291,6 +2345,7 @@ static const struct board_info __initcon
@@ -2225,6 +2279,7 @@ static const struct board_info __initcon
&board_96368mvwg,
&board_96368mvngr,
&board_VR3025u,
@ -69,7 +69,7 @@
&board_WAP5813n,
#endif
#ifdef CONFIG_BCM63XX_CPU_63268
@@ -2378,6 +2433,7 @@ static struct of_device_id const bcm963x
@@ -2314,6 +2369,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, },

View file

@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -1873,6 +1873,49 @@ static struct sprom_fixup __initdata vr3
@@ -1807,6 +1807,49 @@ static struct sprom_fixup __initdata vr3
{ .offset = 115, .value = 0xfad9 },
};
@ -50,7 +50,7 @@
static struct board_info __initdata board_VR3025u = {
.name = "96368M-1541N",
.expected_cpu_id = 0x6368,
@@ -2344,6 +2387,7 @@ static const struct board_info __initcon
@@ -2278,6 +2321,7 @@ static const struct board_info __initcon
#ifdef CONFIG_BCM63XX_CPU_6368
&board_96368mvwg,
&board_96368mvngr,
@ -58,7 +58,7 @@
&board_VR3025u,
&board_VR3025un,
&board_WAP5813n,
@@ -2435,6 +2479,7 @@ static struct of_device_id const bcm963x
@@ -2371,6 +2415,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, },

View file

@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -1511,6 +1511,37 @@ static struct board_info __initdata boar
@@ -1445,6 +1445,37 @@ static struct board_info __initdata boar
},
};
@ -38,7 +38,7 @@
static struct board_info __initdata board_HW553 = {
.name = "HW553",
.expected_cpu_id = 0x6358,
@@ -2371,6 +2402,7 @@ static const struct board_info __initcon
@@ -2305,6 +2336,7 @@ static const struct board_info __initcon
&board_nb4_ser_r0,
&board_nb4_fxc_r1,
&board_ct6373_1,
@ -46,7 +46,7 @@
&board_HW553,
&board_HW556_A,
&board_HW556_B,
@@ -2456,6 +2488,7 @@ static struct of_device_id const bcm963x
@@ -2392,6 +2424,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, },

View file

@ -51,7 +51,7 @@
static struct board_info __initdata board_A4001N1 = {
.name = "963281T_TEF",
.expected_cpu_id = 0x6328,
@@ -2353,6 +2397,7 @@ static const struct board_info __initcon
@@ -2287,6 +2331,7 @@ static const struct board_info __initcon
&board_AR5381u,
&board_AR5387un,
&board_963281TAN,
@ -59,7 +59,7 @@
&board_A4001N1,
&board_dsl_274xb_f1,
&board_FAST2704V2,
@@ -2437,6 +2482,7 @@ static struct of_device_id const bcm963x
@@ -2371,6 +2416,7 @@ static struct of_device_id const bcm963x
{ .compatible = "netgear,cvg834g", .data = &board_cvg834g, },
#endif
#ifdef CONFIG_BCM63XX_CPU_6328

View file

@ -142,7 +142,7 @@
#endif /* CONFIG_BCM63XX_CPU_6318 */
/*
@@ -2391,6 +2526,7 @@ static const struct board_info __initcon
@@ -2325,6 +2460,7 @@ static const struct board_info __initcon
#ifdef CONFIG_BCM63XX_CPU_6318
&board_96318ref,
&board_96318ref_p300,

View file

@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -2074,6 +2074,48 @@ static struct board_info __initdata boar
@@ -2008,6 +2008,48 @@ static struct board_info __initdata boar
.has_ehci0 = 1,
};
@ -49,7 +49,7 @@
static struct sprom_fixup __initdata vr3025u_fixups[] = {
{ .offset = 97, .value = 0xfeb3 },
{ .offset = 98, .value = 0x1618 },
@@ -2600,6 +2642,7 @@ static const struct board_info __initcon
@@ -2534,6 +2576,7 @@ static const struct board_info __initcon
#ifdef CONFIG_BCM63XX_CPU_6368
&board_96368mvwg,
&board_96368mvngr,
@ -57,7 +57,7 @@
&board_P870HW51A_V2,
&board_VR3025u,
&board_VR3025un,
@@ -2694,6 +2737,7 @@ static struct of_device_id const bcm963x
@@ -2630,6 +2673,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, },

View file

@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -524,6 +524,55 @@ static struct board_info __initdata boar
@@ -524,6 +524,22 @@ static struct board_info __initdata boar
.has_uart0 = 1,
};
@ -19,44 +19,11 @@
+ .force_speed_100 = 1,
+ .force_duplex_full = 1,
+ },
+
+ .leds = {
+ {
+ .name = "RTA770BW:green:usb",
+ .gpio = 7,
+ .active_low = 1,
+ },
+ {
+ .name = "RTA770BW:green:adsl",
+ .gpio = 8,
+ },
+ {
+ .name = "RTA770BW:green:diag",
+ .gpio = 10,
+ .active_low = 1,
+ },
+ {
+ .name = "RTA770BW:green:wlan",
+ .gpio = 11,
+ .active_low = 1,
+ },
+ },
+
+ .buttons = {
+ {
+ .desc = "reset",
+ .gpio = 13,
+ .type = EV_KEY,
+ .code = KEY_RESTART,
+ .active_low = 1,
+ .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
+ },
+ },
+};
#endif /* CONFIG_BCM63XX_CPU_6345 */
/*
@@ -1665,6 +1714,7 @@ static const struct board_info __initcon
@@ -1665,6 +1681,7 @@ static const struct board_info __initcon
#endif
#ifdef CONFIG_BCM63XX_CPU_6345
&board_96345gw2,
@ -64,3 +31,11 @@
#endif
#ifdef CONFIG_BCM63XX_CPU_6348
&board_96348r,
@@ -1735,6 +1752,7 @@ static struct of_device_id const bcm963x
#endif
#ifdef CONFIG_BCM63XX_CPU_6345
{ .compatible = "brcm,bcm96345gw2", .data = &board_96345gw2, },
+ { .compatible = "dynalink,rta770bw", .data = &board_rta770bw, },
#endif
#ifdef CONFIG_BCM63XX_CPU_6348
{ .compatible = "belkin,f5d7633", .data = &board_96348gw_10, },

View file

@ -8,7 +8,7 @@
#include <linux/platform_device.h>
#include <linux/rtl8367.h>
#include <asm/addrspace.h>
@@ -1489,6 +1490,93 @@ static struct board_info __initdata boar
@@ -1456,6 +1457,93 @@ static struct board_info __initdata boar
},
};
@ -102,7 +102,7 @@
/* T-Home Speedport W 303V Typ B */
static struct board_info __initdata board_spw303v = {
.name = "96358-502V",
@@ -1750,6 +1838,9 @@ static const struct board_info __initcon
@@ -1717,6 +1805,9 @@ static const struct board_info __initcon
&board_nb4_fxc_r1,
&board_ct6373_1,
&board_HW553,
@ -112,7 +112,7 @@
&board_spw303v,
&board_DVAG3810BN,
#endif
@@ -1820,6 +1911,9 @@ static struct of_device_id const bcm963x
@@ -1788,6 +1879,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, },

View file

@ -1,7 +1,7 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -574,6 +574,60 @@ static struct board_info __initdata boar
},
@@ -541,6 +541,27 @@ static struct board_info __initdata boar
.force_duplex_full = 1,
},
};
+
@ -24,44 +24,11 @@
+ .force_speed_100 = 1,
+ .force_duplex_full = 1,
+ },
+
+ .leds = {
+ {
+ .name = "RTA770W:green:usb",
+ .gpio = 7,
+ .active_low = 1,
+ },
+ {
+ .name = "RTA770W:green:adsl",
+ .gpio = 8,
+ },
+ {
+ .name = "RTA770W:green:diag",
+ .gpio = 10,
+ .active_low = 1,
+ },
+ {
+ .name = "RTA770W:green:wlan",
+ .gpio = 11,
+ .active_low = 1,
+ },
+ },
+
+ .buttons = {
+ {
+ .desc = "reset",
+ .gpio = 13,
+ .type = EV_KEY,
+ .code = KEY_RESTART,
+ .active_low = 1,
+ .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
+ },
+ },
+};
#endif /* CONFIG_BCM63XX_CPU_6345 */
/*
@@ -1803,6 +1857,7 @@ static const struct board_info __initcon
@@ -1770,6 +1791,7 @@ static const struct board_info __initcon
#ifdef CONFIG_BCM63XX_CPU_6345
&board_96345gw2,
&board_rta770bw,
@ -69,3 +36,11 @@
#endif
#ifdef CONFIG_BCM63XX_CPU_6348
&board_96348r,
@@ -1844,6 +1866,7 @@ static struct of_device_id const bcm963x
#ifdef CONFIG_BCM63XX_CPU_6345
{ .compatible = "brcm,bcm96345gw2", .data = &board_96345gw2, },
{ .compatible = "dynalink,rta770bw", .data = &board_rta770bw, },
+ { .compatible = "dynalink,rta770w", .data = &board_rta770w, },
#endif
#ifdef CONFIG_BCM63XX_CPU_6348
{ .compatible = "belkin,f5d7633", .data = &board_96348gw_10, },

View file

@ -57,7 +57,7 @@ Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com>
#endif /* CONFIG_BCM63XX_CPU_6328 */
/*
@@ -1847,6 +1885,7 @@ static const struct board_info __initcon
@@ -1781,6 +1819,7 @@ static const struct board_info __initcon
&board_963281TAN,
&board_A4001N1,
&board_dsl_274xb_f1,
@ -65,7 +65,7 @@ Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com>
#endif
#ifdef CONFIG_BCM63XX_CPU_6338
&board_96338gw,
@@ -1922,6 +1961,7 @@ static struct of_device_id const bcm963x
@@ -1856,6 +1895,7 @@ static struct of_device_id const bcm963x
{ .compatible = "comtrend,ar-5381u", .data = &board_AR5381u, },
{ .compatible = "comtrend,ar-5387un", .data = &board_AR5387un, },
{ .compatible = "d-link,dsl-274xb-f", .data = &board_dsl_274xb_f1, },

View file

@ -6,7 +6,7 @@ Signed-off-by: Max Staudt <openwrt.max@enpas.org>
---
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -1776,6 +1776,43 @@ static struct board_info __initdata boar
@@ -1710,6 +1710,43 @@ static struct board_info __initdata boar
.devs = nb6_devices,
.num_devs = ARRAY_SIZE(nb6_devices),
};
@ -50,7 +50,7 @@ Signed-off-by: Max Staudt <openwrt.max@enpas.org>
#endif /* CONFIG_BCM63XX_CPU_6362 */
/*
@@ -1941,6 +1978,7 @@ static const struct board_info __initcon
@@ -1875,6 +1912,7 @@ static const struct board_info __initcon
#ifdef CONFIG_BCM63XX_CPU_6362
&board_nb6,
@ -58,7 +58,7 @@ Signed-off-by: Max Staudt <openwrt.max@enpas.org>
#endif
#ifdef CONFIG_BCM63XX_CPU_6368
@@ -2019,6 +2057,7 @@ static struct of_device_id const bcm963x
@@ -1955,6 +1993,7 @@ static struct of_device_id const bcm963x
{ .compatible = "telsey,cpva642", .data = &board_CPVA642, },
#endif
#ifdef CONFIG_BCM63XX_CPU_6362

View file

@ -132,7 +132,7 @@ Subject: [PATCH] MIPS: BCM63XX: remove leds and buttons
};
static struct board_info __initdata board_96338w2_e7t = {
@@ -685,36 +590,6 @@ static struct board_info __initdata boar
@@ -619,36 +524,6 @@ static struct board_info __initdata boar
.has_phy = 1,
.use_internal_phy = 1,
},
@ -169,7 +169,7 @@ Subject: [PATCH] MIPS: BCM63XX: remove leds and buttons
};
static struct board_info __initdata board_96348gw_10 = {
@@ -747,35 +622,6 @@ static struct board_info __initdata boar
@@ -681,35 +556,6 @@ static struct board_info __initdata boar
.cs = 2,
.ext_irq = 2,
},
@ -205,7 +205,7 @@ Subject: [PATCH] MIPS: BCM63XX: remove leds and buttons
};
static struct board_info __initdata board_96348gw_11 = {
@@ -802,35 +648,6 @@ static struct board_info __initdata boar
@@ -736,35 +582,6 @@ static struct board_info __initdata boar
.has_ohci0 = 1,
.has_pccard = 1,
.has_ehci0 = 1,
@ -241,7 +241,7 @@ Subject: [PATCH] MIPS: BCM63XX: remove leds and buttons
};
@@ -954,35 +771,6 @@ static struct board_info __initdata boar
@@ -888,35 +705,6 @@ static struct board_info __initdata boar
.ext_irq = 2,
.cs = 2,
},
@ -277,7 +277,7 @@ Subject: [PATCH] MIPS: BCM63XX: remove leds and buttons
};
static struct board_info __initdata board_gw6200 = {
@@ -1309,33 +1097,6 @@ static struct board_info __initdata boar
@@ -1243,33 +1031,6 @@ static struct board_info __initdata boar
.has_ohci0 = 1,
.has_pccard = 1,
.has_ehci0 = 1,
@ -311,7 +311,7 @@ Subject: [PATCH] MIPS: BCM63XX: remove leds and buttons
};
static struct board_info __initdata board_96358vw2 = {
@@ -1363,29 +1124,6 @@ static struct board_info __initdata boar
@@ -1297,29 +1058,6 @@ static struct board_info __initdata boar
.has_pccard = 1,
.has_ehci0 = 1,
.num_usbh_ports = 2,

View file

@ -11,7 +11,7 @@
.force_speed_100 = 1,
.force_duplex_full = 1,
},
@@ -607,6 +611,8 @@ static struct board_info __initdata boar
@@ -541,6 +545,8 @@ static struct board_info __initdata boar
.use_internal_phy = 1,
},
.enet1 = {
@ -20,7 +20,7 @@
.force_speed_100 = 1,
.force_duplex_full = 1,
},
@@ -640,6 +646,8 @@ static struct board_info __initdata boar
@@ -574,6 +580,8 @@ static struct board_info __initdata boar
},
.enet1 = {
@ -29,7 +29,7 @@
.force_speed_100 = 1,
.force_duplex_full = 1,
},
@@ -787,6 +795,8 @@ static struct board_info __initdata boar
@@ -721,6 +729,8 @@ static struct board_info __initdata boar
.use_internal_phy = 1,
},
.enet1 = {
@ -38,7 +38,7 @@
.force_speed_100 = 1,
.force_duplex_full = 1,
},
@@ -849,6 +859,8 @@ static struct board_info __initdata boar
@@ -783,6 +793,8 @@ static struct board_info __initdata boar
},
.enet1 = {
@ -47,7 +47,7 @@
.force_speed_100 = 1,
.force_duplex_full = 1,
},
@@ -890,6 +902,8 @@ static struct board_info __initdata boar
@@ -824,6 +836,8 @@ static struct board_info __initdata boar
.use_internal_phy = 1,
},
.enet1 = {
@ -56,7 +56,7 @@
.force_speed_100 = 1,
.force_duplex_full = 1,
},
@@ -912,6 +926,8 @@ static struct board_info __initdata boar
@@ -846,6 +860,8 @@ static struct board_info __initdata boar
.use_internal_phy = 1,
},
.enet1 = {
@ -65,7 +65,7 @@
.force_speed_100 = 1,
.force_duplex_full = 1,
},
@@ -932,6 +948,8 @@ static struct board_info __initdata boar
@@ -866,6 +882,8 @@ static struct board_info __initdata boar
.use_internal_phy = 1,
},
.enet1 = {
@ -74,7 +74,7 @@
.force_speed_100 = 1,
.force_duplex_full = 1,
},
@@ -1161,6 +1179,8 @@ static struct board_info __initdata boar
@@ -1095,6 +1113,8 @@ static struct board_info __initdata boar
},
.enet1 = {
@ -83,7 +83,7 @@
.force_speed_100 = 1,
.force_duplex_full = 1,
},
@@ -1186,6 +1206,12 @@ static struct board_info __initdata boar
@@ -1120,6 +1140,12 @@ static struct board_info __initdata boar
},
.enet1 = {

View file

@ -94,7 +94,7 @@
* known 6328 boards
*/
#ifdef CONFIG_BCM63XX_CPU_6328
@@ -1679,6 +1766,9 @@ static const struct board_info __initcon
@@ -1613,6 +1700,9 @@ static const struct board_info __initcon
#ifdef CONFIG_BCM63XX_CPU_3368
&board_cvg834g,
#endif

View file

@ -95,7 +95,7 @@
#endif /* CONFIG_BCM63XX_CPU_6318 */
/*
@@ -1768,6 +1856,7 @@ static const struct board_info __initcon
@@ -1702,6 +1790,7 @@ static const struct board_info __initcon
#endif
#ifdef CONFIG_BCM63XX_CPU_6318
&board_96318ref,

View file

@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -1848,6 +1848,75 @@ static struct board_info __initdata boar
@@ -1782,6 +1782,75 @@ static struct board_info __initdata boar
#endif /* CONFIG_BCM63XX_CPU_6368 */
/*
@ -76,7 +76,7 @@
* all boards
*/
static const struct board_info __initconst *bcm963xx_boards[] = {
@@ -1928,6 +1997,9 @@ static const struct board_info __initcon
@@ -1862,6 +1931,9 @@ static const struct board_info __initcon
&board_96368mvwg,
&board_96368mvngr,
#endif

View file

@ -8,7 +8,7 @@ Signed-off-by: Adrian Feliks <mexit@o2.pl>
---
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -833,6 +833,22 @@ static struct board_info __initdata boar
@@ -767,6 +767,22 @@ static struct board_info __initdata boar
.has_ehci0 = 1,
};
@ -31,7 +31,7 @@ Signed-off-by: Adrian Feliks <mexit@o2.pl>
/* BT Voyager 2110 */
static struct board_info __initdata board_V2110 = {
@@ -1968,6 +1984,7 @@ static const struct board_info __initcon
@@ -1902,6 +1918,7 @@ static const struct board_info __initcon
&board_96348A_122,
&board_CPVA502plus,
&board_96348W3,
@ -39,8 +39,8 @@ Signed-off-by: Adrian Feliks <mexit@o2.pl>
#endif
#ifdef CONFIG_BCM63XX_CPU_6358
@@ -2026,6 +2043,7 @@ static struct of_device_id const bcm963x
{ .compatible = "brcm,bcm96345gw2", .data = &board_96345gw2, },
@@ -1962,6 +1979,7 @@ static struct of_device_id const bcm963x
{ .compatible = "dynalink,rta770w", .data = &board_rta770w, },
#endif
#ifdef CONFIG_BCM63XX_CPU_6348
+ { .compatible = "asmax,ar1004g", .data = &board_96348gw_10_AR1004G, },

View file

@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -1930,6 +1930,108 @@ static struct board_info __initdata boar
@@ -1864,6 +1864,108 @@ static struct board_info __initdata boar
},
},
};
@ -109,7 +109,7 @@
#endif /* CONFIG_BCM63XX_CPU_63268 */
/*
@@ -2016,6 +2118,7 @@ static const struct board_info __initcon
@@ -1950,6 +2052,7 @@ static const struct board_info __initcon
#endif
#ifdef CONFIG_BCM63XX_CPU_63268
&board_963269bhr,

View file

@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -1867,6 +1867,66 @@ static struct board_info __initdata boar
@@ -1801,6 +1801,66 @@ static struct board_info __initdata boar
* known 63268/63269 boards
*/
#ifdef CONFIG_BCM63XX_CPU_63268
@ -67,7 +67,7 @@
static struct board_info __initdata board_963269bhr = {
.name = "963269BHR",
.expected_cpu_id = 0x63268,
@@ -2117,6 +2177,7 @@ static const struct board_info __initcon
@@ -2051,6 +2111,7 @@ static const struct board_info __initcon
&board_96368mvngr,
#endif
#ifdef CONFIG_BCM63XX_CPU_63268
@ -75,7 +75,7 @@
&board_963269bhr,
&board_vw6339gu,
#endif
@@ -2201,6 +2262,7 @@ static struct of_device_id const bcm963x
@@ -2137,6 +2198,7 @@ static struct of_device_id const bcm963x
{ .compatible = "brcm,bcm96368mvwg", .data = &board_96368mvwg, },
#endif
#ifdef CONFIG_BCM63XX_CPU_63268

View file

@ -10,7 +10,7 @@
#include <asm/addrspace.h>
#include <bcm63xx_board.h>
#include <bcm63xx_cpu.h>
@@ -1861,6 +1863,65 @@ static struct board_info __initdata boar
@@ -1795,6 +1797,65 @@ static struct board_info __initdata boar
.has_ohci0 = 1,
.has_ehci0 = 1,
};
@ -76,7 +76,7 @@
#endif /* CONFIG_BCM63XX_CPU_6368 */
/*
@@ -2175,6 +2236,7 @@ static const struct board_info __initcon
@@ -2109,6 +2170,7 @@ static const struct board_info __initcon
#ifdef CONFIG_BCM63XX_CPU_6368
&board_96368mvwg,
&board_96368mvngr,
@ -84,7 +84,7 @@
#endif
#ifdef CONFIG_BCM63XX_CPU_63268
&board_963268bu_p300,
@@ -2260,6 +2322,7 @@ static struct of_device_id const bcm963x
@@ -2196,6 +2258,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, },

View file

@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -1864,6 +1864,60 @@ static struct board_info __initdata boar
@@ -1798,6 +1798,60 @@ static struct board_info __initdata boar
.has_ehci0 = 1,
};
@ -61,7 +61,7 @@
static struct b53_platform_data WAP5813n_b53_pdata = {
.alias = "eth0",
};
@@ -2236,6 +2290,7 @@ static const struct board_info __initcon
@@ -2170,6 +2224,7 @@ static const struct board_info __initcon
#ifdef CONFIG_BCM63XX_CPU_6368
&board_96368mvwg,
&board_96368mvngr,
@ -69,7 +69,7 @@
&board_WAP5813n,
#endif
#ifdef CONFIG_BCM63XX_CPU_63268
@@ -2322,6 +2377,7 @@ static struct of_device_id const bcm963x
@@ -2258,6 +2313,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, },

View file

@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -1918,6 +1918,60 @@ static struct board_info __initdata boar
@@ -1852,6 +1852,60 @@ static struct board_info __initdata boar
},
};
@ -61,7 +61,7 @@
static struct b53_platform_data WAP5813n_b53_pdata = {
.alias = "eth0",
};
@@ -2291,6 +2345,7 @@ static const struct board_info __initcon
@@ -2225,6 +2279,7 @@ static const struct board_info __initcon
&board_96368mvwg,
&board_96368mvngr,
&board_VR3025u,
@ -69,7 +69,7 @@
&board_WAP5813n,
#endif
#ifdef CONFIG_BCM63XX_CPU_63268
@@ -2378,6 +2433,7 @@ static struct of_device_id const bcm963x
@@ -2314,6 +2369,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, },

View file

@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -1873,6 +1873,49 @@ static struct sprom_fixup __initdata vr3
@@ -1807,6 +1807,49 @@ static struct sprom_fixup __initdata vr3
{ .offset = 115, .value = 0xfad9 },
};
@ -50,7 +50,7 @@
static struct board_info __initdata board_VR3025u = {
.name = "96368M-1541N",
.expected_cpu_id = 0x6368,
@@ -2344,6 +2387,7 @@ static const struct board_info __initcon
@@ -2278,6 +2321,7 @@ static const struct board_info __initcon
#ifdef CONFIG_BCM63XX_CPU_6368
&board_96368mvwg,
&board_96368mvngr,
@ -58,7 +58,7 @@
&board_VR3025u,
&board_VR3025un,
&board_WAP5813n,
@@ -2435,6 +2479,7 @@ static struct of_device_id const bcm963x
@@ -2371,6 +2415,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, },

View file

@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -1511,6 +1511,37 @@ static struct board_info __initdata boar
@@ -1445,6 +1445,37 @@ static struct board_info __initdata boar
},
};
@ -38,7 +38,7 @@
static struct board_info __initdata board_HW553 = {
.name = "HW553",
.expected_cpu_id = 0x6358,
@@ -2371,6 +2402,7 @@ static const struct board_info __initcon
@@ -2305,6 +2336,7 @@ static const struct board_info __initcon
&board_nb4_ser_r0,
&board_nb4_fxc_r1,
&board_ct6373_1,
@ -46,7 +46,7 @@
&board_HW553,
&board_HW556_A,
&board_HW556_B,
@@ -2456,6 +2488,7 @@ static struct of_device_id const bcm963x
@@ -2392,6 +2424,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, },

View file

@ -51,7 +51,7 @@
static struct board_info __initdata board_A4001N1 = {
.name = "963281T_TEF",
.expected_cpu_id = 0x6328,
@@ -2353,6 +2397,7 @@ static const struct board_info __initcon
@@ -2287,6 +2331,7 @@ static const struct board_info __initcon
&board_AR5381u,
&board_AR5387un,
&board_963281TAN,
@ -59,7 +59,7 @@
&board_A4001N1,
&board_dsl_274xb_f1,
&board_FAST2704V2,
@@ -2437,6 +2482,7 @@ static struct of_device_id const bcm963x
@@ -2371,6 +2416,7 @@ static struct of_device_id const bcm963x
{ .compatible = "netgear,cvg834g", .data = &board_cvg834g, },
#endif
#ifdef CONFIG_BCM63XX_CPU_6328

View file

@ -142,7 +142,7 @@
#endif /* CONFIG_BCM63XX_CPU_6318 */
/*
@@ -2391,6 +2526,7 @@ static const struct board_info __initcon
@@ -2325,6 +2460,7 @@ static const struct board_info __initcon
#ifdef CONFIG_BCM63XX_CPU_6318
&board_96318ref,
&board_96318ref_p300,

View file

@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -2074,6 +2074,48 @@ static struct board_info __initdata boar
@@ -2008,6 +2008,48 @@ static struct board_info __initdata boar
.has_ehci0 = 1,
};
@ -49,7 +49,7 @@
static struct sprom_fixup __initdata vr3025u_fixups[] = {
{ .offset = 97, .value = 0xfeb3 },
{ .offset = 98, .value = 0x1618 },
@@ -2600,6 +2642,7 @@ static const struct board_info __initcon
@@ -2534,6 +2576,7 @@ static const struct board_info __initcon
#ifdef CONFIG_BCM63XX_CPU_6368
&board_96368mvwg,
&board_96368mvngr,
@ -57,7 +57,7 @@
&board_P870HW51A_V2,
&board_VR3025u,
&board_VR3025un,
@@ -2694,6 +2737,7 @@ static struct of_device_id const bcm963x
@@ -2630,6 +2673,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, },

View file

@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -1690,6 +1690,32 @@ static struct board_info __initdata boar
@@ -1624,6 +1624,32 @@ static struct board_info __initdata boar
},
};
@ -33,7 +33,7 @@
static struct board_info __initdata board_HW520 = {
.name = "HW6358GW_B",
.expected_cpu_id = 0x6358,
@@ -2625,6 +2651,7 @@ static const struct board_info __initcon
@@ -2559,6 +2585,7 @@ static const struct board_info __initcon
&board_nb4_ser_r0,
&board_nb4_fxc_r1,
&board_ct6373_1,
@ -41,7 +41,7 @@
&board_HW520,
&board_HW553,
&board_HW556_A,
@@ -2726,6 +2753,7 @@ static struct of_device_id const bcm963x
@@ -2662,6 +2689,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, },

View file

@ -5,6 +5,24 @@
# See /LICENSE for more information.
#
define Profile/RTA770BW
NAME:=Dynalink RTA770BW (Siemens SE 515)
PACKAGES:=kmod-b43 wpad-mini
endef
define Profile/RTA770BW/Description
Package set optimized for RTA770BW.
endef
$(eval $(call Profile,RTA770BW))
define Profile/RTA770W
NAME:=Dynalink RTA770W
PACKAGES:=kmod-b43 wpad-mini
endef
define Profile/RTA770W/Description
Package set optimized for RTA770W.
endef
$(eval $(call Profile,RTA770W))
define Profile/RTA1025W
NAME:=Dynalink RTA1025W
PACKAGES:=kmod-b43 wpad-mini