bcm63xx: add linux v5.15 support
[openwrt/staging/noltari.git] / target / linux / bcm63xx / patches-5.15 / 514-board_bcm6345.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -1057,6 +1057,19 @@ static struct board_info __initdata boar
4 .name = "96345GW2",
5 .expected_cpu_id = 0x6345,
6 };
7 +
8 +static struct board_info __initdata board_rta770w = {
9 + .name = "RTA770BW",
10 + .expected_cpu_id = 0x6345,
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_6345 */
21
22 /*
23 @@ -1383,6 +1396,7 @@ static const struct board_info __initcon
24 #endif /* CONFIG_BCM63XX_CPU_6338 */
25 #ifdef CONFIG_BCM63XX_CPU_6345
26 &board_96345gw2,
27 + &board_rta770w,
28 #endif /* CONFIG_BCM63XX_CPU_6345 */
29 #ifdef CONFIG_BCM63XX_CPU_6348
30 &board_96348r,
31 @@ -1441,6 +1455,8 @@ static struct of_device_id const bcm963x
32 #endif /* CONFIG_BCM63XX_CPU_6338 */
33 #ifdef CONFIG_BCM63XX_CPU_6345
34 { .compatible = "brcm,bcm96345gw2", .data = &board_96345gw2, },
35 + { .compatible = "dynalink,rta770bw", .data = &board_rta770w, },
36 + { .compatible = "dynalink,rta770w", .data = &board_rta770w, },
37 #endif /* CONFIG_BCM63XX_CPU_6345 */
38 #ifdef CONFIG_BCM63XX_CPU_6348
39 { .compatible = "belkin,f5d7633", .data = &board_96348gw_10, },