add support for the Dynalink RTA770BW board

This board id is used by the Siemens Gigaset SE515 router.

SVN-Revision: 33917
master
Florian Fainelli 12 years ago
parent bdfcbb8bee
commit 917670922b
  1. 64
      target/linux/brcm63xx/patches-3.3/553-board_rta770bw.patch
  2. 4
      target/linux/brcm63xx/patches-3.3/801-ssb_export_fallback_sprom.patch

@ -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,

@ -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,
};

Loading…
Cancel
Save