brcm63xx: Neufbox 6: fix switch by probing through DT
authorJonas Gorski <jonas.gorski@gmail.com>
Tue, 7 Feb 2017 16:15:36 +0000 (17:15 +0100)
committerJonas Gorski <jonas.gorski@gmail.com>
Mon, 13 Feb 2017 16:51:08 +0000 (17:51 +0100)
Probe the switch through DT instead of a platform device. This fixes
probe, as GPIO offsets are now properly accounted for.

Fixes the following issue:

[    0.802953] 8021q: 802.1Q VLAN Support v1.8
[    0.810518] rtl8366_smi: gpio_request failed for 18, err=-517

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
38 files changed:
target/linux/brcm63xx/dts/nb6-ser-r0.dts
target/linux/brcm63xx/patches-4.4/302-extended-platform-devices.patch [deleted file]
target/linux/brcm63xx/patches-4.4/303-spi-board-info.patch
target/linux/brcm63xx/patches-4.4/357-MIPS-BCM63XX-use-platform-data-for-the-sprom.patch
target/linux/brcm63xx/patches-4.4/368-MIPS-BCM63XX-add-support-for-matching-the-board_info.patch
target/linux/brcm63xx/patches-4.4/377-MIPS-BCM63XX-register-lookup-for-ephy-reset-gpio.patch
target/linux/brcm63xx/patches-4.4/528-board_nb6.patch
target/linux/brcm63xx/patches-4.4/529-board_fast2604.patch
target/linux/brcm63xx/patches-4.4/530-board_A4001N1.patch
target/linux/brcm63xx/patches-4.4/531-board_AR-5387un.patch
target/linux/brcm63xx/patches-4.4/532-board_AR-5381u.patch
target/linux/brcm63xx/patches-4.4/533-board_rta770bw.patch
target/linux/brcm63xx/patches-4.4/534-board_hw556.patch
target/linux/brcm63xx/patches-4.4/535-board_rta770w.patch
target/linux/brcm63xx/patches-4.4/536-board_fast2704.patch
target/linux/brcm63xx/patches-4.4/537-board_fast2504n.patch
target/linux/brcm63xx/patches-4.4/550-MIPS-BCM63XX-remove-leds-and-buttons.patch
target/linux/brcm63xx/patches-4.4/555-board_96318ref.patch
target/linux/brcm63xx/patches-4.4/556-board_96318ref_p300.patch
target/linux/brcm63xx/patches-4.4/557-board_bcm963269bhr.patch
target/linux/brcm63xx/patches-4.4/558-board_AR1004G.patch
target/linux/brcm63xx/patches-4.4/559-board_vw6339gu.patch
target/linux/brcm63xx/patches-4.4/560-board_963268gu_p300.patch
target/linux/brcm63xx/patches-4.4/561-board_WAP-5813n.patch
target/linux/brcm63xx/patches-4.4/562-board_VR-3025u.patch
target/linux/brcm63xx/patches-4.4/563-board_VR-3025un.patch
target/linux/brcm63xx/patches-4.4/564-board_P870HW-51a_v2.patch
target/linux/brcm63xx/patches-4.4/565-board_hw520.patch
target/linux/brcm63xx/patches-4.4/566-board_A4001N.patch
target/linux/brcm63xx/patches-4.4/567-board_dsl-2751b_e1.patch
target/linux/brcm63xx/patches-4.4/568-board_DGND3700v1_3800B.patch
target/linux/brcm63xx/patches-4.4/569-board_homehub2a.patch
target/linux/brcm63xx/patches-4.4/570-board_HG655b.patch
target/linux/brcm63xx/patches-4.4/571-board_fast2704n.patch
target/linux/brcm63xx/patches-4.4/572-board_VR-3026e.patch
target/linux/brcm63xx/patches-4.4/573-board_R5010UNv2.patch
target/linux/brcm63xx/patches-4.4/574-board_HG622.patch
target/linux/brcm63xx/patches-4.4/575-board_EVG2000.patch

index d61c16ddae7a719b3174ff7355c51cd2481b443b..78c17dd7993f1d52a6a058e34f13e4b11119a018 100644 (file)
                        linux,code = <KEY_WPS_BUTTON>;
                };
        };
+
+       switch {
+               compatible = "realtek,rtl8367";
+               gpio-sda = <&gpio0 18 0>;
+               gpio-sck = <&gpio0 20 0>;
+
+               realtek,extif0 = <1 5 1 1 1 1 1 1 2>;
+       };
 };
diff --git a/target/linux/brcm63xx/patches-4.4/302-extended-platform-devices.patch b/target/linux/brcm63xx/patches-4.4/302-extended-platform-devices.patch
deleted file mode 100644 (file)
index e519430..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
---- a/arch/mips/bcm63xx/boards/board_common.c
-+++ b/arch/mips/bcm63xx/boards/board_common.c
-@@ -207,6 +207,9 @@ int __init board_register_devices(void)
-       bcm63xx_hsspi_register();
-+      if (board.num_devs)
-+              platform_add_devices(board.devs, board.num_devs);
-+
-       bcm63xx_flash_register();
-       bcm63xx_led_data.num_leds = ARRAY_SIZE(board.leds);
---- a/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h
-+++ b/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h
-@@ -53,6 +53,10 @@ struct board_info {
-       /* External PHY reset GPIO flags from gpio.h */
-       unsigned long ephy_reset_gpio_flags;
-+
-+      /* Additional platform devices */
-+      struct platform_device **devs;
-+      unsigned int    num_devs;
- };
- #endif /* ! BOARD_BCM963XX_H_ */
index 77d82a46dc440e80a0b0dbe69090b876bb843d79..667f9f399da3f1685e9bd6396f8d111c49bfa289 100644 (file)
@@ -8,9 +8,9 @@
  #include <asm/addrspace.h>
  #include <bcm63xx_board.h>
  #include <bcm63xx_cpu.h>
-@@ -210,6 +211,9 @@ int __init board_register_devices(void)
-       if (board.num_devs)
-               platform_add_devices(board.devs, board.num_devs);
+@@ -207,6 +208,9 @@ int __init board_register_devices(void)
+       bcm63xx_hsspi_register();
  
 +      if (board.num_spis)
 +              spi_register_board_info(board.spis, board.num_spis);
        bcm63xx_led_data.num_leds = ARRAY_SIZE(board.leds);
 --- a/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h
 +++ b/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h
