From 10cdfd04e68f540760eee9a3ac45babf620bc2f2 Mon Sep 17 00:00:00 2001 From: Jonas Gorski Date: Wed, 25 Mar 2015 15:36:12 +0000 Subject: [PATCH] brcm63xx: move RTA770(B)W to dts Signed-off-by: Jonas Gorski SVN-Revision: 44992 --- .../linux/brcm63xx/base-files/lib/brcm63xx.sh | 12 ++-- target/linux/brcm63xx/dts/rta770bw.dts | 68 +++++++++++++++++++ target/linux/brcm63xx/dts/rta770w.dts | 68 +++++++++++++++++++ target/linux/brcm63xx/image/Makefile | 4 ++ .../patches-3.14/533-board_rta770bw.patch | 45 +++--------- .../patches-3.14/534-board_hw556.patch | 6 +- .../patches-3.14/535-board_rta770w.patch | 47 +++---------- .../patches-3.14/536-board_fast2704.patch | 4 +- .../patches-3.14/537-board_fast2504n.patch | 6 +- ...MIPS-BCM63XX-remove-leds-and-buttons.patch | 12 ++-- .../553-boards_probe_switch.patch | 18 ++--- .../patches-3.14/555-board_96318ref.patch | 2 +- .../556-board_96318ref_p300.patch | 2 +- .../patches-3.14/557-board_bcm963269bhr.patch | 4 +- .../patches-3.14/558-board_AR1004G.patch | 8 +-- .../patches-3.14/559-board_vw6339gu.patch | 4 +- .../560-board_963268gu_p300.patch | 6 +- .../patches-3.14/561-board_WAP-5813n.patch | 6 +- .../patches-3.14/562-board_VR-3025u.patch | 6 +- .../patches-3.14/563-board_VR-3025un.patch | 6 +- .../564-board_P870HW-51a_v2.patch | 6 +- .../patches-3.14/565-board_hw520.patch | 6 +- .../patches-3.14/566-board_A4001N.patch | 4 +- .../patches-3.14/567-board_dsl-2751b_e1.patch | 2 +- .../568-board_DGND3700v1_3800B.patch | 6 +- .../patches-3.18/533-board_rta770bw.patch | 45 +++--------- .../patches-3.18/534-board_hw556.patch | 6 +- .../patches-3.18/535-board_rta770w.patch | 47 +++---------- .../patches-3.18/536-board_fast2704.patch | 4 +- .../patches-3.18/537-board_fast2504n.patch | 6 +- ...MIPS-BCM63XX-remove-leds-and-buttons.patch | 12 ++-- .../553-boards_probe_switch.patch | 18 ++--- .../patches-3.18/555-board_96318ref.patch | 2 +- .../556-board_96318ref_p300.patch | 2 +- .../patches-3.18/557-board_bcm963269bhr.patch | 4 +- .../patches-3.18/558-board_AR1004G.patch | 8 +-- .../patches-3.18/559-board_vw6339gu.patch | 4 +- .../560-board_963268gu_p300.patch | 6 +- .../patches-3.18/561-board_WAP-5813n.patch | 6 +- .../patches-3.18/562-board_VR-3025u.patch | 6 +- .../patches-3.18/563-board_VR-3025un.patch | 6 +- .../564-board_P870HW-51a_v2.patch | 6 +- .../patches-3.18/565-board_hw520.patch | 6 +- .../patches-3.18/566-board_A4001N.patch | 4 +- .../patches-3.18/567-board_dsl-2751b_e1.patch | 2 +- .../568-board_DGND3700v1_3800B.patch | 6 +- .../patches-3.18/569-board_homehub2a.patch | 6 +- target/linux/brcm63xx/profiles/dynalink.mk | 18 +++++ 48 files changed, 323 insertions(+), 265 deletions(-) create mode 100644 target/linux/brcm63xx/dts/rta770bw.dts create mode 100644 target/linux/brcm63xx/dts/rta770w.dts diff --git a/target/linux/brcm63xx/base-files/lib/brcm63xx.sh b/target/linux/brcm63xx/base-files/lib/brcm63xx.sh index 10664b64b6..645f5aafc9 100755 --- a/target/linux/brcm63xx/base-files/lib/brcm63xx.sh +++ b/target/linux/brcm63xx/base-files/lib/brcm63xx.sh @@ -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" ;; diff --git a/target/linux/brcm63xx/dts/rta770bw.dts b/target/linux/brcm63xx/dts/rta770bw.dts new file mode 100644 index 0000000000..73f737aed8 --- /dev/null +++ b/target/linux/brcm63xx/dts/rta770bw.dts @@ -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>; + }; +}; diff --git a/target/linux/brcm63xx/dts/rta770w.dts b/target/linux/brcm63xx/dts/rta770w.dts new file mode 100644 index 0000000000..b6c340f647 --- /dev/null +++ b/target/linux/brcm63xx/dts/rta770w.dts @@ -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>; + }; +}; diff --git a/target/linux/brcm63xx/image/Makefile b/target/linux/brcm63xx/image/Makefile index 260c6d1499..c94d06e9d7 100755 --- a/target/linux/brcm63xx/image/Makefile +++ b/target/linux/brcm63xx/image/Makefile @@ -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) diff --git a/target/linux/brcm63xx/patches-3.14/533-board_rta770bw.patch b/target/linux/brcm63xx/patches-3.14/533-board_rta770bw.patch index d998733731..96e2f6a036 100644 --- a/target/linux/brcm63xx/patches-3.14/533-board_rta770bw.patch +++ b/target/linux/brcm63xx/patches-3.14/533-board_rta770bw.patch @@ -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, }, diff --git a/target/linux/brcm63xx/patches-3.14/534-board_hw556.patch b/target/linux/brcm63xx/patches-3.14/534-board_hw556.patch index 72b62b882a..76b9faf972 100644 --- a/target/linux/brcm63xx/patches-3.14/534-board_hw556.patch +++ b/target/linux/brcm63xx/patches-3.14/534-board_hw556.patch @@ -8,7 +8,7 @@ #include #include #include -@@ -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, }, diff --git a/target/linux/brcm63xx/patches-3.14/535-board_rta770w.patch b/target/linux/brcm63xx/patches-3.14/535-board_rta770w.patch index 5f853bba48..f9ce5bed56 100644 --- a/target/linux/brcm63xx/patches-3.14/535-board_rta770w.patch +++ b/target/linux/brcm63xx/patches-3.14/535-board_rta770w.patch @@ -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, }, diff --git a/target/linux/brcm63xx/patches-3.14/536-board_fast2704.patch b/target/linux/brcm63xx/patches-3.14/536-board_fast2704.patch index d48f38e1a8..34b02f5ec0 100644 --- a/target/linux/brcm63xx/patches-3.14/536-board_fast2704.patch +++ b/target/linux/brcm63xx/patches-3.14/536-board_fast2704.patch @@ -57,7 +57,7 @@ Signed-off-by: Marcin Jurkowski #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 #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, }, diff --git a/target/linux/brcm63xx/patches-3.14/537-board_fast2504n.patch b/target/linux/brcm63xx/patches-3.14/537-board_fast2504n.patch index fd5b3244ad..0db9a2e500 100644 --- a/target/linux/brcm63xx/patches-3.14/537-board_fast2504n.patch +++ b/target/linux/brcm63xx/patches-3.14/537-board_fast2504n.patch @@ -6,7 +6,7 @@ Signed-off-by: Max Staudt --- --- 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 #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 #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 diff --git a/target/linux/brcm63xx/patches-3.14/550-MIPS-BCM63XX-remove-leds-and-buttons.patch b/target/linux/brcm63xx/patches-3.14/550-MIPS-BCM63XX-remove-leds-and-buttons.patch index 45aca0900a..8ff7d5b8d9 100644 --- a/target/linux/brcm63xx/patches-3.14/550-MIPS-BCM63XX-remove-leds-and-buttons.patch +++ b/target/linux/brcm63xx/patches-3.14/550-MIPS-BCM63XX-remove-leds-and-buttons.patch @@ -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, diff --git a/target/linux/brcm63xx/patches-3.14/553-boards_probe_switch.patch b/target/linux/brcm63xx/patches-3.14/553-boards_probe_switch.patch index 03cda5cee7..2bb7d72655 100644 --- a/target/linux/brcm63xx/patches-3.14/553-boards_probe_switch.patch +++ b/target/linux/brcm63xx/patches-3.14/553-boards_probe_switch.patch @@ -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 = { diff --git a/target/linux/brcm63xx/patches-3.14/555-board_96318ref.patch b/target/linux/brcm63xx/patches-3.14/555-board_96318ref.patch index 674770c9fc..76ae147449 100644 --- a/target/linux/brcm63xx/patches-3.14/555-board_96318ref.patch +++ b/target/linux/brcm63xx/patches-3.14/555-board_96318ref.patch @@ -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 diff --git a/target/linux/brcm63xx/patches-3.14/556-board_96318ref_p300.patch b/target/linux/brcm63xx/patches-3.14/556-board_96318ref_p300.patch index 024497f9ab..e8e69b3118 100644 --- a/target/linux/brcm63xx/patches-3.14/556-board_96318ref_p300.patch +++ b/target/linux/brcm63xx/patches-3.14/556-board_96318ref_p300.patch @@ -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, diff --git a/target/linux/brcm63xx/patches-3.14/557-board_bcm963269bhr.patch b/target/linux/brcm63xx/patches-3.14/557-board_bcm963269bhr.patch index 933cd44ed7..85003ed015 100644 --- a/target/linux/brcm63xx/patches-3.14/557-board_bcm963269bhr.patch +++ b/target/linux/brcm63xx/patches-3.14/557-board_bcm963269bhr.patch @@ -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 diff --git a/target/linux/brcm63xx/patches-3.14/558-board_AR1004G.patch b/target/linux/brcm63xx/patches-3.14/558-board_AR1004G.patch index daa01768b2..1ca0319b7d 100644 --- a/target/linux/brcm63xx/patches-3.14/558-board_AR1004G.patch +++ b/target/linux/brcm63xx/patches-3.14/558-board_AR1004G.patch @@ -8,7 +8,7 @@ Signed-off-by: Adrian Feliks --- --- 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 /* 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 #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, }, diff --git a/target/linux/brcm63xx/patches-3.14/559-board_vw6339gu.patch b/target/linux/brcm63xx/patches-3.14/559-board_vw6339gu.patch index bbbbebae94..2b70a99bdf 100644 --- a/target/linux/brcm63xx/patches-3.14/559-board_vw6339gu.patch +++ b/target/linux/brcm63xx/patches-3.14/559-board_vw6339gu.patch @@ -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, diff --git a/target/linux/brcm63xx/patches-3.14/560-board_963268gu_p300.patch b/target/linux/brcm63xx/patches-3.14/560-board_963268gu_p300.patch index c25d8ca93e..8812aecc1d 100644 --- a/target/linux/brcm63xx/patches-3.14/560-board_963268gu_p300.patch +++ b/target/linux/brcm63xx/patches-3.14/560-board_963268gu_p300.patch @@ -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 diff --git a/target/linux/brcm63xx/patches-3.14/561-board_WAP-5813n.patch b/target/linux/brcm63xx/patches-3.14/561-board_WAP-5813n.patch index 7d40b8c19b..805b9d3896 100644 --- a/target/linux/brcm63xx/patches-3.14/561-board_WAP-5813n.patch +++ b/target/linux/brcm63xx/patches-3.14/561-board_WAP-5813n.patch @@ -10,7 +10,7 @@ #include #include #include -@@ -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, }, diff --git a/target/linux/brcm63xx/patches-3.14/562-board_VR-3025u.patch b/target/linux/brcm63xx/patches-3.14/562-board_VR-3025u.patch index 2c7d4e1395..0506ea64cf 100644 --- a/target/linux/brcm63xx/patches-3.14/562-board_VR-3025u.patch +++ b/target/linux/brcm63xx/patches-3.14/562-board_VR-3025u.patch @@ -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, }, diff --git a/target/linux/brcm63xx/patches-3.14/563-board_VR-3025un.patch b/target/linux/brcm63xx/patches-3.14/563-board_VR-3025un.patch index 038c0e8758..1619ee1a67 100644 --- a/target/linux/brcm63xx/patches-3.14/563-board_VR-3025un.patch +++ b/target/linux/brcm63xx/patches-3.14/563-board_VR-3025un.patch @@ -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, }, diff --git a/target/linux/brcm63xx/patches-3.14/564-board_P870HW-51a_v2.patch b/target/linux/brcm63xx/patches-3.14/564-board_P870HW-51a_v2.patch index 433fa173d0..480d9fc8c7 100644 --- a/target/linux/brcm63xx/patches-3.14/564-board_P870HW-51a_v2.patch +++ b/target/linux/brcm63xx/patches-3.14/564-board_P870HW-51a_v2.patch @@ -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, }, diff --git a/target/linux/brcm63xx/patches-3.14/565-board_hw520.patch b/target/linux/brcm63xx/patches-3.14/565-board_hw520.patch index 70eeaf91f5..c84b194104 100644 --- a/target/linux/brcm63xx/patches-3.14/565-board_hw520.patch +++ b/target/linux/brcm63xx/patches-3.14/565-board_hw520.patch @@ -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, }, diff --git a/target/linux/brcm63xx/patches-3.14/566-board_A4001N.patch b/target/linux/brcm63xx/patches-3.14/566-board_A4001N.patch index 4c4227a3c1..548c65632a 100644 --- a/target/linux/brcm63xx/patches-3.14/566-board_A4001N.patch +++ b/target/linux/brcm63xx/patches-3.14/566-board_A4001N.patch @@ -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 diff --git a/target/linux/brcm63xx/patches-3.14/567-board_dsl-2751b_e1.patch b/target/linux/brcm63xx/patches-3.14/567-board_dsl-2751b_e1.patch index 96f8bdd4dd..72be18cdb2 100644 --- a/target/linux/brcm63xx/patches-3.14/567-board_dsl-2751b_e1.patch +++ b/target/linux/brcm63xx/patches-3.14/567-board_dsl-2751b_e1.patch @@ -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, diff --git a/target/linux/brcm63xx/patches-3.14/568-board_DGND3700v1_3800B.patch b/target/linux/brcm63xx/patches-3.14/568-board_DGND3700v1_3800B.patch index c25c62d0a6..82dfe68ce7 100644 --- a/target/linux/brcm63xx/patches-3.14/568-board_DGND3700v1_3800B.patch +++ b/target/linux/brcm63xx/patches-3.14/568-board_DGND3700v1_3800B.patch @@ -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, }, diff --git a/target/linux/brcm63xx/patches-3.18/533-board_rta770bw.patch b/target/linux/brcm63xx/patches-3.18/533-board_rta770bw.patch index d998733731..96e2f6a036 100644 --- a/target/linux/brcm63xx/patches-3.18/533-board_rta770bw.patch +++ b/target/linux/brcm63xx/patches-3.18/533-board_rta770bw.patch @@ -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, }, diff --git a/target/linux/brcm63xx/patches-3.18/534-board_hw556.patch b/target/linux/brcm63xx/patches-3.18/534-board_hw556.patch index 72b62b882a..76b9faf972 100644 --- a/target/linux/brcm63xx/patches-3.18/534-board_hw556.patch +++ b/target/linux/brcm63xx/patches-3.18/534-board_hw556.patch @@ -8,7 +8,7 @@ #include #include #include -@@ -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, }, diff --git a/target/linux/brcm63xx/patches-3.18/535-board_rta770w.patch b/target/linux/brcm63xx/patches-3.18/535-board_rta770w.patch index 5f853bba48..f9ce5bed56 100644 --- a/target/linux/brcm63xx/patches-3.18/535-board_rta770w.patch +++ b/target/linux/brcm63xx/patches-3.18/535-board_rta770w.patch @@ -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, }, diff --git a/target/linux/brcm63xx/patches-3.18/536-board_fast2704.patch b/target/linux/brcm63xx/patches-3.18/536-board_fast2704.patch index d48f38e1a8..34b02f5ec0 100644 --- a/target/linux/brcm63xx/patches-3.18/536-board_fast2704.patch +++ b/target/linux/brcm63xx/patches-3.18/536-board_fast2704.patch @@ -57,7 +57,7 @@ Signed-off-by: Marcin Jurkowski #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 #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, }, diff --git a/target/linux/brcm63xx/patches-3.18/537-board_fast2504n.patch b/target/linux/brcm63xx/patches-3.18/537-board_fast2504n.patch index fd5b3244ad..0db9a2e500 100644 --- a/target/linux/brcm63xx/patches-3.18/537-board_fast2504n.patch +++ b/target/linux/brcm63xx/patches-3.18/537-board_fast2504n.patch @@ -6,7 +6,7 @@ Signed-off-by: Max Staudt --- --- 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 #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 #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 diff --git a/target/linux/brcm63xx/patches-3.18/550-MIPS-BCM63XX-remove-leds-and-buttons.patch b/target/linux/brcm63xx/patches-3.18/550-MIPS-BCM63XX-remove-leds-and-buttons.patch index 45aca0900a..8ff7d5b8d9 100644 --- a/target/linux/brcm63xx/patches-3.18/550-MIPS-BCM63XX-remove-leds-and-buttons.patch +++ b/target/linux/brcm63xx/patches-3.18/550-MIPS-BCM63XX-remove-leds-and-buttons.patch @@ -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, diff --git a/target/linux/brcm63xx/patches-3.18/553-boards_probe_switch.patch b/target/linux/brcm63xx/patches-3.18/553-boards_probe_switch.patch index b0d98957f2..0c1024bd2e 100644 --- a/target/linux/brcm63xx/patches-3.18/553-boards_probe_switch.patch +++ b/target/linux/brcm63xx/patches-3.18/553-boards_probe_switch.patch @@ -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 = { diff --git a/target/linux/brcm63xx/patches-3.18/555-board_96318ref.patch b/target/linux/brcm63xx/patches-3.18/555-board_96318ref.patch index 674770c9fc..76ae147449 100644 --- a/target/linux/brcm63xx/patches-3.18/555-board_96318ref.patch +++ b/target/linux/brcm63xx/patches-3.18/555-board_96318ref.patch @@ -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 diff --git a/target/linux/brcm63xx/patches-3.18/556-board_96318ref_p300.patch b/target/linux/brcm63xx/patches-3.18/556-board_96318ref_p300.patch index 024497f9ab..e8e69b3118 100644 --- a/target/linux/brcm63xx/patches-3.18/556-board_96318ref_p300.patch +++ b/target/linux/brcm63xx/patches-3.18/556-board_96318ref_p300.patch @@ -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, diff --git a/target/linux/brcm63xx/patches-3.18/557-board_bcm963269bhr.patch b/target/linux/brcm63xx/patches-3.18/557-board_bcm963269bhr.patch index 933cd44ed7..85003ed015 100644 --- a/target/linux/brcm63xx/patches-3.18/557-board_bcm963269bhr.patch +++ b/target/linux/brcm63xx/patches-3.18/557-board_bcm963269bhr.patch @@ -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 diff --git a/target/linux/brcm63xx/patches-3.18/558-board_AR1004G.patch b/target/linux/brcm63xx/patches-3.18/558-board_AR1004G.patch index daa01768b2..1ca0319b7d 100644 --- a/target/linux/brcm63xx/patches-3.18/558-board_AR1004G.patch +++ b/target/linux/brcm63xx/patches-3.18/558-board_AR1004G.patch @@ -8,7 +8,7 @@ Signed-off-by: Adrian Feliks --- --- 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 /* 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 #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, }, diff --git a/target/linux/brcm63xx/patches-3.18/559-board_vw6339gu.patch b/target/linux/brcm63xx/patches-3.18/559-board_vw6339gu.patch index bbbbebae94..2b70a99bdf 100644 --- a/target/linux/brcm63xx/patches-3.18/559-board_vw6339gu.patch +++ b/target/linux/brcm63xx/patches-3.18/559-board_vw6339gu.patch @@ -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, diff --git a/target/linux/brcm63xx/patches-3.18/560-board_963268gu_p300.patch b/target/linux/brcm63xx/patches-3.18/560-board_963268gu_p300.patch index c25d8ca93e..8812aecc1d 100644 --- a/target/linux/brcm63xx/patches-3.18/560-board_963268gu_p300.patch +++ b/target/linux/brcm63xx/patches-3.18/560-board_963268gu_p300.patch @@ -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 diff --git a/target/linux/brcm63xx/patches-3.18/561-board_WAP-5813n.patch b/target/linux/brcm63xx/patches-3.18/561-board_WAP-5813n.patch index 7d40b8c19b..805b9d3896 100644 --- a/target/linux/brcm63xx/patches-3.18/561-board_WAP-5813n.patch +++ b/target/linux/brcm63xx/patches-3.18/561-board_WAP-5813n.patch @@ -10,7 +10,7 @@ #include #include #include -@@ -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, }, diff --git a/target/linux/brcm63xx/patches-3.18/562-board_VR-3025u.patch b/target/linux/brcm63xx/patches-3.18/562-board_VR-3025u.patch index 2c7d4e1395..0506ea64cf 100644 --- a/target/linux/brcm63xx/patches-3.18/562-board_VR-3025u.patch +++ b/target/linux/brcm63xx/patches-3.18/562-board_VR-3025u.patch @@ -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, }, diff --git a/target/linux/brcm63xx/patches-3.18/563-board_VR-3025un.patch b/target/linux/brcm63xx/patches-3.18/563-board_VR-3025un.patch index 038c0e8758..1619ee1a67 100644 --- a/target/linux/brcm63xx/patches-3.18/563-board_VR-3025un.patch +++ b/target/linux/brcm63xx/patches-3.18/563-board_VR-3025un.patch @@ -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, }, diff --git a/target/linux/brcm63xx/patches-3.18/564-board_P870HW-51a_v2.patch b/target/linux/brcm63xx/patches-3.18/564-board_P870HW-51a_v2.patch index 433fa173d0..480d9fc8c7 100644 --- a/target/linux/brcm63xx/patches-3.18/564-board_P870HW-51a_v2.patch +++ b/target/linux/brcm63xx/patches-3.18/564-board_P870HW-51a_v2.patch @@ -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, }, diff --git a/target/linux/brcm63xx/patches-3.18/565-board_hw520.patch b/target/linux/brcm63xx/patches-3.18/565-board_hw520.patch index 70eeaf91f5..c84b194104 100644 --- a/target/linux/brcm63xx/patches-3.18/565-board_hw520.patch +++ b/target/linux/brcm63xx/patches-3.18/565-board_hw520.patch @@ -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, }, diff --git a/target/linux/brcm63xx/patches-3.18/566-board_A4001N.patch b/target/linux/brcm63xx/patches-3.18/566-board_A4001N.patch index 4c4227a3c1..548c65632a 100644 --- a/target/linux/brcm63xx/patches-3.18/566-board_A4001N.patch +++ b/target/linux/brcm63xx/patches-3.18/566-board_A4001N.patch @@ -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 diff --git a/target/linux/brcm63xx/patches-3.18/567-board_dsl-2751b_e1.patch b/target/linux/brcm63xx/patches-3.18/567-board_dsl-2751b_e1.patch index 96f8bdd4dd..72be18cdb2 100644 --- a/target/linux/brcm63xx/patches-3.18/567-board_dsl-2751b_e1.patch +++ b/target/linux/brcm63xx/patches-3.18/567-board_dsl-2751b_e1.patch @@ -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, diff --git a/target/linux/brcm63xx/patches-3.18/568-board_DGND3700v1_3800B.patch b/target/linux/brcm63xx/patches-3.18/568-board_DGND3700v1_3800B.patch index c25c62d0a6..82dfe68ce7 100644 --- a/target/linux/brcm63xx/patches-3.18/568-board_DGND3700v1_3800B.patch +++ b/target/linux/brcm63xx/patches-3.18/568-board_DGND3700v1_3800B.patch @@ -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, }, diff --git a/target/linux/brcm63xx/patches-3.18/569-board_homehub2a.patch b/target/linux/brcm63xx/patches-3.18/569-board_homehub2a.patch index a5deb1aa6a..d8a706cc5d 100644 --- a/target/linux/brcm63xx/patches-3.18/569-board_homehub2a.patch +++ b/target/linux/brcm63xx/patches-3.18/569-board_homehub2a.patch @@ -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, }, diff --git a/target/linux/brcm63xx/profiles/dynalink.mk b/target/linux/brcm63xx/profiles/dynalink.mk index 53f3f40770..f15699fd41 100644 --- a/target/linux/brcm63xx/profiles/dynalink.mk +++ b/target/linux/brcm63xx/profiles/dynalink.mk @@ -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 -- 2.30.2