1 From: Marcin Jurkowski <marcin1j@gmail.com>
2 Date: Thu, 31 Oct 2013 22:33:10 +0000
3 Subject: [PATCH] bcm63xx: Add kernel support for Sagemcom F@ST2704V2 ADSL
6 This adds kernel support support for Sagemcom F@st 2704 wireless ADSL
8 It's a BCM6328-based 802.11n wireless router with USB port and ADSL2+
9 modem equipped with 64 MiB RAM and 8 MiB flash.
11 Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com>
13 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
14 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
15 @@ -660,6 +660,122 @@ static struct board_info __initdata boar
20 +static struct board_info __initdata board_FAST2704V2 = {
21 + .name = "F@ST2704V2",
22 + .expected_cpu_id = 0x6328,
60 + .name = "F@ST2704V2:green:power",
63 + .default_trigger = "default-on",
66 + .name = "F@ST2704V2:red:power",
71 + .name = "F@ST2704V2:red:inet",
76 + .name = "F@ST2704V2:green:dsl",
81 + .name = "F@ST2704V2:green:inet",
86 + .name = "F@ST2704V2:green:usb",
91 + /* side button LEDs */
93 + .name = "F@ST2704V2:green:wps",
98 + /* FIXME: can't control gpio0 line in "out" state, needs further investigation */
101 + .name = "F@ST2704V2:green:rfkill",
114 + .code = KEY_RESTART,
115 + .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
122 + .code = KEY_WPS_BUTTON,
123 + .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
131 + .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
135 #endif /* CONFIG_BCM63XX_CPU_6328 */
138 @@ -3502,6 +3618,7 @@ static const struct board_info __initcon
144 #ifdef CONFIG_BCM63XX_CPU_6338
146 @@ -3577,6 +3694,7 @@ static struct of_device_id const bcm963x
147 { .compatible = "comtrend,ar-5381u", .data = &board_AR5381u, },
148 { .compatible = "comtrend,ar-5387un", .data = &board_AR5387un, },
149 { .compatible = "d-link,dsl-274xb-f", .data = &board_dsl_274xb_f1, },
150 + { .compatible = "sagem,f@st2704v2", .data = &board_FAST2704V2, },
152 #ifdef CONFIG_BCM63XX_CPU_6338
153 { .compatible = "brcm,bcm96338gw", .data = &board_96338gw, },