-@@ -57,6 +57,10 @@ struct board_info {
-       /* Additional platform devices */
-       struct platform_device **devs;
-       unsigned int    num_devs;
+@@ -53,6 +53,10 @@ struct board_info {
+       /* External PHY reset GPIO flags from gpio.h */
+       unsigned long ephy_reset_gpio_flags;
 +
 +      /* Additional platform devices */
 +      struct spi_board_info *spis;
index 9120b7118285bc83eb7ff2f81a69f71d8b62312c..cfa7d768b0697b68f19b3614ec42ca2b35becb8b 100644 (file)
@@ -91,5 +91,5 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org>
 +      struct fallback_sprom_data fallback_sprom;
 +
        /* Additional platform devices */
-       struct platform_device **devs;
-       unsigned int    num_devs;
+       struct spi_board_info *spis;
+       unsigned int    num_spis;
index 37327899ae09ff8f4ef091ed2d78d08577489b99..60e728c223ef00dba61d8ce94f5a63912ecf77ed 100644 (file)
@@ -54,7 +54,7 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org>
                if (strncmp(board_name, bcm963xx_boards[i]->name, 16))
 --- a/arch/mips/bcm63xx/boards/board_common.c
 +++ b/arch/mips/bcm63xx/boards/board_common.c
-@@ -250,3 +250,21 @@ int __init board_register_devices(void)
+@@ -247,3 +247,21 @@ int __init board_register_devices(void)
  
        return 0;
  }
index 61a6056ed28b1cb277b689b4d9435ebfcec5f477..5bb18a440efbb4554e834de3d82188ea223347d8 100644 (file)
@@ -26,7 +26,7 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org>
  
 --- a/arch/mips/bcm63xx/boards/board_common.c
 +++ b/arch/mips/bcm63xx/boards/board_common.c
-@@ -258,9 +258,10 @@ int __init board_register_devices(void)
+@@ -255,9 +255,10 @@ int __init board_register_devices(void)
  
        platform_device_register(&bcm63xx_gpio_leds);
  
index 0f235093c3f376306792e7b55603424fe6efcf4c..5f1d47a150318e1244b49a2cfd1972796eb7aa17 100644 (file)
@@ -1,61 +1,10 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -12,6 +12,8 @@
- #include <linux/init.h>
- #include <linux/kernel.h>
- #include <linux/string.h>
-+#include <linux/platform_device.h>
-+#include <linux/rtl8367.h>
- #include <asm/addrspace.h>
- #include <bcm63xx_board.h>
- #include <bcm63xx_cpu.h>
-@@ -27,6 +29,9 @@
- #define HCS_OFFSET_128K                       0x20000
-+#define NB6_GPIO_RTL8367_SDA  18
-+#define NB6_GPIO_RTL8367_SCK  20
-+
- /*
-  * known 3368 boards
-  */
-@@ -1315,6 +1320,69 @@ static struct board_info __initdata boar
+@@ -1315,6 +1315,34 @@ static struct board_info __initdata boar
  };
  #endif /* CONFIG_BCM63XX_CPU_6358 */
  
 +#ifdef CONFIG_BCM63XX_CPU_6362
-+static struct rtl8367_extif_config nb6_rtl8367_extif0_cfg = {
-+      .mode = RTL8367_EXTIF_MODE_RGMII,
-+      .txdelay = 1,
-+      .rxdelay = 5,
-+      .ability = {
-+              .force_mode = 1,
-+              .txpause = 1,
-+              .rxpause = 1,
-+              .link = 1,
-+              .duplex = 1,
-+              .speed = RTL8367_PORT_SPEED_1000,
-+      },
-+};
-+
-+static struct rtl8367_platform_data nb6_rtl8367_data = {
-+      .gpio_sda       = NB6_GPIO_RTL8367_SDA,
-+      .gpio_sck       = NB6_GPIO_RTL8367_SCK,
-+      .extif0_cfg     = &nb6_rtl8367_extif0_cfg,
-+};
-+
-+static struct platform_device nb6_rtl8367_device = {
-+      .name           = RTL8367_DRIVER_NAME,
-+      .id             = -1,
-+      .dev = {
-+              .platform_data  = &nb6_rtl8367_data,
-+      }
-+};
-+
-+static struct platform_device * __initdata nb6_devices[] = {
-+      &nb6_rtl8367_device,
-+};
-+
 +static struct board_info __initdata board_nb6 = {
 +      .name                           = "NB6",
 +      .expected_cpu_id                = 0x6362,
 +                      },
 +              },
 +      },
-+
-+      .devs = nb6_devices,
-+      .num_devs = ARRAY_SIZE(nb6_devices),
 +};
 +#endif /* CONFIG_BCM63XX_CPU_6362 */
 +
  /*
   * known 6368 boards
   */
-@@ -1466,6 +1534,10 @@ static const struct board_info __initcon
+@@ -1466,6 +1494,10 @@ static const struct board_info __initcon
        &board_DVAG3810BN,
  #endif
  
  #ifdef CONFIG_BCM63XX_CPU_6368
        &board_96368mvwg,
        &board_96368mvngr,
-@@ -1534,6 +1606,9 @@ static struct of_device_id const bcm963x
+@@ -1534,6 +1566,9 @@ static struct of_device_id const bcm963x
        { .compatible = "t-com,spw303v", .data = &board_spw303v, },
        { .compatible = "telsey,cpva642", .data = &board_CPVA642, },
  #endif
index 480929c6428d0a40c606f1fcb7d990a095fdd7d6..f5342567fdf74cf9681a6c88fd0a35acc3a1ffc2 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -765,6 +765,23 @@ static struct board_info __initdata boar
+@@ -760,6 +760,23 @@ static struct board_info __initdata boar
        .has_ehci0                      = 1,
  };
  
@@ -24,7 +24,7 @@
  static struct board_info __initdata board_rta1025w_16 = {
        .name                           = "RTA1025W_16",
        .expected_cpu_id                = 0x6348,
-@@ -1505,6 +1522,7 @@ static const struct board_info __initcon
+@@ -1465,6 +1482,7 @@ static const struct board_info __initcon
        &board_96348gw_10,
        &board_96348gw_11,
        &board_FAST2404,
@@ -32,7 +32,7 @@
        &board_DV201AMR,
        &board_96348gw_a,
        &board_rta1025w_16,
-@@ -1580,6 +1598,7 @@ static struct of_device_id const bcm963x
+@@ -1540,6 +1558,7 @@ static struct of_device_id const bcm963x
        { .compatible = "netgear,dg834gtpn", .data = &board_96348gw_10, },
        { .compatible = "netgear,dg834g-v4", .data = &board_96348W3, },
        { .compatible = "sagem,f@st2404", .data = &board_FAST2404, },
index 44962b212aa912de42b0ade9bd61b2297be571e3..3366875e4fbd7d80553a090ee3ef6a7fc3dd72f1 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -174,6 +174,50 @@ static struct board_info __initdata boar
+@@ -169,6 +169,50 @@ static struct board_info __initdata boar
        },
  };
  
