OpenWrt – Blame information for rev 3
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c |
2 | +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c |
||
3 | office | 3 | @@ -1604,6 +1604,50 @@ static struct board_info __initdata boar |
1 | office | 4 | #endif /* CONFIG_BCM63XX_CPU_6368 */ |
5 | |||
6 | /* |
||
7 | + * known 63268/63269 boards |
||
8 | + */ |
||
9 | +#ifdef CONFIG_BCM63XX_CPU_63268 |
||
10 | +static struct board_info __initdata board_963269bhr = { |
||
11 | + .name = "963269BHR", |
||
12 | + .expected_cpu_id = 0x63268, |
||
13 | + |
||
14 | + .has_pci = 1, |
||
15 | + |
||
16 | + .has_ehci0 = 1, |
||
17 | + |
||
18 | + .has_enetsw = 1, |
||
19 | + |
||
20 | + .enetsw = { |
||
21 | + .used_ports = { |
||
22 | + [0] = { |
||
23 | + .used = 1, |
||
24 | + .phy_id = 1, |
||
25 | + .name = "port1", |
||
26 | + }, |
||
27 | + |
||
28 | + [1] = { |
||
29 | + .used = 1, |
||
30 | + .phy_id = 2, |
||
31 | + .name = "port2", |
||
32 | + }, |
||
33 | + |
||
34 | + [2] = { |
||
35 | + .used = 1, |
||
36 | + .phy_id = 3, |
||
37 | + .name = "port3", |
||
38 | + }, |
||
39 | + |
||
40 | + [3] = { |
||
41 | + .used = 1, |
||
42 | + .phy_id = 4, |
||
43 | + .name = "port4", |
||
44 | + }, |
||
45 | + }, |
||
46 | + }, |
||
47 | +}; |
||
48 | +#endif /* CONFIG_BCM63XX_CPU_63268 */ |
||
49 | + |
||
50 | +/* |
||
51 | * all boards |
||
52 | */ |
||
53 | static const struct board_info __initconst *bcm963xx_boards[] = { |
||
3 | office | 54 | @@ -1684,6 +1728,9 @@ static const struct board_info __initcon |
1 | office | 55 | &board_96368mvwg, |
56 | &board_96368mvngr, |
||
57 | #endif |
||
58 | +#ifdef CONFIG_BCM63XX_CPU_63268 |
||
59 | + &board_963269bhr, |
||
60 | +#endif |
||
61 | }; |
||
62 | |||
63 | static struct of_device_id const bcm963xx_boards_dt[] = { |
||
3 | office | 64 | @@ -1771,6 +1818,7 @@ static struct of_device_id const bcm963x |
1 | office | 65 | { .compatible = "brcm,bcm96368mvwg", .data = &board_96368mvwg, }, |
66 | #endif |
||
67 | #ifdef CONFIG_BCM63XX_CPU_63268 |
||
68 | + { .compatible = "brcm,bcm963269bhr", .data = &board_963269bhr, }, |
||
69 | #endif |
||
70 | #endif /* CONFIG_OF */ |
||
71 | { }, |