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