1 From eeacc2529942051504bc957726aa178671344421 Mon Sep 17 00:00:00 2001
2 From: Maxime Bizon <mbizon@freebox.fr>
3 Date: Wed, 20 Jan 2010 16:21:30 +0100
4 Subject: [PATCH 32/63] bcm63xx: add support for 96368MVWG board.
7 arch/mips/bcm63xx/boards/board_bcm963xx.c | 95 ++++++++++++++++++++
8 .../mips/include/asm/mach-bcm63xx/board_bcm963xx.h | 2 +
9 2 files changed, 97 insertions(+), 0 deletions(-)
11 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
12 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
13 @@ -2015,6 +2015,80 @@ static struct board_info __initdata boar
19 +#ifdef CONFIG_BCM63XX_CPU_6368
20 +static struct board_info __initdata board_96368mvwg = {
21 + .name = "96368MVWG",
22 + .expected_cpu_id = 0x6368,
72 + .default_trigger = "default-on",
93 static const struct board_info __initdata *bcm963xx_boards[] = {
94 @@ -2063,6 +2137,10 @@ static const struct board_info __initdat
99 +#ifdef CONFIG_BCM63XX_CPU_6368
104 static void __init nb4_nvram_fixup(void)
105 @@ -2280,12 +2358,25 @@ void __init board_prom_init(void)
106 bcm63xx_pci_enabled = 1;
107 if (BCMCPU_IS_6348())
108 val |= GPIO_MODE_6348_G2_PCI;
110 + if (BCMCPU_IS_6368())
111 + val |= GPIO_MODE_6368_PCI_REQ1 |
112 + GPIO_MODE_6368_PCI_GNT1 |
113 + GPIO_MODE_6368_PCI_INTB |
114 + GPIO_MODE_6368_PCI_REQ0 |
115 + GPIO_MODE_6368_PCI_GNT0;
119 if (board.has_pccard) {
120 if (BCMCPU_IS_6348())
121 val |= GPIO_MODE_6348_G1_MII_PCCARD;
123 + if (BCMCPU_IS_6368())
124 + val |= GPIO_MODE_6368_PCMCIA_CD1 |
125 + GPIO_MODE_6368_PCMCIA_CD2 |
126 + GPIO_MODE_6368_PCMCIA_VS1 |
127 + GPIO_MODE_6368_PCMCIA_VS2;
130 if (board.has_enet0 && !board.enet0.use_internal_phy) {