aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@openwrt.org>2013-08-03 17:10:37 +0000
committerHauke Mehrtens <hauke@openwrt.org>2013-08-03 17:10:37 +0000
commita0499748968845d0433964c37e161ec456fbe1e9 (patch)
tree807f67771e04d7f8bce6e74486d347310279de6d /package
parent8ddfb802945d753458abede663da6785e4f17fef (diff)
downloadupstream-a0499748968845d0433964c37e161ec456fbe1e9.tar.gz
upstream-a0499748968845d0433964c37e161ec456fbe1e9.tar.bz2
upstream-a0499748968845d0433964c37e161ec456fbe1e9.zip
broadcom-diag: add gpio config for Asus RT-N66U
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37667 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/kernel/broadcom-diag/src/diag.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/kernel/broadcom-diag/src/diag.c b/package/kernel/broadcom-diag/src/diag.c
index e2c26c889f..c2a0d09194 100644
--- a/package/kernel/broadcom-diag/src/diag.c
+++ b/package/kernel/broadcom-diag/src/diag.c
@@ -109,6 +109,7 @@ enum {
WL700GE,
RTN12,
RTN16,
+ RTN66U,
/* Buffalo */
WBR2_G54,
@@ -674,6 +675,17 @@ static struct platform_t __initdata platforms[] = {
{ .name = "wlan", .gpio = 1 << 7, .polarity = NORMAL },
},
},
+ [RTN66U] = {
+ .name = "ASUS RT-N66U",
+ .buttons = {
+ { .name = "reset", .gpio = 1 << 9 },
+ { .name = "wps", .gpio = 1 << 4 },
+ },
+ .leds = {
+ { .name = "power", .gpio = 1 << 12, .polarity = REVERSE },
+ { .name = "usb", .gpio = 1 << 15, .polarity = REVERSE },
+ },
+ },
/* Buffalo */
[WHR_G54S] = {
.name = "Buffalo WHR-G54S",
@@ -1315,6 +1327,8 @@ static struct platform_t __init *platform_detect(void)
return &platforms[RTN12];
case BCM47XX_BOARD_ASUS_RTN16:
return &platforms[RTN16];
+ case BCM47XX_BOARD_ASUS_RTN66U:
+ return &platforms[RTN66U];
case BCM47XX_BOARD_ASUS_WL330GE:
return &platforms[WL330GE];
case BCM47XX_BOARD_ASUS_WL500GPV1: