diff options
-rw-r--r-- | arch/mips/bcm63xx/boards/board_bcm963xx.c | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/arch/mips/bcm63xx/boards/board_bcm963xx.c b/arch/mips/bcm63xx/boards/board_bcm963xx.c index be7498a2a923..feb05258a4d1 100644 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c | |||
@@ -33,6 +33,48 @@ static unsigned int mac_addr_used; | |||
33 | static struct board_info board; | 33 | static struct board_info board; |
34 | 34 | ||
35 | /* | 35 | /* |
36 | * known 6328 boards | ||
37 | */ | ||
38 | #ifdef CONFIG_BCM63XX_CPU_6328 | ||
39 | static struct board_info __initdata board_96328avng = { | ||
40 | .name = "96328avng", | ||
41 | .expected_cpu_id = 0x6328, | ||
42 | |||
43 | .has_uart0 = 1, | ||
44 | .has_pci = 1, | ||
45 | |||
46 | .leds = { | ||
47 | { | ||
48 | .name = "96328avng::ppp-fail", | ||
49 | .gpio = 2, | ||
50 | .active_low = 1, | ||
51 | }, | ||
52 | { | ||
53 | .name = "96328avng::power", | ||
54 | .gpio = 4, | ||
55 | .active_low = 1, | ||
56 | .default_trigger = "default-on", | ||
57 | }, | ||
58 | { | ||
59 | .name = "96328avng::power-fail", | ||
60 | .gpio = 8, | ||
61 | .active_low = 1, | ||
62 | }, | ||
63 | { | ||
64 | .name = "96328avng::wps", | ||
65 | .gpio = 9, | ||
66 | .active_low = 1, | ||
67 | }, | ||
68 | { | ||
69 | .name = "96328avng::ppp", | ||
70 | .gpio = 11, | ||
71 | .active_low = 1, | ||
72 | }, | ||
73 | }, | ||
74 | }; | ||
75 | #endif | ||
76 | |||
77 | /* | ||
36 | * known 6338 boards | 78 | * known 6338 boards |
37 | */ | 79 | */ |
38 | #ifdef CONFIG_BCM63XX_CPU_6338 | 80 | #ifdef CONFIG_BCM63XX_CPU_6338 |
@@ -591,6 +633,9 @@ static struct board_info __initdata board_DWVS0 = { | |||
591 | * all boards | 633 | * all boards |
592 | */ | 634 | */ |
593 | static const struct board_info __initdata *bcm963xx_boards[] = { | 635 | static const struct board_info __initdata *bcm963xx_boards[] = { |
636 | #ifdef CONFIG_BCM63XX_CPU_6328 | ||
637 | &board_96328avng, | ||
638 | #endif | ||
594 | #ifdef CONFIG_BCM63XX_CPU_6338 | 639 | #ifdef CONFIG_BCM63XX_CPU_6338 |
595 | &board_96338gw, | 640 | &board_96338gw, |
596 | &board_96338w, | 641 | &board_96338w, |