add support for the Dynalink RTA770BW board
authorFlorian Fainelli <florian@openwrt.org>
Wed, 24 Oct 2012 21:25:22 +0000 (21:25 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Wed, 24 Oct 2012 21:25:22 +0000 (21:25 +0000)
This board id is used by the Siemens Gigaset SE515 router.

SVN-Revision: 33917

target/linux/brcm63xx/patches-3.3/553-board_rta770bw.patch [new file with mode: 0644]
target/linux/brcm63xx/patches-3.3/801-ssb_export_fallback_sprom.patch

diff --git a/target/linux/brcm63xx/patches-3.3/553-board_rta770bw.patch b/target/linux/brcm63xx/patches-3.3/553-board_rta770bw.patch
new file mode 100644 (file)
index 0000000..a1286c9
--- /dev/null
@@ -0,0 +1,64 @@
+--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
++++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
+@@ -735,6 +735,53 @@ static struct board_info __initdata boar
+       .has_uart0                      = 1,
+ };
++
++static struct board_info __initdata board_rta770bw = {
++      .name                           = "RTA770BW",
++      .expected_cpu_id                = 0x6345,
++
++      .has_uart0                      = 1,
++
++      .has_enet0                      = 1,
++
++      .enet0 = {
++              .force_speed_100        = 1,
++              .force_duplex_full      = 1,
++      },
++
++      .leds = {
++              {
++                      .name           = "RTA770BW:green:usb",
++                      .gpio           = 7,
++                      .active_low     = 1,
++              },
++              {
++                      .name           = "RTA770BW:green:adsl",
++                      .gpio           = 8,
++              },
++              {
++                      .name           = "RTA770BW:green:diag",
++                      .gpio           = 10,
++                      .active_low     = 1,
++              },
++              {
++                      .name           = "RTA770BW:green:wlan",
++                      .gpio           = 11,
++                      .active_low     = 1,
++              },
++      },
++
++      .buttons = {
++              {
++                      .desc           = "reset",
++                      .gpio           = 13,
++                      .type           = EV_KEY,
++                      .code           = KEY_RESTART,
++                      .active_low     = 1,
++                      .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
++              },
++      },
++};
+ #endif
+ /*
+@@ -3260,6 +3307,7 @@ static const struct board_info __initdat
+ #endif
+ #ifdef CONFIG_BCM63XX_CPU_6345
+       &board_96345gw2,
++      &board_rta770bw,
+ #endif
+ #ifdef CONFIG_BCM63XX_CPU_6348
+       &board_96348r,
index 820a8e8f12d002d96ae7c635a88edc2bb867d6af..3e380b12eb4bddaffc48484eb1f3d0521d1408cd 100644 (file)
@@ -8,7 +8,7 @@
  #include <linux/spi/spi.h>
  #include <linux/spi/spi_gpio.h>
  #include <linux/spi/74x164.h>
-@@ -3317,7 +3318,7 @@ static const struct board_info __initdat
+@@ -3365,7 +3366,7 @@ static const struct board_info __initdat
   * bcm4318 WLAN work
   */
  #ifdef CONFIG_SSB_PCIHOST
@@ -17,7 +17,7 @@
        .revision               = 0x02,
        .board_rev              = 0x17,
        .country_code           = 0x0,
-@@ -3337,6 +3338,7 @@ static struct ssb_sprom bcm63xx_sprom =
+@@ -3385,6 +3386,7 @@ static struct ssb_sprom bcm63xx_sprom =
        .boardflags_lo          = 0x2848,
        .boardflags_hi          = 0x0000,
  };