@@ -51,7 +51,7 @@
  static struct board_info __initdata board_dsl_274xb_f1 = {
        .name                           = "AW4339U",
        .expected_cpu_id                = 0x6328,
-@@ -1503,6 +1547,7 @@ static const struct board_info __initcon
+@@ -1463,6 +1507,7 @@ static const struct board_info __initcon
  #ifdef CONFIG_BCM63XX_CPU_6328
        &board_96328avng,
        &board_963281TAN,
@@ -59,7 +59,7 @@
        &board_dsl_274xb_f1,
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6338
-@@ -1568,6 +1613,7 @@ static struct of_device_id const bcm963x
+@@ -1528,6 +1573,7 @@ static struct of_device_id const bcm963x
        { .compatible = "netgear,cvg834g", .data = &board_cvg834g, },
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6328
index fb69b6b197634c15d7b8ea4b3e30e16bbf5a551b..650db33e9e970982dd53d7818fad175ca6d1722a 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -139,6 +139,79 @@ static struct board_info __initdata boar
+@@ -134,6 +134,79 @@ static struct board_info __initdata boar
        },
  };
  
@@ -80,7 +80,7 @@
  static struct board_info __initdata board_963281TAN = {
        .name                           = "963281TAN",
        .expected_cpu_id                = 0x6328,
-@@ -1546,6 +1619,7 @@ static const struct board_info __initcon
+@@ -1506,6 +1579,7 @@ static const struct board_info __initcon
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6328
        &board_96328avng,
@@ -88,7 +88,7 @@
        &board_963281TAN,
        &board_A4001N1,
        &board_dsl_274xb_f1,
-@@ -1616,6 +1690,7 @@ static struct of_device_id const bcm963x
+@@ -1576,6 +1650,7 @@ static struct of_device_id const bcm963x
        { .compatible = "adb,a4001n1", .data = &board_A4001N1, },
        { .compatible = "brcm,bcm963281TAN", .data = &board_963281TAN, },
        { .compatible = "brcm,bcm96328avng", .data = &board_96328avng, },
index 1bd8521719a6dd5d127485e17b8844bdf68ccda4..f9062fe58d97fefeb92ba068c54780305698bea3 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -139,6 +139,61 @@ static struct board_info __initdata boar
+@@ -134,6 +134,61 @@ static struct board_info __initdata boar
        },
  };
  
@@ -62,7 +62,7 @@
  static struct sprom_fixup __initdata ar5387un_fixups[] = {
        { .offset = 2, .value = 0x05bb },
        { .offset = 65, .value = 0x1204 },
-@@ -1619,6 +1674,7 @@ static const struct board_info __initcon
+@@ -1579,6 +1634,7 @@ static const struct board_info __initcon
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6328
        &board_96328avng,
@@ -70,7 +70,7 @@
        &board_AR5387un,
        &board_963281TAN,
        &board_A4001N1,
-@@ -1690,6 +1746,7 @@ static struct of_device_id const bcm963x
+@@ -1650,6 +1706,7 @@ static struct of_device_id const bcm963x
        { .compatible = "adb,a4001n1", .data = &board_A4001N1, },
        { .compatible = "brcm,bcm963281TAN", .data = &board_963281TAN, },
        { .compatible = "brcm,bcm96328avng", .data = &board_96328avng, },
index 0b8dbb7bb11314c64074187ae11f747f1c692b0b..c7f9b50345667ccf850753d7e03dee94ba678956 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -525,6 +525,22 @@ static struct board_info __initdata boar
+@@ -520,6 +520,22 @@ static struct board_info __initdata boar
  
        .has_uart0                      = 1,
  };
@@ -23,7 +23,7 @@
  #endif /* CONFIG_BCM63XX_CPU_6345 */
  
  /*
-@@ -1688,6 +1704,7 @@ static const struct board_info __initcon
+@@ -1648,6 +1664,7 @@ static const struct board_info __initcon
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6345
        &board_96345gw2,
@@ -31,7 +31,7 @@
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6348
        &board_96348r,
-@@ -1758,6 +1775,7 @@ static struct of_device_id const bcm963x
+@@ -1718,6 +1735,7 @@ static struct of_device_id const bcm963x
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6345
        { .compatible = "brcm,bcm96345gw2", .data = &board_96345gw2, },
index 01d99d84b66ca67a71c953976f02ce0a52a3f483..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>
-@@ -1479,6 +1480,95 @@ static struct board_info __initdata boar
+ #include <bcm63xx_board.h>
+ #include <bcm63xx_cpu.h>
+@@ -1474,6 +1475,95 @@ static struct board_info __initdata boar
        },
  };
  
   /* T-Home Speedport W 303V Typ B */
  static struct board_info __initdata board_spw303v = {
        .name                   = "96358-502V",
-@@ -1740,6 +1830,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
-@@ -1812,6 +1905,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, },
index 724c496acaa550cd52ebb2737ad7319c0d7b780d..8088cda1af38eb3e3bcbf8f68300a71d37b86fcf 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -542,6 +542,27 @@ static struct board_info __initdata boar
+@@ -537,6 +537,27 @@ static struct board_info __initdata boar
                .force_duplex_full      = 1,
        },
  };
