brcm63xx: set HG556a A/B ath9k LED as active high
[lede.git] / target / linux / brcm63xx / patches-4.4 / 534-board_hw556.patch
index 666343c4c51cf90e448afcb9cb2dd17ff5791040..26d45c6a67d51add815c48270ac1bb9b2d70760f 100644 (file)
@@ -8,7 +8,7 @@
  #include <linux/platform_device.h>
  #include <linux/rtl8367.h>
  #include <asm/addrspace.h>
-@@ -1478,6 +1479,93 @@ static struct board_info __initdata boar
+@@ -1478,6 +1479,95 @@ static struct board_info __initdata boar
        },
  };
  
@@ -58,6 +58,7 @@
 +                      .slot                   = 1,
 +                      .endian_check           = 1,
 +                      .led_pin                = 2,
++                      .led_active_high        = 1,
 +              },
 +      },
 +
@@ -87,6 +88,7 @@
 +                      .slot                   = 1,
 +                      .endian_check           = 1,
 +                      .led_pin                = 2,
++                      .led_active_high        = 1,
 +              },
 +      },
 +
   /* T-Home Speedport W 303V Typ B */
  static struct board_info __initdata board_spw303v = {
        .name                   = "96358-502V",
-@@ -1739,6 +1827,9 @@ static const struct board_info __initcon
+@@ -1739,6 +1829,9 @@ static const struct board_info __initcon
        &board_nb4_fxc_r1,
        &board_ct6373_1,
        &board_HW553,
        &board_spw303v,
        &board_DVAG3810BN,
  #endif
-@@ -1811,6 +1902,9 @@ static struct of_device_id const bcm963x
+@@ -1811,6 +1904,9 @@ static struct of_device_id const bcm963x
        { .compatible = "d-link,dsl-2650u", .data = &board_96358vw2, },
        { .compatible = "d-link,dva-g3810bn/tl", .data = &board_DVAG3810BN, },
        { .compatible = "huawei,hg553", .data = &board_HW553, },