Patchwork [2/4] bcm63xx: add rta1025w_16 board

login
register
mail settings
Submitter Florian Fainelli
Date 2010-03-01 10:03:22
Message ID <201003012336.22578.florian@openwrt.org>
Download mbox | patch
Permalink /patch/1014/
State Accepted
Delegated to: Ralf Baechle
Headers show

Comments

Florian Fainelli - 2010-03-01 10:03:22
Add the RTA1025W-16 BCM6348-based board to the list of suppported boards.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
---
Ralf Baechle - 2010-03-18 03:03:32
On Mon, Mar 01, 2010 at 11:36:22PM +0100, Florian Fainelli wrote:

Applied, thanks.

  Ralf

Patch

diff --git a/arch/mips/bcm63xx/boards/board_bcm963xx.c b/arch/mips/bcm63xx/boards/board_bcm963xx.c
index 00fa96b..0b1d60f 100644
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -380,6 +380,25 @@  static struct board_info __initdata board_FAST2404 = {
 	.has_ehci0			= 1,
 };
 
+static struct board_info __initdata board_rta1025w_16 = {
+	.name				= "RTA1025W_16",
+	.expected_cpu_id		= 0x6348,
+
+	.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,
+	},
+};
+
+
 static struct board_info __initdata board_DV201AMR = {
 	.name				= "DV201AMR",
 	.expected_cpu_id		= 0x6348,
@@ -569,6 +588,7 @@  static const struct board_info __initdata *bcm963xx_boards[] = {
 	&board_FAST2404,
 	&board_DV201AMR,
 	&board_96348gw_a,
+	&board_rta1025w_16,
 #endif
 
 #ifdef CONFIG_BCM63XX_CPU_6358