brcm63xx: move buttons and leds to dts files
[openwrt.git] / target / linux / brcm63xx / patches-3.14 / 519_board_CPVA502plus.patch
index 55d1b98..b0233a1 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -538,6 +538,40 @@ static struct board_info __initdata boar
+@@ -445,6 +445,27 @@ static struct board_info __initdata boar
        },
  };
  
 +              .phy_id                 = 0,
 +      },
 +
-+      .leds = {
-+              {
-+                      .name           = "CPVA502+:green:phone",
-+                      .gpio           = 0,
-+                      .active_low     = 1,
-+              },
-+              {
-+                      .name           = "CPVA502+:amber:link",
-+                      .gpio           = 5,
-+                      .active_low     = 1,
-+              },
-+      },
-+
 +      .ephy_reset_gpio                = 4,
-+      .ephy_reset_gpio_flags          = GPIOF_INIT_HIGH,
++      .ephy_reset_gpio_flags          = GPIO_ACTIVE_LOW,
 +};
  
  static struct board_info __initdata board_ct536_ct5621 = {
        .name                           = "CT536_CT5621",
-@@ -1937,6 +1971,7 @@ static const struct board_info __initcon
+@@ -1185,6 +1206,7 @@ static const struct board_info __initcon
        &board_V2110,
        &board_ct536_ct5621,
        &board_96348A_122,