WL500G,
WL500GD,
WL500GP,
WL500G,
WL500GD,
WL500GP,
{ .name = "power", .gpio = 1 << 1, .polarity = REVERSE },
},
},
{ .name = "power", .gpio = 1 << 1, .polarity = REVERSE },
},
},
+ [WL500W] = {
+ .name = "ASUS WL-500W",
+ .buttons = {
+ { .name = "reset", .gpio = 1 << 6 },
+ { .name = "ses", .gpio = 1 << 7 },
+ },
+ .leds = {
+ { .name = "power", .gpio = 1 << 5, .polarity = REVERSE },
+ },
+ },
[ASUS_4702] = {
.name = "ASUS (unknown, BCM4702)",
.buttons = {
[ASUS_4702] = {
.name = "ASUS (unknown, BCM4702)",
.buttons = {
if (!strcmp(boardnum, "45")) { /* ASUS */
if (!strcmp(boardtype,"0x042f"))
return &platforms[WL500GP];
if (!strcmp(boardnum, "45")) { /* ASUS */
if (!strcmp(boardtype,"0x042f"))
return &platforms[WL500GP];
+ else if (!strcmp(boardtype,"0x0472"))
+ return &platforms[WL500W];
else
return &platforms[WL500GD];
}
else
return &platforms[WL500GD];
}