@@ -28,7 +28,7 @@
  #endif /* CONFIG_BCM63XX_CPU_6345 */
  
  /*
-@@ -1795,6 +1816,7 @@ static const struct board_info __initcon
+@@ -1755,6 +1776,7 @@ static const struct board_info __initcon
  #ifdef CONFIG_BCM63XX_CPU_6345
        &board_96345gw2,
        &board_rta770bw,
@@ -36,7 +36,7 @@
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6348
        &board_96348r,
-@@ -1869,6 +1891,7 @@ static struct of_device_id const bcm963x
+@@ -1829,6 +1851,7 @@ static struct of_device_id const bcm963x
  #ifdef CONFIG_BCM63XX_CPU_6345
        { .compatible = "brcm,bcm96345gw2", .data = &board_96345gw2, },
        { .compatible = "dynalink,rta770bw", .data = &board_rta770bw, },
index a6631afb161c2692dab2c80534fa8666a565a963..1b7eb1c35ec1070920bebe2b0cf8f09274d69055 100644 (file)
@@ -12,7 +12,7 @@ Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com>
 ---
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -392,6 +392,44 @@ static struct board_info __initdata boar
+@@ -387,6 +387,44 @@ static struct board_info __initdata boar
                },
        },
  };
@@ -57,7 +57,7 @@ Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com>
  #endif /* CONFIG_BCM63XX_CPU_6328 */
  
  /*
-@@ -1806,6 +1844,7 @@ static const struct board_info __initcon
+@@ -1766,6 +1804,7 @@ static const struct board_info __initcon
        &board_963281TAN,
        &board_A4001N1,
        &board_dsl_274xb_f1,
@@ -65,7 +65,7 @@ Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com>
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6338
        &board_96338gw,
-@@ -1881,6 +1920,7 @@ static struct of_device_id const bcm963x
+@@ -1841,6 +1880,7 @@ static struct of_device_id const bcm963x
        { .compatible = "comtrend,ar-5381u", .data = &board_AR5381u, },
        { .compatible = "comtrend,ar-5387un", .data = &board_AR5387un, },
        { .compatible = "d-link,dsl-274xb-f", .data = &board_dsl_274xb_f1, },
index f3cf9ed33b78042cf8caa95d660b53b2e99338d6..c77fa1787a7cea0fde4caf74f25ee1ce563592e5 100644 (file)
@@ -6,9 +6,9 @@ Signed-off-by: Max Staudt <openwrt.max@enpas.org>
 ---
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1735,6 +1735,43 @@ static struct board_info __initdata boar
-       .devs = nb6_devices,
-       .num_devs = ARRAY_SIZE(nb6_devices),
+@@ -1695,6 +1695,43 @@ static struct board_info __initdata boar
+               },
+       },
  };
 +
 +static struct board_info __initdata board_fast2504n = {
@@ -50,7 +50,7 @@ Signed-off-by: Max Staudt <openwrt.max@enpas.org>
  #endif /* CONFIG_BCM63XX_CPU_6362 */
  
  /*
-@@ -1900,6 +1937,7 @@ static const struct board_info __initcon
+@@ -1860,6 +1897,7 @@ static const struct board_info __initcon
  
  #ifdef CONFIG_BCM63XX_CPU_6362
        &board_nb6,
@@ -58,7 +58,7 @@ Signed-off-by: Max Staudt <openwrt.max@enpas.org>
  #endif
  
  #ifdef CONFIG_BCM63XX_CPU_6368
-@@ -1981,6 +2019,7 @@ static struct of_device_id const bcm963x
+@@ -1941,6 +1979,7 @@ static struct of_device_id const bcm963x
        { .compatible = "telsey,cpva642", .data = &board_CPVA642, },
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6362
index 35083af65374f9aab4afeb37a6ee1429fffbad66..d4b14b4c31797e0a648a3b3a40adc15bcb2fff13 100644 (file)
@@ -9,7 +9,7 @@ Subject: [PATCH] MIPS: BCM63XX: remove leds and buttons
 
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -52,14 +52,6 @@ static struct board_info __initdata boar
+@@ -47,14 +47,6 @@ static struct board_info __initdata boar
                .use_internal_phy       = 1,
        },
  
@@ -24,7 +24,7 @@ Subject: [PATCH] MIPS: BCM63XX: remove leds and buttons
        .ephy_reset_gpio                = 36,
        .ephy_reset_gpio_flags          = GPIO_ACTIVE_LOW,
  };
-@@ -83,35 +75,6 @@ static struct board_info __initdata boar
+@@ -78,35 +70,6 @@ static struct board_info __initdata boar
                .port_no                = 0,
        },
  
@@ -60,7 +60,7 @@ Subject: [PATCH] MIPS: BCM63XX: remove leds and buttons
        .has_enetsw                     = 1,
  
        .enetsw = {
-@@ -450,35 +413,6 @@ static struct board_info __initdata boar
+@@ -445,35 +408,6 @@ static struct board_info __initdata boar
        },
  
        .has_ohci0                      = 1,
@@ -96,7 +96,7 @@ Subject: [PATCH] MIPS: BCM63XX: remove leds and buttons
  };
  
  static struct board_info __initdata board_96338w = {
-@@ -493,35 +427,6 @@ static struct board_info __initdata boar
+@@ -488,35 +422,6 @@ static struct board_info __initdata boar
                .force_speed_100        = 1,
                .force_duplex_full      = 1,
        },
@@ -132,7 +132,7 @@ Subject: [PATCH] MIPS: BCM63XX: remove leds and buttons
  };
  
  static struct board_info __initdata board_96338w2_e7t = {
-@@ -620,36 +525,6 @@ static struct board_info __initdata boar
+@@ -615,36 +520,6 @@ static struct board_info __initdata boar
                .has_phy                = 1,
                .use_internal_phy       = 1,
        },
@@ -169,7 +169,7 @@ Subject: [PATCH] MIPS: BCM63XX: remove leds and buttons
  };
  
  static struct board_info __initdata board_96348gw_10 = {
-@@ -684,35 +559,6 @@ static struct board_info __initdata boar
+@@ -679,35 +554,6 @@ static struct board_info __initdata boar
                .cs                     = 2,
                .ext_irq                = 2,
        },
@@ -205,7 +205,7 @@ Subject: [PATCH] MIPS: BCM63XX: remove leds and buttons
  };
  
  static struct board_info __initdata board_96348gw_11 = {
-@@ -741,35 +587,6 @@ static struct board_info __initdata boar
+@@ -736,35 +582,6 @@ static struct board_info __initdata boar
        .has_ohci0 = 1,
        .has_pccard = 1,
        .has_ehci0 = 1,
@@ -241,7 +241,7 @@ Subject: [PATCH] MIPS: BCM63XX: remove leds and buttons
  };
  
  
-@@ -895,35 +712,6 @@ static struct board_info __initdata boar
+@@ -890,35 +707,6 @@ static struct board_info __initdata boar
                .ext_irq                = 2,
                .cs                     = 2,
        },
@@ -277,7 +277,7 @@ Subject: [PATCH] MIPS: BCM63XX: remove leds and buttons
  };
  
  static struct board_info __initdata board_gw6200 = {
-@@ -1260,33 +1048,6 @@ static struct board_info __initdata boar
+@@ -1255,33 +1043,6 @@ static struct board_info __initdata boar
        .has_ohci0 = 1,
        .has_pccard = 1,
        .has_ehci0 = 1,
@@ -311,7 +311,7 @@ Subject: [PATCH] MIPS: BCM63XX: remove leds and buttons
  };
  
  static struct board_info __initdata board_96358vw2 = {
-@@ -1316,29 +1077,6 @@ static struct board_info __initdata boar
+@@ -1311,29 +1072,6 @@ static struct board_info __initdata boar
        .has_pccard = 1,
        .has_ehci0 = 1,
        .num_usbh_ports                 = 2,
index 64617733d0a00e7b8581957ea5a64fdb8266aae9..d68b3c5f4c94ce50fd27dc7c72b9d437e86810a3 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -58,6 +58,56 @@ static struct board_info __initdata boar
+@@ -53,6 +53,56 @@ static struct board_info __initdata boar
  #endif /* CONFIG_BCM63XX_CPU_3368 */
  
  /*
@@ -57,7 +57,7 @@
   * known 6328 boards
   */
  #ifdef CONFIG_BCM63XX_CPU_6328
