brcm63xx: Neufbox 6: fix switch by probing through DT
[openwrt/openwrt.git] / target / linux / brcm63xx / patches-4.4 / 534-board_hw556.patch
index 666343c4c51cf90e448afcb9cb2dd17ff5791040..3da90f36becfe55c6ace7368063008adbf35b3da 100644 (file)
@@ -5,10 +5,10 @@
  #include <linux/kernel.h>
  #include <linux/string.h>
 +#include <linux/pci_ids.h>
- #include <linux/platform_device.h>
- #include <linux/rtl8367.h>
  #include <asm/addrspace.h>
-@@ -1478,6 +1479,93 @@ static struct board_info __initdata boar
+ #include <bcm63xx_board.h>
+ #include <bcm63xx_cpu.h>
+@@ -1474,6 +1475,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
+@@ -1700,6 +1790,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
+@@ -1772,6 +1865,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, },