Skip to contentSkip to conversation

bcm63xx: add new BCM6358-based board definitions

PATCH In review Florian Fainelli 2 participants 2 messages May 31, 2009 – Jun 1, 2009 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 3/10 bcm63xx: add new BCM6358-based board definitions

This patch adds new BCM6358-based board on which OpenWrt users have goten this kernel codebase running. New boards are:
- 96358vw
- 96358vw2
- Pirelli/Alice AGPFS0

---

arch/mips/bcm63xx/boards/board_bcm963xx.c +48 -0
index 486fd53..7b93fb8 100644
@@ -185,6 +185,30 @@ static struct board_info __initdata board_96348gw_a = {
  * known 6358 boards
  */
 #ifdef CONFIG_BCM63XX_CPU_6358
+static struct board_info __initdata board_96358vw = {
+	.name				= "96358VW",
+	.expected_cpu_id		= 0x6358,
+
+	.has_enet0			= 1,
+	.has_enet1			= 1,
+	.has_pci			= 1,
+
+	.enet0 = {
+		.has_phy		= 1,
+		.use_internal_phy	= 1,
+	},
+
+	.enet1 = {
+		.force_speed_100	= 1,
+		.force_duplex_full	= 1,
+	},
+
+
+	.has_ohci0 = 1,
+	.has_pccard = 1,
+	.has_ehci0 = 1,
+};
+
 static struct board_info __initdata board_96358vw2 = {
 	.name				= "96358VW2",
 	.expected_cpu_id		= 0x6358,
@@ -208,6 +232,28 @@ static struct board_info __initdata board_96358vw2 = {
 	.has_pccard = 1,
 	.has_ehci0 = 1,
 };
+
+static struct board_info __initdata board_AGPFS0 = {
+	.name                           = "AGPF-S0",
+	.expected_cpu_id                = 0x6358,
+
+	.has_enet0                      = 1,
+	.has_enet1                      = 1,
+	.has_pci                        = 1,
+
+	.enet0 = {
+		.has_phy                = 1,
+		.use_internal_phy       = 1,
+	},
+
+	.enet1 = {
+		.force_speed_100        = 1,
+		.force_duplex_full      = 1,
+	},
+
+	.has_ohci0 = 1,
+	.has_ehci0 = 1,
+};
 #endif
 
 /*
@@ -225,7 +271,9 @@ static const struct board_info __initdata *bcm963xx_boards[] = {
 #endif
 
 #ifdef CONFIG_BCM63XX_CPU_6358
+	&board_96358vw,
 	&board_96358vw2,
+	&board_AGPFS0,
 #endif
 };
 
#1 lore raw

On Sun, May 31, 2009 at 08:26:50PM +0200, Florian Fainelli wrote:

Also folded into the existing series.

Thanks,

Ralf