103343c874edeb7b62b9239f507e166e278948d2
[openwrt/openwrt.git] / target / linux / bcm63xx / patches-5.4 / 509-board_rta1320_16m.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -111,6 +111,19 @@ static struct board_info __initdata boar
4 .force_duplex_full = 1,
5 },
6 };
7 +
8 +static struct board_info __initdata board_rta1320_16m = {
9 + .name = "RTA1320_16M",
10 + .expected_cpu_id = 0x6338,
11 +
12 + .has_enet0 = 1,
13 + .enet0 = {
14 + .has_phy = 1,
15 + .phy_id = 0,
16 + .force_speed_100 = 1,
17 + .force_duplex_full = 1,
18 + },
19 +};
20 #endif /* CONFIG_BCM63XX_CPU_6338 */
21
22 /*
23 @@ -647,6 +660,7 @@ static const struct board_info __initcon
24 &board_96338gw,
25 &board_96338w,
26 &board_96338w2_e7t,
27 + &board_rta1320_16m,
28 #endif /* CONFIG_BCM63XX_CPU_6338 */
29 #ifdef CONFIG_BCM63XX_CPU_6345
30 &board_96345gw2,
31 @@ -690,6 +704,7 @@ static struct of_device_id const bcm963x
32 #ifdef CONFIG_BCM63XX_CPU_6338
33 { .compatible = "brcm,bcm96338gw", .data = &board_96338gw, },
34 { .compatible = "brcm,bcm96338w", .data = &board_96338w, },
35 + { .compatible = "dynalink,rta1320", .data = &board_rta1320_16m, },
36 { .compatible = "d-link,dsl-2640u", .data = &board_96338w2_e7t, },
37 #endif
38 #ifdef CONFIG_BCM63XX_CPU_6345