bcm63xx: add new BCM6348-based board definitions
PATCH 2/10 bcm63xx: add new BCM6348-based board definitions
This patch adds new board definitions on which the OpenWrt users including myself have goten working. New boards are:
- 96348r
- 96348gw
- 96348gw-10
- 96348gw-11
- 96348gw-a
- Sagem F@2404
- Davolink DV201AMR
Signed-off-by Florian Fainelli <[email protected]>
---
arch/mips/bcm63xx/boards/board_bcm963xx.c +122 -0
@@ -4,6 +4,7 @@* for more details. * * Copyright (C) 2008 Maxime Bizon <[email protected]> +* Copyright (C) 2008 Florian Fainelli <[email protected]> */ #include <linux/init.h>
@@ -50,17 +51,133 @@ static struct board_info __initdata board_96348r = { }, }; +static struct board_info __initdata board_96348gw_10 = { + .name ="96348GW-10" , + .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 , + }, + + .has_ohci0 =1 , + .has_pccard =1 , + .has_ehci0 =1 , +}; + +static struct board_info __initdata board_96348gw_11 = { + .name ="96348GW-11" , + .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 , + }, + + + .has_ohci0 =1 , + .has_pccard =1 , + .has_ehci0 =1 , +}; +static struct board_info __initdata board_96348gw = { .name ="96348GW" , .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 , + }, + + .has_ohci0 =1 , +}; + +static struct board_info __initdata board_FAST2404 = { + .name ="F@ST2404" , + .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 , + }, + + + .has_ohci0 =1 , + .has_pccard =1 , + .has_ehci0 =1 , +}; + +static struct board_info __initdata board_DV201AMR = { + .name ="DV201AMR" , + .expected_cpu_id =0x6348 , + + .has_pci =1 , + .has_ohci0 =1 , + + .has_enet0 =1 , + .has_enet1 =1 , + .enet0 = { + .has_phy =1 , + .use_internal_phy =1 , + }, + .enet1 = { + .force_speed_100 =1 , + .force_duplex_full =1 , + }, +}; + +static struct board_info __initdata board_96348gw_a = { + .name ="96348GW-A" , + .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 , + }, + + .has_ohci0 =1 , };#endif
@@ -100,6 +217,11 @@ static const struct board_info __initdata *bcm963xx_boards[] = {#ifdef CONFIG_BCM63XX_CPU_6348 &board_96348r, &board_96348gw, + &board_96348gw_10, + &board_96348gw_11, + &board_FAST2404, + &board_DV201AMR, + &board_96348gw_a, #endif #ifdef CONFIG_BCM63XX_CPU_6358
On Sun, May 31, 2009 at 08:26:19PM +0200, Florian Fainelli wrote:
Folded into the existing patchset after removing the bloody trailing whitespaces added by it.
Thanks,
Ralf