brcm63xx: move dg834g v4 to dts
[openwrt/openwrt.git] / target / linux / brcm63xx / patches-3.14 / 527-board_dva-g3810bn-tl-1.patch
index 703b2eadf89dc5c50f8edeed5888ee2a523f7c0d..4ac9d2db5cca8e9826d4fe725e02a30b0bf8c8a9 100644 (file)
@@ -1,8 +1,8 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -2301,6 +2301,73 @@ static struct board_info __initdata boar
-               },
-       }
+@@ -1298,6 +1298,36 @@ static struct board_info __initdata boar
+               .use_internal_phy       = 1,
+       },
  };
 +
 +/* D-Link DVA-G3810BN/TL */
 +      .has_ohci0              = 1,
 +      .has_pccard             = 1,
 +      .has_ehci0              = 1,
-+
-+      .leds = {
-+              {
-+                      .name   = "DVAG3810BN::voip",
-+                      .gpio   = 1,
-+              },
-+              {
-+                      .name   = "DVAG3810BN::dsl",
-+                      .gpio   = 22,
-+                      .active_low  = 1,
-+              },
-+              {
-+                      .name   = "DVAG3810BN::internet",
-+                      .gpio   = 23,
-+                      .active_low  = 1,
-+              },
-+              {
-+                      .name   = "DVAG3810BN::power",
-+                      .gpio   = 4,
-+                      .default_trigger = "default-on",
-+              },
-+              {
-+                      .name   = "DVAG3810BN::stop",
-+                      .gpio   = 5,
-+              },
-+      },
-+
-+      .buttons = {
-+              {
-+                      .desc   = "reset",
-+                      .gpio   = 34,
-+                      .active_low = 1,
-+                      .type   = EV_KEY,
-+                      .code   = KEY_RESTART,
-+                      .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
-+              },
-+      },
 +};
  #endif /* CONFIG_BCM63XX_CPU_6358 */
  
  /*
-@@ -2503,6 +2570,7 @@ static const struct board_info __initcon
+@@ -1448,6 +1478,7 @@ static const struct board_info __initcon
        &board_ct6373_1,
        &board_HW553,
        &board_spw303v,
@@ -82,7 +45,7 @@
  #endif
  
  #ifdef CONFIG_BCM63XX_CPU_6368
-@@ -2556,6 +2624,7 @@ static struct of_device_id const bcm963x
+@@ -1504,6 +1535,7 @@ static struct of_device_id const bcm963x
        { .compatible = "comtrend,ct-6373", .data = &board_ct6373_1, },
        { .compatible = "d-link,dsl-274xb-c2", .data = &board_dsl_274xb_rev_c, },
        { .compatible = "d-link,dsl-2650u", .data = &board_96358vw2, },