bcm63xx: reorganize board patches
[openwrt/openwrt.git] / target / linux / bcm63xx / patches-5.4 / 531-board-bcm6328-adb-pdg-a4001n-a-000-1a1-ax.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -616,6 +616,49 @@ static struct board_info __initdata boar
4 },
5 };
6
7 +static struct board_info __initdata board_PDG_A4001N_A_000_1A1_AX = {
8 + .name = "96328avng",
9 + .expected_cpu_id = 0x6328,
10 +
11 + .has_pci = 1,
12 + .has_ohci0 = 1,
13 + .has_ehci0 = 1,
14 + .num_usbh_ports = 1,
15 +
16 + .has_enetsw = 1,
17 + .enetsw = {
18 + .used_ports = {
19 + [0] = {
20 + .used = 1,
21 + .phy_id = 1,
22 + .name = "Port 1",
23 + },
24 + [1] = {
25 + .used = 1,
26 + .phy_id = 2,
27 + .name = "Port 2",
28 + },
29 + [2] = {
30 + .used = 1,
31 + .phy_id = 3,
32 + .name = "Port 3",
33 + },
34 + [3] = {
35 + .used = 1,
36 + .phy_id = 4,
37 + .name = "Port 4",
38 + },
39 + },
40 + },
41 +
42 + .use_fallback_sprom = 1,
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 @@ -1141,6 +1184,7 @@ static const struct board_info __initcon
54 &board_AR5387un,
55 &board_963281TAN,
56 &board_A4001N,
57 + &board_PDG_A4001N_A_000_1A1_AX,
58 &board_A4001N1,
59 &board_dsl_274xb_f1,
60 &board_FAST2704V2,
61 @@ -1186,6 +1230,7 @@ static struct of_device_id const bcm963x
62 #ifdef CONFIG_BCM63XX_CPU_6328
63 { .compatible = "adb,a4001n", .data = &board_A4001N, },
64 { .compatible = "adb,a4001n1", .data = &board_A4001N1, },
65 + { .compatible = "adb,pdg-a4001n-a-000-1a1-ax", .data = &board_PDG_A4001N_A_000_1A1_AX, },
66 { .compatible = "brcm,bcm963281tan", .data = &board_963281TAN, },
67 { .compatible = "brcm,bcm96328avng", .data = &board_96328avng, },
68 { .compatible = "comtrend,ar-5381u", .data = &board_AR5381u, },