OpenWrt – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | From f457fc2eb9bb915b5a4d251c7c68d4694cf07b01 Mon Sep 17 00:00:00 2001 |
2 | From: Maxime Bizon <mbizon@freebox.fr> |
||
3 | Date: Fri, 4 Nov 2011 12:33:48 +0100 |
||
4 | Subject: [PATCH 33/63] bcm63xx: add support for 96368MVNgr board. |
||
5 | |||
6 | --- |
||
7 | arch/mips/bcm63xx/boards/board_bcm963xx.c | 67 +++++++++++++++++++++++++++++ |
||
8 | 1 files changed, 67 insertions(+), 0 deletions(-) |
||
9 | |||
10 | --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c |
||
11 | +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c |
||
12 | @@ -841,6 +841,45 @@ static struct board_info __initdata boar |
||
13 | .has_ohci0 = 1, |
||
14 | .has_ehci0 = 1, |
||
15 | }; |
||
16 | + |
||
17 | +static struct board_info __initdata board_96368mvngr = { |
||
18 | + .name = "96368MVNgr", |
||
19 | + .expected_cpu_id = 0x6368, |
||
20 | + |
||
21 | + .has_pci = 1, |
||
22 | + .has_enetsw = 1, |
||
23 | + |
||
24 | + .enetsw = { |
||
25 | + .used_ports = { |
||
26 | + [0] = { |
||
27 | + .used = 1, |
||
28 | + .phy_id = 1, |
||
29 | + .name = "port1", |
||
30 | + }, |
||
31 | + |
||
32 | + [1] = { |
||
33 | + .used = 1, |
||
34 | + .phy_id = 2, |
||
35 | + .name = "port2", |
||
36 | + }, |
||
37 | + |
||
38 | + [2] = { |
||
39 | + .used = 1, |
||
40 | + .phy_id = 3, |
||
41 | + .name = "port3", |
||
42 | + }, |
||
43 | + |
||
44 | + [3] = { |
||
45 | + .used = 1, |
||
46 | + .phy_id = 4, |
||
47 | + .name = "port4", |
||
48 | + }, |
||
49 | + }, |
||
50 | + }, |
||
51 | + |
||
52 | + .has_ohci0 = 1, |
||
53 | + .has_ehci0 = 1, |
||
54 | +}; |
||
55 | #endif /* CONFIG_BCM63XX_CPU_6368 */ |
||
56 | |||
57 | /* |
||
58 | @@ -898,6 +937,7 @@ static const struct board_info __initcon |
||
59 | |||
60 | #ifdef CONFIG_BCM63XX_CPU_6368 |
||
61 | &board_96368mvwg, |
||
62 | + &board_96368mvngr, |
||
63 | #endif |
||
64 | }; |
||
65 | |||
66 | @@ -959,6 +999,7 @@ static struct of_device_id const bcm963x |
||
67 | { .compatible = "telsey,cpva642", .data = &board_CPVA642, }, |
||
68 | #endif |
||
69 | #ifdef CONFIG_BCM63XX_CPU_6368 |
||
70 | + { .compatible = "brcm,bcm96368mvngr", .data = &board_96368mvngr, }, |
||
71 | { .compatible = "brcm,bcm96368mvwg", .data = &board_96368mvwg, }, |
||
72 | #endif |
||
73 | #ifdef CONFIG_BCM63XX_CPU_63268 |