ar71xx: build ALFA AP96 images with default profile as well
[oweals/openwrt.git] / target / linux / ar71xx / files / arch / mips / ar71xx / mach-wzr-hp-g450h.c
index f9cc025e43ba037db98322bba9591c3b320700a3..03376bb921febdd6f842a8e0753fa86c35ba49ea 100644 (file)
@@ -82,6 +82,20 @@ static struct gpio_led wzrhpg450h_leds_gpio[] __initdata = {
        },
 };
 
+
+static struct gpio_led wzrhpg450h_wmac_leds_gpio[] = {
+       {
+               .name           = "buffalo:blue:movie_engine",
+               .gpio           = 13,
+               .active_low     = 1,
+       },
+       {
+               .name           = "buffalo:green:router",
+               .gpio           = 14,
+               .active_low     = 1,
+       },
+};
+
 static struct gpio_keys_button wzrhpg450h_gpio_keys[] __initdata = {
        {
                .desc           = "reset",
@@ -151,6 +165,8 @@ static void __init wzrhpg450h_init(void)
 
        ap91_pci_init(ee, NULL);
        ap91_pci_setup_wmac_led_pin(15);
+       ap91_pci_setup_wmac_leds(wzrhpg450h_wmac_leds_gpio,
+                                ARRAY_SIZE(wzrhpg450h_wmac_leds_gpio));
 }
 
 MIPS_MACHINE(AR71XX_MACH_WZR_HP_G450H, "WZR-HP-G450H", "Buffalo WZR-HP-G450H",