brcm63xx: fix brcm, bcm6345-ext-intc interrupt controller
[openwrt/openwrt.git] / target / linux / brcm63xx / patches-4.1 / 533-board_rta770bw.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -523,6 +523,22 @@ static struct board_info __initdata boar
4
5 .has_uart0 = 1,
6 };
7 +
8 +static struct board_info __initdata board_rta770bw = {
9 + .name = "RTA770BW",
10 + .expected_cpu_id = 0x6345,
11 +
12 + .has_uart0 = 1,
13 +
14 + .has_enet0 = 1,
15 +
16 + .enet0 = {
17 + .has_phy = 1,
18 + .phy_id = 0,
19 + .force_speed_100 = 1,
20 + .force_duplex_full = 1,
21 + },
22 +};
23 #endif /* CONFIG_BCM63XX_CPU_6345 */
24
25 /*
26 @@ -1686,6 +1702,7 @@ static const struct board_info __initcon
27 #endif
28 #ifdef CONFIG_BCM63XX_CPU_6345
29 &board_96345gw2,
30 + &board_rta770bw,
31 #endif
32 #ifdef CONFIG_BCM63XX_CPU_6348
33 &board_96348r,
34 @@ -1756,6 +1773,7 @@ static struct of_device_id const bcm963x
35 #endif
36 #ifdef CONFIG_BCM63XX_CPU_6345
37 { .compatible = "brcm,bcm96345gw2", .data = &board_96345gw2, },
38 + { .compatible = "dynalink,rta770bw", .data = &board_rta770bw, },
39 #endif
40 #ifdef CONFIG_BCM63XX_CPU_6348
41 { .compatible = "belkin,f5d7633", .data = &board_96348gw_10, },