diff options
author | Florian Fainelli <florian@openwrt.org> | 2012-10-24 21:25:22 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2012-10-24 21:25:22 +0000 |
commit | 917670922b4691b622065a8a280a36298e24abd7 (patch) | |
tree | 4d7135aeab1b5a7aaf67a4d2366563abb77519f9 | |
parent | bdfcbb8beefa21acd0bfdd170ba95ea37888baa6 (diff) | |
download | upstream-917670922b4691b622065a8a280a36298e24abd7.tar.gz upstream-917670922b4691b622065a8a280a36298e24abd7.tar.bz2 upstream-917670922b4691b622065a8a280a36298e24abd7.zip |
add support for the Dynalink RTA770BW board
This board id is used by the Siemens Gigaset SE515 router.
SVN-Revision: 33917
-rw-r--r-- | target/linux/brcm63xx/patches-3.3/553-board_rta770bw.patch | 64 | ||||
-rw-r--r-- | target/linux/brcm63xx/patches-3.3/801-ssb_export_fallback_sprom.patch | 4 |
2 files changed, 66 insertions, 2 deletions
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 index 0000000000..a1286c91cf --- /dev/null +++ b/target/linux/brcm63xx/patches-3.3/553-board_rta770bw.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, diff --git a/target/linux/brcm63xx/patches-3.3/801-ssb_export_fallback_sprom.patch b/target/linux/brcm63xx/patches-3.3/801-ssb_export_fallback_sprom.patch index 820a8e8f12..3e380b12eb 100644 --- a/target/linux/brcm63xx/patches-3.3/801-ssb_export_fallback_sprom.patch +++ b/target/linux/brcm63xx/patches-3.3/801-ssb_export_fallback_sprom.patch @@ -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, }; |