brcm63xx: switch to linux 4.4
[openwrt/staging/dedeckeh.git] / target / linux / brcm63xx / patches-4.1 / 369-MIPS-BCM63XX-populate-the-compatible-to-board_info-l.patch
1 From e71eea9953c774dfadb754258824fb1888c279f4 Mon Sep 17 00:00:00 2001
2 From: Jonas Gorski <jogo@openwrt.org>
3 Date: Fri, 21 Nov 2014 16:54:06 +0100
4 Subject: [PATCH 47/48] MIPS: BCM63XX: populate the compatible to board_info
5 list
6
7 Populate the compatible to board_info list to allow dtbs to be used
8 for known boards.
9
10 Signed-off-by: Jonas Gorski <jogo@openwrt.org>
11 ---
12 arch/mips/bcm63xx/boards/board_bcm963xx.c | 34 +++++++++++++++++++++++++++++
13 1 file changed, 34 insertions(+)
14
15 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
16 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
17 @@ -711,6 +711,48 @@ static const struct board_info __initcon
18 };
19
20 static struct of_device_id const bcm963xx_boards_dt[] = {
21 +#ifdef CONFIG_OF
22 +#ifdef CONFIG_BCM63XX_CPU_3368
23 + { .compatible = "netgear,cvg834g", .data = &board_cvg834g, },
24 +#endif
25 +#ifdef CONFIG_BCM63XX_CPU_6328
26 + { .compatible = "brcm,bcm96328avng", .data = &board_96328avng, },
27 +#endif
28 +#ifdef CONFIG_BCM63XX_CPU_6338
29 + { .compatible = "brcm,bcm96338gw", .data = &board_96338gw, },
30 + { .compatible = "brcm,bcm96338w", .data = &board_96338w, },
31 +#endif
32 +#ifdef CONFIG_BCM63XX_CPU_6345
33 + { .compatible = "brcm,bcm96345gw2", .data = &board_96345gw2, },
34 +#endif
35 +#ifdef CONFIG_BCM63XX_CPU_6348
36 + { .compatible = "belkin,f5d7633", .data = &board_96348gw_10, },
37 + { .compatible = "brcm,bcm96348r", .data = &board_96348r, },
38 + { .compatible = "brcm,bcm96348gw-10", .data = &board_96348gw_10, },
39 + { .compatible = "brcm,bcm96348gw-11", .data = &board_96348gw_11, },
40 + { .compatible = "brcm,bcm96348gw-a", .data = &board_96348gw_a, },
41 + { .compatible = "davolink,dv-201amr", .data = &board_DV201AMR, },
42 + { .compatible = "dynalink,rta1025w", .data = &board_rta1025w_16, },
43 + { .compatible = "netgear,dg834gtpn", .data = &board_96348gw_10, },
44 + { .compatible = "sagem,f@st2404", .data = &board_FAST2404, },
45 + { .compatible = "tp-link,td-w8900gb", .data = &board_96348gw_11, },
46 + { .compatible = "usr,9108", .data = &board_96348gw_a, },
47 +#endif
48 +#ifdef CONFIG_BCM63XX_CPU_6358
49 + { .compatible = "alcatel,rg100a", .data = &board_96358vw2, },
50 + { .compatible = "brcm,bcm96358vw", .data = &board_96358vw, },
51 + { .compatible = "brcm,bcm96358vw2", .data = &board_96358vw2, },
52 + { .compatible = "d-link,dsl-2650u", .data = &board_96358vw2, },
53 + { .compatible = "pirelli,a226g", .data = &board_DWVS0, },
54 + { .compatible = "pirelli,a226m", .data = &board_DWVS0, },
55 + { .compatible = "pirelli,a226m-fwb", .data = &board_DWVS0, },
56 + { .compatible = "pirelli,agpf-s0", .data = &board_AGPFS0, },
57 +#endif
58 +#ifdef CONFIG_BCM63XX_CPU_6368
59 +#endif
60 +#ifdef CONFIG_BCM63XX_CPU_63268
61 +#endif
62 +#endif /* CONFIG_OF */
63 { },
64 };
65