* [PATCH 5/8] bcm63xx: add bcm96338w and bcm96338gw board support
@ 2009-08-07 21:46 Florian Fainelli
2009-08-08 18:53 ` Ralf Baechle
0 siblings, 1 reply; 2+ messages in thread
From: Florian Fainelli @ 2009-08-07 21:46 UTC (permalink / raw)
To: Ralf Baechle; +Cc: Maxime Bizon, linux-mips
This patch adds support for the bcm96338w and bcm96338gw
reference designs. Tested on bcm96338w.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
---
diff --git a/arch/mips/bcm63xx/boards/board_bcm963xx.c b/arch/mips/bcm63xx/boards/board_bcm963xx.c
index 8bc4966..e639438 100644
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -37,6 +37,93 @@ static unsigned int mac_addr_used;
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 = {
+ .force_speed_100 = 1,
+ .force_duplex_full = 1,
+ },
+
+ .has_ohci0 = 1,
+
+ .leds = {
+ {
+ .name = "adsl",
+ .gpio = 3,
+ .active_low = 1,
+ },
+ {
+ .name = "ses",
+ .gpio = 5,
+ .active_low = 1,
+ },
+ {
+ .name = "ppp-fail",
+ .gpio = 4,
+ .active_low = 1,
+ },
+ {
+ .name = "power",
+ .gpio = 0,
+ .active_low = 1,
+ .default_trigger = "default-on",
+ },
+ {
+ .name = "stop",
+ .gpio = 1,
+ .active_low = 1,
+ }
+ },
+};
+
+static struct board_info __initdata board_96338w = {
+ .name = "96338W",
+ .expected_cpu_id = 0x6338,
+
+ .has_enet0 = 1,
+ .enet0 = {
+ .force_speed_100 = 1,
+ .force_duplex_full = 1,
+ },
+
+ .leds = {
+ {
+ .name = "adsl",
+ .gpio = 3,
+ .active_low = 1,
+ },
+ {
+ .name = "ses",
+ .gpio = 5,
+ .active_low = 1,
+ },
+ {
+ .name = "ppp-fail",
+ .gpio = 4,
+ .active_low = 1,
+ },
+ {
+ .name = "power",
+ .gpio = 0,
+ .active_low = 1,
+ .default_trigger = "default-on",
+ },
+ {
+ .name = "stop",
+ .gpio = 1,
+ .active_low = 1,
+ },
+ },
+};
+#endif
+
+/*
* known 6348 boards
*/
#ifdef CONFIG_BCM63XX_CPU_6348
@@ -445,6 +532,10 @@ static struct board_info __initdata board_AGPFS0 = {
* all boards
*/
static const struct board_info __initdata *bcm963xx_boards[] = {
+#ifdef CONFIG_BCM63XX_CPU_6338
+ &board_96338gw,
+ &board_96338w,
+#endif
#ifdef CONFIG_BCM63XX_CPU_6348
&board_96348r,
&board_96348gw,
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 5/8] bcm63xx: add bcm96338w and bcm96338gw board support
2009-08-07 21:46 [PATCH 5/8] bcm63xx: add bcm96338w and bcm96338gw board support Florian Fainelli
@ 2009-08-08 18:53 ` Ralf Baechle
0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2009-08-08 18:53 UTC (permalink / raw)
To: Florian Fainelli; +Cc: Maxime Bizon, linux-mips
On Fri, Aug 07, 2009 at 11:46:52PM +0200, Florian Fainelli wrote:
Folded into "MIPS: BCM63XX: Add board support code."
Thanks,
Ralf
PS: This patch contais some more George Michael ;-)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-08-08 18:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-07 21:46 [PATCH 5/8] bcm63xx: add bcm96338w and bcm96338gw board support Florian Fainelli
2009-08-08 18:53 ` Ralf Baechle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).