-@@ -1612,6 +1662,9 @@ static const struct board_info __initcon
+@@ -1572,6 +1622,9 @@ static const struct board_info __initcon
  #ifdef CONFIG_BCM63XX_CPU_3368
        &board_cvg834g,
  #endif
@@ -67,7 +67,7 @@
  #ifdef CONFIG_BCM63XX_CPU_6328
        &board_96328avng,
        &board_AR5381u,
-@@ -1689,6 +1742,9 @@ static struct of_device_id const bcm963x
+@@ -1649,6 +1702,9 @@ static struct of_device_id const bcm963x
  #ifdef CONFIG_BCM63XX_CPU_3368
        { .compatible = "netgear,cvg834g", .data = &board_cvg834g, },
  #endif
index de3ec0504b2505c0036e5dee3415d81b33a41f29..b17c9d5f5ced82bc4aa0dd788a1532853bae7fba 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -105,6 +105,51 @@ static struct board_info __initdata boar
+@@ -100,6 +100,51 @@ static struct board_info __initdata boar
                },
        },
  };
@@ -52,7 +52,7 @@
  #endif /* CONFIG_BCM63XX_CPU_6318 */
  
  /*
-@@ -1664,6 +1709,7 @@ static const struct board_info __initcon
+@@ -1624,6 +1669,7 @@ static const struct board_info __initcon
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6318
        &board_96318ref,
@@ -60,7 +60,7 @@
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6328
        &board_96328avng,
-@@ -1744,6 +1790,7 @@ static struct of_device_id const bcm963x
+@@ -1704,6 +1750,7 @@ static struct of_device_id const bcm963x
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6318
        { .compatible = "brcm,bcm96318ref", .data = &board_96318ref, },
index c82fb86d8bd68fe488f5238d717e2a36604d5fb6..d6fc6a9c7196f2473ccf3bc6fe0467835d6ce0e2 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1701,6 +1701,52 @@ static struct board_info __initdata boar
+@@ -1661,6 +1661,52 @@ static struct board_info __initdata boar
  #endif /* CONFIG_BCM63XX_CPU_6368 */
  
  /*
@@ -53,7 +53,7 @@
   * all boards
   */
  static const struct board_info __initconst *bcm963xx_boards[] = {
-@@ -1781,6 +1827,9 @@ static const struct board_info __initcon
+@@ -1741,6 +1787,9 @@ static const struct board_info __initcon
        &board_96368mvwg,
        &board_96368mvngr,
  #endif
@@ -63,7 +63,7 @@
  };
  
  static struct of_device_id const bcm963xx_boards_dt[] = {
-@@ -1868,6 +1917,7 @@ static struct of_device_id const bcm963x
+@@ -1828,6 +1877,7 @@ static struct of_device_id const bcm963x
        { .compatible = "brcm,bcm96368mvwg", .data = &board_96368mvwg, },
  #endif
  #ifdef CONFIG_BCM63XX_CPU_63268
index 6eb708746229db45c015b10810afcce63ae214a2..774509b0c4a75508b2df966d00cf70fc622658ef 100644 (file)
@@ -8,7 +8,7 @@ Signed-off-by: Adrian Feliks <mexit@o2.pl>
 ---
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -684,6 +684,22 @@ static struct board_info __initdata boar
+@@ -679,6 +679,22 @@ static struct board_info __initdata boar
        .has_ehci0 = 1,
  };
  
@@ -31,7 +31,7 @@ Signed-off-by: Adrian Feliks <mexit@o2.pl>
  
  /* BT Voyager 2110 */
  static struct board_info __initdata board_V2110 = {
-@@ -1798,6 +1814,7 @@ static const struct board_info __initcon
+@@ -1758,6 +1774,7 @@ static const struct board_info __initcon
        &board_96348A_122,
        &board_CPVA502plus,
        &board_96348W3,
@@ -39,7 +39,7 @@ Signed-off-by: Adrian Feliks <mexit@o2.pl>
  #endif
  
  #ifdef CONFIG_BCM63XX_CPU_6358
-@@ -1862,6 +1879,7 @@ static struct of_device_id const bcm963x
+@@ -1822,6 +1839,7 @@ static struct of_device_id const bcm963x
        { .compatible = "dynalink,rta770w", .data = &board_rta770w, },
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6348
index fc6e96854ab543bce28187519d1890d067961bff..601aea0d3767a591ee7c8a589997a37716fa95e0 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1760,6 +1760,53 @@ static struct board_info __initdata boar
+@@ -1720,6 +1720,53 @@ static struct board_info __initdata boar
                },
        },
  };
@@ -54,7 +54,7 @@
  #endif /* CONFIG_BCM63XX_CPU_63268 */
  
  /*
-@@ -1846,6 +1893,7 @@ static const struct board_info __initcon
+@@ -1806,6 +1853,7 @@ static const struct board_info __initcon
  #endif
  #ifdef CONFIG_BCM63XX_CPU_63268
        &board_963269bhr,
@@ -62,7 +62,7 @@
  #endif
  };
  
-@@ -1936,6 +1984,7 @@ static struct of_device_id const bcm963x
+@@ -1896,6 +1944,7 @@ static struct of_device_id const bcm963x
  #endif
  #ifdef CONFIG_BCM63XX_CPU_63268
        { .compatible = "brcm,bcm963269bhr", .data = &board_963269bhr, },
index cbe1197da0525576277a5a386dd08495855a0caa..a3b12b25c52b918218fd30ef6cc356b258e13a5b 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1720,6 +1720,66 @@ static struct board_info __initdata boar
+@@ -1680,6 +1680,66 @@ static struct board_info __initdata boar
   * known 63268/63269 boards
   */
  #ifdef CONFIG_BCM63XX_CPU_63268
