1 From: Max Staudt <openwrt.max@enpas.org>
2 Date: Wed, 15 Jan 2014 18:51:13 +0000
3 Subject: [PATCH] brcm63xx: F@ST2504n board support (Linux-3.10.26)
5 Signed-off-by: Max Staudt <openwrt.max@enpas.org>
7 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
8 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
9 @@ -3457,6 +3457,96 @@ static struct board_info __initdata boar
11 .num_devs = ARRAY_SIZE(nb6_devices),
14 +static struct board_info __initdata board_fast2504n = {
15 + .name = "F@ST2504n",
16 + .expected_cpu_id = 0x6362,
52 + .name = "fast2504n:orange:power",
57 + .name = "fast2504n:green:power",
60 + .default_trigger = "default-on",
63 + .name = "fast2504n:red:internet",
68 + .name = "fast2504n:green:ok",
73 + .name = "fast2504n:orange:ok",
78 + .name = "fast2504n:orange:wlan",
89 + .code = KEY_RESTART,
90 + .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
97 + .code = KEY_WPS_BUTTON,
98 + .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
103 #endif /* CONFIG_BCM63XX_CPU_6362 */
106 @@ -3674,6 +3764,7 @@ static const struct board_info __initcon
108 #ifdef CONFIG_BCM63XX_CPU_6362
113 #ifdef CONFIG_BCM63XX_CPU_6368
114 @@ -3747,6 +3838,7 @@ static struct of_device_id const bcm963x
115 { .compatible = "telsey,cpva642", .data = &board_CPVA642, },
117 #ifdef CONFIG_BCM63XX_CPU_6362
118 + { .compatible = "sagem,f@st2504n", .data = &board_fast2504n, },
119 { .compatible = "sfr,nb6-ser-r0", .data = &board_nb6, },
121 #ifdef CONFIG_BCM63XX_CPU_6368