bcm53xx: drop linux 4.4 and 4.9 support
[openwrt/staging/wigyori.git] / target / linux / brcm63xx / patches-4.4 / 566-board_A4001N.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -349,6 +349,49 @@ static struct board_info __initdata boar
4 },
5 };
6
7 +static struct board_info __initdata board_A4001N = {
8 + .name = "96328dg2x2",
9 + .expected_cpu_id = 0x6328,
10 +
11 + .has_pci = 1,
12 + .use_fallback_sprom = 1,
13 + .has_ohci0 = 1,
14 + .has_ehci0 = 1,
15 + .num_usbh_ports = 1,
16 + .has_enetsw = 1,
17 +
18 + .enetsw = {
19 + .used_ports = {
20 + [0] = {
21 + .used = 1,
22 + .phy_id = 1,
23 + .name = "Port 1",
24 + },
25 + [1] = {
26 + .used = 1,
27 + .phy_id = 2,
28 + .name = "Port 2",
29 + },
30 + [2] = {
31 + .used = 1,
32 + .phy_id = 3,
33 + .name = "Port 3",
34 + },
35 + [3] = {
36 + .used = 1,
37 + .phy_id = 4,
38 + .name = "Port 4",
39 + },
40 + },
41 + },
42 +
43 + .fallback_sprom = {
44 + .type = SPROM_BCM43225,
45 + .pci_bus = 1,
46 + .pci_dev = 0,
47 + },
48 +};
49 +
50 static struct board_info __initdata board_A4001N1 = {
51 .name = "963281T_TEF",
52 .expected_cpu_id = 0x6328,
53 @@ -2002,6 +2045,7 @@ static const struct board_info __initcon
54 &board_AR5381u,
55 &board_AR5387un,
56 &board_963281TAN,
57 + &board_A4001N,
58 &board_A4001N1,
59 &board_dsl_274xb_f1,
60 &board_FAST2704V2,
61 @@ -2090,6 +2134,7 @@ static struct of_device_id const bcm963x
62 { .compatible = "brcm,bcm96318ref_p300", .data = &board_96318ref_p300, },
63 #endif
64 #ifdef CONFIG_BCM63XX_CPU_6328
65 + { .compatible = "adb,a4001n", .data = &board_A4001N, },
66 { .compatible = "adb,a4001n1", .data = &board_A4001N1, },
67 { .compatible = "brcm,bcm963281TAN", .data = &board_963281TAN, },
68 { .compatible = "brcm,bcm96328avng", .data = &board_96328avng, },