1 --- a/arch/mips/ar7/platform.c
2 +++ b/arch/mips/ar7/platform.c
3 @@ -455,6 +455,40 @@ static struct gpio_led fb_fon_leds[] = {
7 +static struct gpio_led gt701_leds[] = {
29 + .name = "powergreen",
32 + .default_trigger = "default-on",
41 static struct gpio_led_platform_data ar7_led_data;
43 static struct platform_device ar7_gpio_leds = {
44 @@ -496,6 +530,9 @@ static void __init detect_leds(void)
45 } else if (strstr(prid, "CYWM") || strstr(prid, "CYWL")) {
46 ar7_led_data.num_leds = ARRAY_SIZE(titan_leds);
47 ar7_led_data.leds = titan_leds;
48 + } else if (strstr(prid, "GT701")) {
49 + ar7_led_data.num_leds = ARRAY_SIZE(gt701_leds);
50 + ar7_led_data.leds = gt701_leds;