aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2008-12-19 17:24:29 +0000
committerFlorian Fainelli <florian@openwrt.org>2008-12-19 17:24:29 +0000
commit85d59fbf8c0c41ba4bcc5e426461ed005c13f97a (patch)
treed000a2010fe120cb9c284f70d0a97a63bac9a5f1 /target/linux/brcm63xx
parent3f7137022daec366b77dd282786a10db84103964 (diff)
downloadupstream-85d59fbf8c0c41ba4bcc5e426461ed005c13f97a.tar.gz
upstream-85d59fbf8c0c41ba4bcc5e426461ed005c13f97a.tar.bz2
upstream-85d59fbf8c0c41ba4bcc5e426461ed005c13f97a.zip
add board registration of the bcm96338gw
SVN-Revision: 13693
Diffstat (limited to 'target/linux/brcm63xx')
-rw-r--r--target/linux/brcm63xx/files/arch/mips/bcm63xx/boards/board_bcm963xx.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/files/arch/mips/bcm63xx/boards/board_bcm963xx.c b/target/linux/brcm63xx/files/arch/mips/bcm63xx/boards/board_bcm963xx.c
index a899f508c1..8b42b7ff22 100644
--- a/target/linux/brcm63xx/files/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/target/linux/brcm63xx/files/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -35,6 +35,25 @@ static unsigned int mac_addr_used = 0;
static struct board_info board;
/*
+ * known 6338 boards
+ */
+
+#ifdef CONFIG_BCM63XX_CPU_6338
+static struct board_info __initdata board_96338gw = {
+ .name = "96338GW",
+ .expected_cpu_id = 0x6338,
+
+ .has_enet0 = 1,
+ .enet0 = {
+ .has_phy = 1,
+ .use_internal_phy = 1,
+ },
+
+ .has_ohci0 = 1,
+};
+#endif
+
+/*
* known 6348 boards
*/
#ifdef CONFIG_BCM63XX_CPU_6348
@@ -200,6 +219,9 @@ static struct board_info __initdata board_96358vw2 = {
* all boards
*/
static const struct board_info __initdata *bcm963xx_boards[] = {
+#ifdef CONFIG_BCM63XX_CPU_6338
+ &board_96338gw,
+#endif
#ifdef CONFIG_BCM63XX_CPU_6348
&board_96348r,
&board_96348gw,