@@ -67,7 +67,7 @@
  static struct board_info __initdata board_963269bhr = {
        .name                           = "963269BHR",
        .expected_cpu_id                = 0x63268,
-@@ -1892,6 +1952,7 @@ static const struct board_info __initcon
+@@ -1852,6 +1912,7 @@ static const struct board_info __initcon
        &board_96368mvngr,
  #endif
  #ifdef CONFIG_BCM63XX_CPU_63268
@@ -75,7 +75,7 @@
        &board_963269bhr,
        &board_vw6339gu,
  #endif
-@@ -1983,6 +2044,7 @@ static struct of_device_id const bcm963x
+@@ -1943,6 +2004,7 @@ static struct of_device_id const bcm963x
        { .compatible = "brcm,bcm96368mvwg", .data = &board_96368mvwg, },
  #endif
  #ifdef CONFIG_BCM63XX_CPU_63268
index 637f878b26242e720391cd2da04e83ff287688a6..5e7402a3ccc85858b46f7c7b299709d2952394e9 100644 (file)
@@ -1,16 +1,15 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -14,7 +14,9 @@
+@@ -13,6 +13,8 @@
+ #include <linux/kernel.h>
  #include <linux/string.h>
  #include <linux/pci_ids.h>
- #include <linux/platform_device.h>
 +#include <linux/platform_data/b53.h>
- #include <linux/rtl8367.h>
 +#include <linux/spi/spi.h>
  #include <asm/addrspace.h>
  #include <bcm63xx_board.h>
  #include <bcm63xx_cpu.h>
-@@ -1714,6 +1716,65 @@ static struct board_info __initdata boar
+@@ -1674,6 +1676,65 @@ static struct board_info __initdata boar
        .has_ohci0 = 1,
        .has_ehci0 = 1,
  };
@@ -76,7 +75,7 @@
  #endif /* CONFIG_BCM63XX_CPU_6368 */
  
  /*
-@@ -1950,6 +2011,7 @@ static const struct board_info __initcon
+@@ -1910,6 +1971,7 @@ static const struct board_info __initcon
  #ifdef CONFIG_BCM63XX_CPU_6368
        &board_96368mvwg,
        &board_96368mvngr,
@@ -84,7 +83,7 @@
  #endif
  #ifdef CONFIG_BCM63XX_CPU_63268
        &board_963268bu_p300,
-@@ -2042,6 +2104,7 @@ static struct of_device_id const bcm963x
+@@ -2002,6 +2064,7 @@ static struct of_device_id const bcm963x
  #ifdef CONFIG_BCM63XX_CPU_6368
        { .compatible = "brcm,bcm96368mvngr", .data = &board_96368mvngr, },
        { .compatible = "brcm,bcm96368mvwg", .data = &board_96368mvwg, },
index b19f8da7cf1332625813e296991c6d84250cf0aa..5e33598fc56d757a331c0ff8edcb85099dc59a51 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1717,6 +1717,60 @@ static struct board_info __initdata boar
+@@ -1677,6 +1677,60 @@ static struct board_info __initdata boar
        .has_ehci0 = 1,
  };
  
@@ -61,7 +61,7 @@
  static struct b53_platform_data WAP5813n_b53_pdata = {
        .alias = "eth0",
  };
-@@ -2011,6 +2065,7 @@ static const struct board_info __initcon
+@@ -1971,6 +2025,7 @@ static const struct board_info __initcon
  #ifdef CONFIG_BCM63XX_CPU_6368
        &board_96368mvwg,
        &board_96368mvngr,
@@ -69,7 +69,7 @@
        &board_WAP5813n,
  #endif
  #ifdef CONFIG_BCM63XX_CPU_63268
-@@ -2104,6 +2159,7 @@ static struct of_device_id const bcm963x
+@@ -2064,6 +2119,7 @@ static struct of_device_id const bcm963x
  #ifdef CONFIG_BCM63XX_CPU_6368
        { .compatible = "brcm,bcm96368mvngr", .data = &board_96368mvngr, },
        { .compatible = "brcm,bcm96368mvwg", .data = &board_96368mvwg, },
index 48270d907d96a8499500efe4786d8d5bcddc1f5c..a0dd3685cb812c5a82ce65cc17f23a4e8713b93d 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1771,6 +1771,60 @@ static struct board_info __initdata boar
+@@ -1731,6 +1731,60 @@ static struct board_info __initdata boar
        },
  };
  
@@ -61,7 +61,7 @@
  static struct b53_platform_data WAP5813n_b53_pdata = {
        .alias = "eth0",
  };
-@@ -2066,6 +2120,7 @@ static const struct board_info __initcon
+@@ -2026,6 +2080,7 @@ static const struct board_info __initcon
        &board_96368mvwg,
        &board_96368mvngr,
        &board_VR3025u,
@@ -69,7 +69,7 @@
        &board_WAP5813n,
  #endif
  #ifdef CONFIG_BCM63XX_CPU_63268
-@@ -2160,6 +2215,7 @@ static struct of_device_id const bcm963x
+@@ -2120,6 +2175,7 @@ static struct of_device_id const bcm963x
        { .compatible = "brcm,bcm96368mvngr", .data = &board_96368mvngr, },
        { .compatible = "brcm,bcm96368mvwg", .data = &board_96368mvwg, },
        { .compatible = "comtrend,vr-3025u", .data = &board_VR3025u, },
index 08fcde608ad03b0e469b94ea1c170ff1bd7a2b17..ce24b6c10b7cb50ded01ceab9f69e9a3cded6892 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1726,6 +1726,49 @@ static struct sprom_fixup __initdata vr3
+@@ -1686,6 +1686,49 @@ static struct sprom_fixup __initdata vr3
        { .offset = 115, .value = 0xfad9 },
  };
  
@@ -50,7 +50,7 @@
  static struct board_info __initdata board_VR3025u = {
        .name                                   = "96368M-1541N",
        .expected_cpu_id                = 0x6368,
-@@ -2119,6 +2162,7 @@ static const struct board_info __initcon
+@@ -2079,6 +2122,7 @@ static const struct board_info __initcon
  #ifdef CONFIG_BCM63XX_CPU_6368
        &board_96368mvwg,
        &board_96368mvngr,
@@ -58,7 +58,7 @@
        &board_VR3025u,
        &board_VR3025un,
        &board_WAP5813n,
-@@ -2217,6 +2261,7 @@ static struct of_device_id const bcm963x
+@@ -2177,6 +2221,7 @@ static struct of_device_id const bcm963x
        { .compatible = "comtrend,vr-3025u", .data = &board_VR3025u, },
        { .compatible = "comtrend,vr-3025un", .data = &board_VR3025un, },
        { .compatible = "comtrend,wap-5813n", .data = &board_WAP5813n, },
index a613276549638c7ee1937341f5167e02b5d82ea1..71ba896aaac2b88b7aebee0189f633a9e718173e 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1362,6 +1362,37 @@ static struct board_info __initdata boar
+@@ -1357,6 +1357,37 @@ static struct board_info __initdata boar
        },
  };
  
@@ -38,7 +38,7 @@
  static struct board_info __initdata board_HW553 = {
        .name                           = "HW553",
        .expected_cpu_id                = 0x6358,
-@@ -2146,6 +2177,7 @@ static const struct board_info __initcon
+@@ -2106,6 +2137,7 @@ static const struct board_info __initcon
        &board_nb4_ser_r0,
        &board_nb4_fxc_r1,
        &board_ct6373_1,
@@ -46,7 +46,7 @@
        &board_HW553,
        &board_HW556_A,
        &board_HW556_B,
-@@ -2238,6 +2270,7 @@ static struct of_device_id const bcm963x
+@@ -2198,6 +2230,7 @@ static struct of_device_id const bcm963x
        { .compatible = "d-link,dsl-274xb-c2", .data = &board_dsl_274xb_rev_c, },
        { .compatible = "d-link,dsl-2650u", .data = &board_96358vw2, },
        { .compatible = "d-link,dva-g3810bn/tl", .data = &board_DVAG3810BN, },
index 3cd2e08634d9f3cf4870c352b2398f8f163548cc..6313cbb75849d29686ea206535e2507a1e1ae212 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -363,6 +363,50 @@ static struct board_info __initdata boar
+@@ -358,6 +358,50 @@ static struct board_info __initdata boar
        },
  };
  
@@ -51,7 +51,7 @@
  static struct board_info __initdata board_A4001N1 = {
        .name                                   = "963281T_TEF",
        .expected_cpu_id                        = 0x6328,
-@@ -2128,6 +2172,7 @@ static const struct board_info __initcon
+@@ -2088,6 +2132,7 @@ static const struct board_info __initcon
        &board_AR5381u,
        &board_AR5387un,
        &board_963281TAN,
@@ -59,7 +59,7 @@
        &board_A4001N1,
        &board_dsl_274xb_f1,
        &board_FAST2704V2,
-@@ -2216,6 +2261,7 @@ static struct of_device_id const bcm963x
+@@ -2176,6 +2221,7 @@ static struct of_device_id const bcm963x
        { .compatible = "brcm,bcm96318ref_p300", .data = &board_96318ref_p300, },
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6328
index 989ffae3770d7f40453f5267c6541b6dbf343ad0..05c2fd4a9aa6e48a3a51de4f2fc1c7a4918cb416 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -152,6 +152,75 @@ static struct board_info __initdata boar
+@@ -147,6 +147,75 @@ static struct board_info __initdata boar
                },
        },
  };
@@ -76,7 +76,7 @@
  #endif /* CONFIG_BCM63XX_CPU_6318 */
  
  /*
-@@ -2166,6 +2235,7 @@ static const struct board_info __initcon
+@@ -2126,6 +2195,7 @@ static const struct board_info __initcon
  #ifdef CONFIG_BCM63XX_CPU_6318
        &board_96318ref,
        &board_96318ref_p300,
@@ -84,7 +84,7 @@
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6328
        &board_96328avng,
-@@ -2259,6 +2329,7 @@ static struct of_device_id const bcm963x
+@@ -2219,6 +2289,7 @@ static struct of_device_id const bcm963x
  #ifdef CONFIG_BCM63XX_CPU_6318
        { .compatible = "brcm,bcm96318ref", .data = &board_96318ref, },
        { .compatible = "brcm,bcm96318ref_p300", .data = &board_96318ref_p300, },
index 157d15f3e65bea5820095132c55bf53648fed49d..866ea88e03ffbbd4a6d89281b54356ed1ec84148 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1861,6 +1861,48 @@ static struct board_info __initdata boar
+@@ -1821,6 +1821,48 @@ static struct board_info __initdata boar
        .has_ehci0 = 1,
  };
  
@@ -49,7 +49,7 @@
  static struct sprom_fixup __initdata vr3025u_fixups[] = {
        { .offset = 97, .value = 0xfeb3 },
        { .offset = 98, .value = 0x1618 },
-@@ -2309,6 +2351,7 @@ static const struct board_info __initcon
+@@ -2269,6 +2311,7 @@ static const struct board_info __initcon
  #ifdef CONFIG_BCM63XX_CPU_6368
        &board_96368mvwg,
        &board_96368mvngr,
@@ -57,7 +57,7 @@
        &board_P870HW51A_V2,
        &board_VR3025u,
        &board_VR3025un,
-@@ -2411,6 +2454,7 @@ static struct of_device_id const bcm963x
+@@ -2371,6 +2414,7 @@ static struct of_device_id const bcm963x
        { .compatible = "comtrend,vr-3025u", .data = &board_VR3025u, },
        { .compatible = "comtrend,vr-3025un", .data = &board_VR3025un, },
        { .compatible = "comtrend,wap-5813n", .data = &board_WAP5813n, },
index 98f2e1369536e54f675b6fde379b6e9ff5a901d6..b51d6b07afeceec801044e9a680061ce534c349d 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1475,6 +1475,32 @@ static struct board_info __initdata boar
+@@ -1470,6 +1470,32 @@ static struct board_info __initdata boar
        },
  };
  
@@ -33,7 +33,7 @@
  static struct board_info __initdata board_HW520 = {
        .name                           = "HW6358GW_B",
        .expected_cpu_id                = 0x6358,
-@@ -2334,6 +2360,7 @@ static const struct board_info __initcon
+@@ -2294,6 +2320,7 @@ static const struct board_info __initcon
        &board_nb4_ser_r0,
        &board_nb4_fxc_r1,
        &board_ct6373_1,
@@ -41,7 +41,7 @@
        &board_HW520,
        &board_HW553,
        &board_HW556_A,
-@@ -2443,6 +2470,7 @@ static struct of_device_id const bcm963x
+@@ -2403,6 +2430,7 @@ static struct of_device_id const bcm963x
        { .compatible = "sfr,nb4-fxc-r1", .data = &board_nb4_fxc_r1, },
        { .compatible = "t-com,spw303v", .data = &board_spw303v, },
        { .compatible = "telsey,cpva642", .data = &board_CPVA642, },
index 2e3ef419f03fe3d46b5c4549a5d02df045e68092..1a0aaaaeba31c7fc9e0dcc1bc0e02828fb9b8a9e 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1929,6 +1929,53 @@ static struct board_info __initdata boar
+@@ -1889,6 +1889,53 @@ static struct board_info __initdata boar
        .num_spis = ARRAY_SIZE(DGND3700v1_3800B_spi_devices),
  };
  
@@ -54,7 +54,7 @@
  static struct sprom_fixup __initdata vr3025u_fixups[] = {
        { .offset = 97, .value = 0xfeb3 },
        { .offset = 98, .value = 0x1618 },
-@@ -2379,6 +2426,7 @@ static const struct board_info __initcon
+@@ -2339,6 +2386,7 @@ static const struct board_info __initcon
        &board_96368mvwg,
        &board_96368mvngr,
        &board_DGND3700v1_3800B,
@@ -62,7 +62,7 @@
        &board_P870HW51A_V2,
        &board_VR3025u,
        &board_VR3025un,
-@@ -2482,6 +2530,7 @@ static struct of_device_id const bcm963x
+@@ -2442,6 +2490,7 @@ static struct of_device_id const bcm963x
        { .compatible = "comtrend,vr-3025u", .data = &board_VR3025u, },
        { .compatible = "comtrend,vr-3025un", .data = &board_VR3025un, },
        { .compatible = "comtrend,wap-5813n", .data = &board_WAP5813n, },
index 5b398c9a0c567fd1ee8854bb54ab5672eaec7a10..249933acdbb450a0ceffa3c7894ec426afcab9dc 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -221,6 +221,46 @@ static struct board_info __initdata boar
+@@ -216,6 +216,46 @@ static struct board_info __initdata boar
                .num_board_fixups               = ARRAY_SIZE(dsl2751b_e1_fixups),
        },
  };
@@ -47,7 +47,7 @@
  #endif /* CONFIG_BCM63XX_CPU_6318 */
  
  /*
-@@ -2351,6 +2391,7 @@ static const struct board_info __initcon
+@@ -2311,6 +2351,7 @@ static const struct board_info __initcon
        &board_96318ref,
        &board_96318ref_p300,
        &board_dsl_2751b_d1,
@@ -55,7 +55,7 @@
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6328
        &board_96328avng,
-@@ -2448,6 +2489,7 @@ static struct of_device_id const bcm963x
+@@ -2408,6 +2449,7 @@ static struct of_device_id const bcm963x
        { .compatible = "brcm,bcm96318ref", .data = &board_96318ref, },
        { .compatible = "brcm,bcm96318ref_p300", .data = &board_96318ref_p300, },
        { .compatible = "d-link,dsl-275xb-d", .data = &board_dsl_2751b_d1, },
index a51768c152a28ae884be254a263eb7087bddebe5..832728f0941c224ea5ccd30cb81d4d1dfd0e67b2 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -2167,6 +2167,60 @@ static struct board_info __initdata boar
+@@ -2127,6 +2127,60 @@ static struct board_info __initdata boar
        },
  };
  
@@ -61,7 +61,7 @@
  static struct b53_platform_data WAP5813n_b53_pdata = {
        .alias = "eth0",
  };
-@@ -2471,6 +2525,7 @@ static const struct board_info __initcon
+@@ -2431,6 +2485,7 @@ static const struct board_info __initcon
        &board_P870HW51A_V2,
        &board_VR3025u,
        &board_VR3025un,
@@ -69,7 +69,7 @@
        &board_WAP5813n,
  #endif
  #ifdef CONFIG_BCM63XX_CPU_63268
-@@ -2571,6 +2626,7 @@ static struct of_device_id const bcm963x
+@@ -2531,6 +2586,7 @@ static struct of_device_id const bcm963x
        { .compatible = "brcm,bcm96368mvwg", .data = &board_96368mvwg, },
        { .compatible = "comtrend,vr-3025u", .data = &board_VR3025u, },
        { .compatible = "comtrend,vr-3025un", .data = &board_VR3025un, },
index 58fec6580cc48a263f66eb4ffa34b8802cb6fa9a..a148bb12b4f31ba8ef402f0ed02db7abe269c70f 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -643,6 +643,51 @@ static struct board_info __initdata boar
+@@ -638,6 +638,51 @@ static struct board_info __initdata boar
                },
        },
  };
@@ -52,7 +52,7 @@
  #endif /* CONFIG_BCM63XX_CPU_6328 */
  
  /*
-@@ -2456,6 +2501,7 @@ static const struct board_info __initcon
+@@ -2416,6 +2461,7 @@ static const struct board_info __initcon
        &board_A4001N1,
        &board_dsl_274xb_f1,
        &board_FAST2704V2,
@@ -60,7 +60,7 @@
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6338
        &board_96338gw,
-@@ -2554,6 +2600,7 @@ static struct of_device_id const bcm963x
+@@ -2514,6 +2560,7 @@ static struct of_device_id const bcm963x
        { .compatible = "comtrend,ar-5381u", .data = &board_AR5381u, },
        { .compatible = "comtrend,ar-5387un", .data = &board_AR5387un, },
        { .compatible = "d-link,dsl-274xb-f", .data = &board_dsl_274xb_f1, },
index badbe7fc21707584725a51d8c0cc193a70107893..837226fd38020101af374e38010370f6e64d5520 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -2061,6 +2061,53 @@ static struct board_info __initdata boar
+@@ -2021,6 +2021,53 @@ static struct board_info __initdata boar
        },
  };
  
@@ -54,7 +54,7 @@
  static struct sprom_fixup __initdata vr3025u_fixups[] = {
        { .offset = 97, .value = 0xfeb3 },
        { .offset = 98, .value = 0x1618 },
-@@ -2567,6 +2614,7 @@ static const struct board_info __initcon
+@@ -2527,6 +2574,7 @@ static const struct board_info __initcon
        &board_96368mvwg,
        &board_96368mvngr,
        &board_DGND3700v1_3800B,
@@ -62,7 +62,7 @@
        &board_HG655b,
        &board_P870HW51A_V2,
        &board_VR3025u,
-@@ -2675,6 +2723,7 @@ static struct of_device_id const bcm963x
+@@ -2635,6 +2683,7 @@ static struct of_device_id const bcm963x
        { .compatible = "comtrend,vr-3025un", .data = &board_VR3025un, },
        { .compatible = "comtrend,vr-3026e", .data = &board_VR3026e, },
        { .compatible = "comtrend,wap-5813n", .data = &board_WAP5813n, },
index 361bd04d4350b30be491c45ed64d598e862ce1ef..f5f75c80df776ebf6e9b84b070a446a28a89256a 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -2014,6 +2014,43 @@ static struct board_info __initdata boar
+@@ -1974,6 +1974,43 @@ static struct board_info __initdata boar
        .num_spis = ARRAY_SIZE(DGND3700v1_3800B_spi_devices),
  };
  
@@ -44,7 +44,7 @@
  static struct board_info __initdata board_HG655b = {
        .name                           = "HW65x",
        .expected_cpu_id                = 0x6368,
-@@ -2614,6 +2651,7 @@ static const struct board_info __initcon
+@@ -2574,6 +2611,7 @@ static const struct board_info __initcon
        &board_96368mvwg,
        &board_96368mvngr,
        &board_DGND3700v1_3800B,
@@ -52,7 +52,7 @@
        &board_HG622,
        &board_HG655b,
        &board_P870HW51A_V2,
-@@ -2726,6 +2764,7 @@ static struct of_device_id const bcm963x
+@@ -2686,6 +2724,7 @@ static struct of_device_id const bcm963x
        { .compatible = "huawei,hg622", .data = &board_HG622, },
        { .compatible = "huawei,hg655b", .data = &board_HG655b, },
        { .compatible = "netgear,dgnd3700v1", .data = &board_DGND3700v1_3800B, },