brcm63xx: move board compatible strings into a table
authorJonas Gorski <jogo@openwrt.org>
Sat, 22 Nov 2014 12:25:52 +0000 (12:25 +0000)
committerJonas Gorski <jogo@openwrt.org>
Sat, 22 Nov 2014 12:25:52 +0000 (12:25 +0000)
Move compatible strings from board structs into separate table. This
allows for several board compatibles to match to the same board in case
e.g. only the flash size / partitions differ.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 43341

62 files changed:
target/linux/brcm63xx/patches-3.14/368-MIPS-BCM63XX-add-support-for-matching-the-board_info.patch [new file with mode: 0644]
target/linux/brcm63xx/patches-3.14/368-MIPS-BCM63XX-expand-board_info-with-an-of-compatible.patch [deleted file]
target/linux/brcm63xx/patches-3.14/369-MIPS-BCM63XX-add-support-for-matching-the-board_info.patch [deleted file]
target/linux/brcm63xx/patches-3.14/369-MIPS-BCM63XX-populate-the-compatible-to-board_info-l.patch [new file with mode: 0644]
target/linux/brcm63xx/patches-3.14/370-bcm63xx-add-of_board_ids-for-all-supported-boards.patch [deleted file]
target/linux/brcm63xx/patches-3.14/413-BCM63XX-allow-providing-fixup-data-in-board-data.patch
target/linux/brcm63xx/patches-3.14/422-BCM63XX-add-a-fixup-for-rt2x00-devices.patch
target/linux/brcm63xx/patches-3.14/499-allow_better_context_for_board_patches.patch
target/linux/brcm63xx/patches-3.14/500-board-D4PW.patch
target/linux/brcm63xx/patches-3.14/501-board-NB4.patch
target/linux/brcm63xx/patches-3.14/502-board-96338W2_E7T.patch
target/linux/brcm63xx/patches-3.14/503-board-CPVA642.patch
target/linux/brcm63xx/patches-3.14/504-board_dsl_274xb_rev_c.patch
target/linux/brcm63xx/patches-3.14/505-board_spw500v.patch
target/linux/brcm63xx/patches-3.14/506-board_gw6200_gw6000.patch
target/linux/brcm63xx/patches-3.14/507-board-MAGIC.patch
target/linux/brcm63xx/patches-3.14/508-board_hw553.patch
target/linux/brcm63xx/patches-3.14/509-board_rta1320_16m.patch
target/linux/brcm63xx/patches-3.14/510-board_spw303v.patch
target/linux/brcm63xx/patches-3.14/511-board_V2500V.patch
target/linux/brcm63xx/patches-3.14/512-board_BTV2110.patch
target/linux/brcm63xx/patches-3.14/514-board_ct536_ct5621.patch
target/linux/brcm63xx/patches-3.14/515-board_DWV-S0_fixes.patch
target/linux/brcm63xx/patches-3.14/516-board_96348A-122.patch
target/linux/brcm63xx/patches-3.14/517-RTA1205W_16_uart_fixes.patch
target/linux/brcm63xx/patches-3.14/519_board_CPVA502plus.patch
target/linux/brcm63xx/patches-3.14/520-bcm63xx-add-support-for-96368MVWG-board.patch
target/linux/brcm63xx/patches-3.14/521-bcm63xx-add-support-for-96368MVNgr-board.patch
target/linux/brcm63xx/patches-3.14/522-MIPS-BCM63XX-add-96328avng-reference-board.patch
target/linux/brcm63xx/patches-3.14/523-MIPS-BCM63XX-add-963281TAN-reference-board.patch
target/linux/brcm63xx/patches-3.14/524-board_dsl_274xb_rev_f.patch
target/linux/brcm63xx/patches-3.14/525-board_96348w3.patch
target/linux/brcm63xx/patches-3.14/526-board_CT6373-1.patch
target/linux/brcm63xx/patches-3.14/527-board_dva-g3810bn-tl-1.patch
target/linux/brcm63xx/patches-3.14/528-board_nb6.patch
target/linux/brcm63xx/patches-3.14/529-board_fast2604.patch
target/linux/brcm63xx/patches-3.14/530-board_A4001N1.patch
target/linux/brcm63xx/patches-3.14/531-board_AR-5387un.patch
target/linux/brcm63xx/patches-3.14/532-board_AR-5381u.patch
target/linux/brcm63xx/patches-3.14/533-board_rta770bw.patch
target/linux/brcm63xx/patches-3.14/534-board_hw556.patch
target/linux/brcm63xx/patches-3.14/535-board_rta770w.patch
target/linux/brcm63xx/patches-3.14/536-board_fast2704.patch
target/linux/brcm63xx/patches-3.14/537-board_fast2504n.patch
target/linux/brcm63xx/patches-3.14/550-alice_gate2_leds.patch
target/linux/brcm63xx/patches-3.14/551-96348gw_a_leds.patch
target/linux/brcm63xx/patches-3.14/552-board_96348gw-10_reset_button.patch
target/linux/brcm63xx/patches-3.14/553-boards_probe_switch.patch
target/linux/brcm63xx/patches-3.14/554-board_DWVS0_leds_buttons.patch
target/linux/brcm63xx/patches-3.14/555-board_96318ref.patch
target/linux/brcm63xx/patches-3.14/556-board_96318ref_p300.patch
target/linux/brcm63xx/patches-3.14/557-board_bcm963269bhr.patch
target/linux/brcm63xx/patches-3.14/558-board_AR1004G.patch
target/linux/brcm63xx/patches-3.14/559-board_vw6339gu.patch
target/linux/brcm63xx/patches-3.14/560-board_963268gu_p300.patch
target/linux/brcm63xx/patches-3.14/561-board_WAP-5813n.patch
target/linux/brcm63xx/patches-3.14/562-board_VR-3025u.patch
target/linux/brcm63xx/patches-3.14/563-board_VR-3025un.patch
target/linux/brcm63xx/patches-3.14/564-board_P870HW-51a_v2.patch
target/linux/brcm63xx/patches-3.14/565-board_hw520.patch
target/linux/brcm63xx/patches-3.14/566-board_A4001N.patch
target/linux/brcm63xx/patches-3.14/567-board_dsl-2751b_e1.patch

diff --git a/target/linux/brcm63xx/patches-3.14/368-MIPS-BCM63XX-add-support-for-matching-the-board_info.patch b/target/linux/brcm63xx/patches-3.14/368-MIPS-BCM63XX-add-support-for-matching-the-board_info.patch
new file mode 100644 (file)
index 0000000..afe537a
--- /dev/null
@@ -0,0 +1,95 @@
+From 25bf2b5836c892f091651d8a3384c9c57ce1b400 Mon Sep 17 00:00:00 2001
+From: Jonas Gorski <jogo@openwrt.org>
+Date: Thu, 26 Jun 2014 12:51:00 +0200
+Subject: [PATCH 46/48] MIPS: BCM63XX: add support for matching the board_info
+ by dtb
+
+Allow using the passed dtb's compatible property to match board_info
+structs instead of nvram's boardname field, which is not unique anyway.
+
+Signed-off-by: Jonas Gorski <jogo@openwrt.org>
+---
+ arch/mips/bcm63xx/boards/board_bcm963xx.c |   15 +++++++++++++++
+ arch/mips/bcm63xx/boards/board_common.c   |   18 ++++++++++++++++++
+ arch/mips/bcm63xx/boards/board_common.h   |    3 +++
+ 3 files changed, 36 insertions(+)
+
+--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
++++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
+@@ -735,6 +735,10 @@ static const struct board_info __initcon
+ #endif
+ };
++static struct of_device_id const bcm963xx_boards_dt[] = {
++      { },
++};
++
+ /*
+  * early init callback, read nvram data from flash and checksum it
+  */
+@@ -746,6 +750,7 @@ void __init board_bcm963xx_init(void)
+       char *board_name = NULL;
+       u32 val;
+       struct bcm_hcs *hcs;
++      const struct of_device_id *board_match;
+       /* read base address of boot chip select (0)
+        * 6328/6362 do not have MPI but boot from a fixed address
+@@ -785,6 +790,16 @@ void __init board_bcm963xx_init(void)
+       } else {
+               board_name = bcm63xx_nvram_get_name();
+       }
++
++      /* find board by compat */
++      board_match = bcm63xx_match_board(bcm963xx_boards_dt);
++      if (board_match) {
++              board_early_setup(board_match->data,
++                                bcm63xx_nvram_get_mac_address);
++
++              return;
++      }
++
+       /* find board by name */
+       for (i = 0; i < ARRAY_SIZE(bcm963xx_boards); i++) {
+               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
+@@ -281,3 +281,21 @@ int __init board_register_devices(void)
+       return 0;
+ }
++
++const struct of_device_id * __init bcm63xx_match_board(const struct of_device_id *m)
++{
++      const struct of_device_id *match;
++      unsigned long dt_root;
++
++      if (!IS_ENABLED(CONFIG_OF) || !initial_boot_params)
++              return NULL;
++
++      dt_root = of_get_flat_dt_root();
++
++      for (match = m; match->compatible[0]; match++) {
++              if (of_flat_dt_is_compatible(dt_root, match->compatible))
++                      return match;
++      }
++
++      return NULL;
++}
+--- a/arch/mips/bcm63xx/boards/board_common.h
++++ b/arch/mips/bcm63xx/boards/board_common.h
+@@ -1,11 +1,14 @@
+ #ifndef __BOARD_COMMON_H
+ #define __BOARD_COMMON_H
++#include <linux/of.h>
+ #include <board_bcm963xx.h>
+ void board_early_setup(const struct board_info *board,
+                      int (*get_mac_address)(u8 mac[ETH_ALEN]));
++const struct of_device_id *bcm63xx_match_board(const struct of_device_id *);
++
+ #if defined(CONFIG_BOARD_BCM963XX)
+ void board_bcm963xx_init(void);
+ #else
diff --git a/target/linux/brcm63xx/patches-3.14/368-MIPS-BCM63XX-expand-board_info-with-an-of-compatible.patch b/target/linux/brcm63xx/patches-3.14/368-MIPS-BCM63XX-expand-board_info-with-an-of-compatible.patch
deleted file mode 100644 (file)
index c89873d..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-From e8c11c43a9eb8171d150850c498bc75205681ab8 Mon Sep 17 00:00:00 2001
-From: Jonas Gorski <jogo@openwrt.org>
-Date: Thu, 26 Jun 2014 12:49:33 +0200
-Subject: [PATCH 46/48] MIPS: BCM63XX: expand board_info with an of compatible
- string
-
-It will be used for matching board_info structs to a passed dtb until
-bcm63xx is fully converted.
-
-Signed-off-by: Jonas Gorski <jogo@openwrt.org>
----
- arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h | 7 +++++++
- 1 file changed, 7 insertions(+)
-
---- a/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h
-+++ b/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h
-@@ -21,6 +21,7 @@
-  */
- struct board_info {
-       u8              name[16];
-+      u8              of_board_id[32];
-       unsigned int    expected_cpu_id;
-       /* enabled feature/device */
diff --git a/target/linux/brcm63xx/patches-3.14/369-MIPS-BCM63XX-add-support-for-matching-the-board_info.patch b/target/linux/brcm63xx/patches-3.14/369-MIPS-BCM63XX-add-support-for-matching-the-board_info.patch
deleted file mode 100644 (file)
index 190f77a..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-From b9bc4eb19007fd35b57a10c4dfd442dd518ee345 Mon Sep 17 00:00:00 2001
-From: Jonas Gorski <jogo@openwrt.org>
-Date: Thu, 26 Jun 2014 12:51:00 +0200
-Subject: [PATCH 47/48] MIPS: BCM63XX: add support for matching the board_info
- by dtb
-
-Allow using the passed dtb's compatible property to match board_info
-structs instead of nvram's boardname field, which is not unique anyway.
-
-Signed-off-by: Jonas Gorski <jogo@openwrt.org>
----
- arch/mips/bcm63xx/boards/board_bcm963xx.c |  4 ++--
- arch/mips/bcm63xx/boards/board_common.c   | 13 +++++++++++++
- arch/mips/bcm63xx/boards/board_common.h   |  3 +++
- 3 files changed, 18 insertions(+), 2 deletions(-)
-
---- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
-+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -785,9 +785,9 @@ void __init board_bcm963xx_init(void)
-       } else {
-               board_name = bcm63xx_nvram_get_name();
-       }
--      /* find board by name */
-+      /* find board by name/compat */
-       for (i = 0; i < ARRAY_SIZE(bcm963xx_boards); i++) {
--              if (strncmp(board_name, bcm963xx_boards[i]->name, 16))
-+              if (!board_is_compatible(bcm963xx_boards[i], board_name))
-                       continue;
-               /* copy, board desc array is marked initdata */
-               board_early_setup(bcm963xx_boards[i],
---- a/arch/mips/bcm63xx/boards/board_common.c
-+++ b/arch/mips/bcm63xx/boards/board_common.c
-@@ -281,3 +281,16 @@ int __init board_register_devices(void)
-       return 0;
- }
-+
-+int __init board_is_compatible(const struct board_info *board,
-+                             const char *board_name)
-+{
-+#ifdef CONFIG_OF
-+      if (initial_boot_params) {
-+              unsigned long dt_root = of_get_flat_dt_root();
-+
-+              return of_flat_dt_is_compatible(dt_root, board->of_board_id);
-+      }
-+#endif
-+      return !strncmp(board_name, board->name, 16);
-+}
---- a/arch/mips/bcm63xx/boards/board_common.h
-+++ b/arch/mips/bcm63xx/boards/board_common.h
-@@ -6,6 +6,9 @@
- void board_early_setup(const struct board_info *board,
-                      int (*get_mac_address)(u8 mac[ETH_ALEN]));
-+int board_is_compatible(const struct board_info *board,
-+                      const char *board_name);
-+
- #if defined(CONFIG_BOARD_BCM963XX)
- void board_bcm963xx_init(void);
- #else
diff --git a/target/linux/brcm63xx/patches-3.14/369-MIPS-BCM63XX-populate-the-compatible-to-board_info-l.patch b/target/linux/brcm63xx/patches-3.14/369-MIPS-BCM63XX-populate-the-compatible-to-board_info-l.patch
new file mode 100644 (file)
index 0000000..d65a808
--- /dev/null
@@ -0,0 +1,58 @@
+From e71eea9953c774dfadb754258824fb1888c279f4 Mon Sep 17 00:00:00 2001
+From: Jonas Gorski <jogo@openwrt.org>
+Date: Fri, 21 Nov 2014 16:54:06 +0100
+Subject: [PATCH 47/48] MIPS: BCM63XX: populate the compatible to board_info
+ list
+
+Populate the compatible to board_info list to allow dtbs to be used
+for known boards.
+
+Signed-off-by: Jonas Gorski <jogo@openwrt.org>
+---
+ arch/mips/bcm63xx/boards/board_bcm963xx.c |   35 +++++++++++++++++++++++++++++
+ 1 file changed, 35 insertions(+)
+
+--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
++++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
+@@ -736,6 +736,41 @@ static const struct board_info __initcon
+ };
+ static struct of_device_id const bcm963xx_boards_dt[] = {
++#ifdef CONFIG_OF
++#ifdef CONFIG_BCM63XX_CPU_3368
++      { .compatible = "netgear,cvg834g", .data = &board_cvg834g, },
++#endif
++#ifdef CONFIG_BCM63XX_CPU_6328
++      { .compatible = "brcm,bcm96328avng", .data = &board_96328avng, },
++#endif
++#ifdef CONFIG_BCM63XX_CPU_6338
++      { .compatible = "brcm,bcm96338gw", .data = &board_96338gw, },
++      { .compatible = "brcm,bcm96338w", .data = &board_96338w, },
++#endif
++#ifdef CONFIG_BCM63XX_CPU_6345
++      { .compatible = "brcm,bcm96345gw2", .data = &board_96345gw2, },
++#endif
++#ifdef CONFIG_BCM63XX_CPU_6348
++      { .compatible = "brcm,bcm96348r", .data = &board_96348r, },
++      { .compatible = "brcm,bcm96348gw-10", .data = &board_96348gw_10, },
++      { .compatible = "brcm,bcm96348gw-11", .data = &board_96348gw_11, },
++      { .compatible = "brcm,bcm96348gw-a", .data = &board_96348gw_a, },
++      { .compatible = "dynalink,rta1025w", .data = &board_rta1025w_16, },
++      { .compatible = "sagem,f@st2404", .data = &board_FAST2404, },
++#endif
++#ifdef CONFIG_BCM63XX_CPU_6358
++      { .compatible = "brcm,bcm96358vw", .data = &board_96358vw, },
++      { .compatible = "brcm,bcm96358vw2", .data = &board_96358vw2, },
++      { .compatible = "pirelli,a226g", .data = &board_DWVS0, },
++      { .compatible = "pirelli,a226m", .data = &board_DWVS0, },
++      { .compatible = "pirelli,agpf-s0", .data = &board_AGPFS0, },
++#endif
++#ifdef CONFIG_BCM63XX_CPU_6368
++#endif
++#ifdef CONFIG_BCM63XX_CPU_63268
++      { .compatible = "brcm,bcm963268bu_p300", .data = &board_963268bu_p300, },
++#endif
++#endif /* CONFIG_OF */
+       { },
+ };
diff --git a/target/linux/brcm63xx/patches-3.14/370-bcm63xx-add-of_board_ids-for-all-supported-boards.patch b/target/linux/brcm63xx/patches-3.14/370-bcm63xx-add-of_board_ids-for-all-supported-boards.patch
deleted file mode 100644 (file)
index a997212..0000000
+++ /dev/null
@@ -1,147 +0,0 @@
-From 020faee6d3cef9b3cdda257a255c4007a4b38720 Mon Sep 17 00:00:00 2001
-From: Jonas Gorski <jogo@openwrt.org>
-Date: Tue, 8 Jul 2014 16:17:32 +0200
-Subject: [PATCH 48/48] MIPS: BCM63XX: add of_board_ids for all supported boards
-
----
- arch/mips/bcm63xx/boards/board_bcm963xx.c | 18 ++++++++++++++++++
- 1 file changed, 18 insertions(+)
-
---- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
-+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -37,6 +37,7 @@
- #ifdef CONFIG_BCM63XX_CPU_3368
- static struct board_info __initdata board_cvg834g = {
-       .name                           = "CVG834G_E15R3921",
-+      .of_board_id                    = "netgear,cvg834g",
-       .expected_cpu_id                = 0x3368,
-       .has_uart0                      = 1,
-@@ -69,6 +70,7 @@ static struct board_info __initdata boar
- #ifdef CONFIG_BCM63XX_CPU_6328
- static struct board_info __initdata board_96328avng = {
-       .name                           = "96328avng",
-+      .of_board_id                    = "brcm,bcm96328avng",
-       .expected_cpu_id                = 0x6328,
-       .has_uart0                      = 1,
-@@ -118,6 +120,7 @@ static struct board_info __initdata boar
- #ifdef CONFIG_BCM63XX_CPU_6338
- static struct board_info __initdata board_96338gw = {
-       .name                           = "96338GW",
-+      .of_board_id                    = "brcm,bcm96338gw",
-       .expected_cpu_id                = 0x6338,
-       .has_uart0                      = 1,
-@@ -161,6 +164,7 @@ static struct board_info __initdata boar
- static struct board_info __initdata board_96338w = {
-       .name                           = "96338W",
-+      .of_board_id                    = "brcm,bcm96338w",
-       .expected_cpu_id                = 0x6338,
-       .has_uart0                      = 1,
-@@ -207,6 +211,7 @@ static struct board_info __initdata boar
- #ifdef CONFIG_BCM63XX_CPU_6345
- static struct board_info __initdata board_96345gw2 = {
-       .name                           = "96345GW2",
-+      .of_board_id                    = "brcm,bcm96345gw2",
-       .expected_cpu_id                = 0x6345,
-       .has_uart0                      = 1,
-@@ -219,6 +224,7 @@ static struct board_info __initdata boar
- #ifdef CONFIG_BCM63XX_CPU_6348
- static struct board_info __initdata board_96348r = {
-       .name                           = "96348R",
-+      .of_board_id                    = "brcm,bcm96348r",
-       .expected_cpu_id                = 0x6348,
-       .has_uart0                      = 1,
-@@ -264,6 +270,7 @@ static struct board_info __initdata boar
- static struct board_info __initdata board_96348gw_10 = {
-       .name                           = "96348GW-10",
-+      .of_board_id                    = "brcm,bcm96348gw-10",
-       .expected_cpu_id                = 0x6348,
-       .has_uart0                      = 1,
-@@ -325,6 +332,7 @@ static struct board_info __initdata boar
- static struct board_info __initdata board_96348gw_11 = {
-       .name                           = "96348GW-11",
-+      .of_board_id                    = "brcm,bcm96348gw-11",
-       .expected_cpu_id                = 0x6348,
-       .has_uart0                      = 1,
-@@ -390,6 +398,7 @@ static struct board_info __initdata boar
- static struct board_info __initdata board_96348gw = {
-       .name                           = "96348GW",
-+      .of_board_id                    = "brcm,bcm96348gw",
-       .expected_cpu_id                = 0x6348,
-       .has_uart0                      = 1,
-@@ -459,6 +468,7 @@ static struct board_info __initdata boar
- static struct board_info __initdata board_FAST2404 = {
-       .name                           = "F@ST2404",
-+      .of_board_id                    = "sagem,f@st2404",
-       .expected_cpu_id                = 0x6348,
-       .has_uart0                      = 1,
-@@ -484,6 +494,7 @@ static struct board_info __initdata boar
- static struct board_info __initdata board_rta1025w_16 = {
-       .name                           = "RTA1025W_16",
-+      .of_board_id                    = "dynalink,rta1025w",
-       .expected_cpu_id                = 0x6348,
-       .has_enet0                      = 1,
-@@ -504,6 +515,7 @@ static struct board_info __initdata boar
- static struct board_info __initdata board_DV201AMR = {
-       .name                           = "DV201AMR",
-+      .of_board_id                    = "davolink,dv-201amr",
-       .expected_cpu_id                = 0x6348,
-       .has_uart0                      = 1,
-@@ -525,6 +537,7 @@ static struct board_info __initdata boar
- static struct board_info __initdata board_96348gw_a = {
-       .name                           = "96348GW-A",
-+      .of_board_id                    = "brcm,bcm96348gw-a",
-       .expected_cpu_id                = 0x6348,
-       .has_uart0                      = 1,
-@@ -552,6 +565,7 @@ static struct board_info __initdata boar
- #ifdef CONFIG_BCM63XX_CPU_6358
- static struct board_info __initdata board_96358vw = {
-       .name                           = "96358VW",
-+      .of_board_id                    = "brcm,bcm96358vw",
-       .expected_cpu_id                = 0x6358,
-       .has_uart0                      = 1,
-@@ -605,6 +619,7 @@ static struct board_info __initdata boar
- static struct board_info __initdata board_96358vw2 = {
-       .name                           = "96358VW2",
-+      .of_board_id                    = "brcm,bcm96358vw2",
-       .expected_cpu_id                = 0x6358,
-       .has_uart0                      = 1,
-@@ -655,6 +670,7 @@ static struct board_info __initdata boar
- static struct board_info __initdata board_AGPFS0 = {
-       .name                           = "AGPF-S0",
-+      .of_board_id                    = "pirelli,agpf-s0",
-       .expected_cpu_id                = 0x6358,
-       .has_uart0                      = 1,
-@@ -678,6 +694,7 @@ static struct board_info __initdata boar
- static struct board_info __initdata board_DWVS0 = {
-       .name                           = "DWV-S0",
-+      .of_board_id                    = "pirelli,a226g",
-       .expected_cpu_id                = 0x6358,
-       .has_enet0                      = 1,
index 320c2977467db511666a59f64c379e3177e2a42f..bcb92a1893ce8333226c241e6cbc18fcfb8ff010 100644 (file)
@@ -59,7 +59,7 @@ Subject: [PATCH 58/72] BCM63XX: allow providing fixup data in board data
  /*
   * board definition
   */
-@@ -37,6 +43,10 @@ struct board_info {
+@@ -36,6 +42,10 @@ struct board_info {
        unsigned int    has_uart0:1;
        unsigned int    has_uart1:1;
        unsigned int    use_fallback_sprom:1;
index 49eb89798adc3be5be268f9586769f7a6c859474..c07bd32e2a6d2f83417fd337101068bde15197c2 100644 (file)
@@ -183,7 +183,7 @@ Subject: [PATCH 72/72] 446-BCM63XX-add-a-fixup-for-rt2x00-devices
  };
  
  /*
-@@ -48,7 +53,7 @@ struct board_info {
+@@ -47,7 +52,7 @@ struct board_info {
        unsigned int    has_caldata:2;
  
        /* wifi calibration data config */
index fb09397f1001a0e1674c6b9e8c1bb2614c3c68f2..5dcfa9dda62cc35eaa0b2daaa3289dffeb04a626 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -62,7 +62,7 @@ static struct board_info __initdata boar
+@@ -61,7 +61,7 @@ static struct board_info __initdata boar
        .ephy_reset_gpio                = 36,
        .ephy_reset_gpio_flags          = GPIOF_INIT_HIGH,
  };
@@ -9,7 +9,7 @@
  
  /*
   * known 6328 boards
-@@ -112,7 +112,7 @@ static struct board_info __initdata boar
+@@ -110,7 +110,7 @@ static struct board_info __initdata boar
                },
        },
  };
@@ -18,7 +18,7 @@
  
  /*
   * known 6338 boards
-@@ -203,7 +203,7 @@ static struct board_info __initdata boar
+@@ -199,7 +199,7 @@ static struct board_info __initdata boar
                },
        },
  };
@@ -27,7 +27,7 @@
  
  /*
   * known 6345 boards
-@@ -216,7 +216,7 @@ static struct board_info __initdata boar
+@@ -211,7 +211,7 @@ static struct board_info __initdata boar
  
        .has_uart0                      = 1,
  };
@@ -36,7 +36,7 @@
  
  /*
   * known 6348 boards
-@@ -557,7 +557,7 @@ static struct board_info __initdata boar
+@@ -544,7 +544,7 @@ static struct board_info __initdata boar
  
        .has_ohci0 = 1,
  };
@@ -45,7 +45,7 @@
  
  /*
   * known 6358 boards
-@@ -714,7 +714,7 @@ static struct board_info __initdata boar
+@@ -697,7 +697,7 @@ static struct board_info __initdata boar
  
        .has_ohci0                      = 1,
  };
index 8be8c9c4d5740c25a5f2a0283c8aa0aa8421c077..b54a3e5443c25c59eca9e5c9a278c1fa6bc9288d 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -557,6 +557,56 @@ static struct board_info __initdata boar
+@@ -544,6 +544,56 @@ static struct board_info __initdata boar
  
        .has_ohci0 = 1,
  };
@@ -57,7 +57,7 @@
  #endif /* CONFIG_BCM63XX_CPU_6348 */
  
  /*
-@@ -742,6 +792,7 @@ static const struct board_info __initcon
+@@ -725,6 +775,7 @@ static const struct board_info __initcon
        &board_DV201AMR,
        &board_96348gw_a,
        &board_rta1025w_16,
index a33237850745123ef68a616ce0c6e3c15aad9027..f028de826fa1c01af5dc44092d8c21dc71692d3f 100644 (file)
@@ -26,7 +26,7 @@
  /*
   * known 3368 boards
   */
-@@ -764,6 +776,270 @@ static struct board_info __initdata boar
+@@ -747,6 +759,268 @@ static struct board_info __initdata boar
  
        .has_ohci0                      = 1,
  };
@@ -72,7 +72,6 @@
 +
 +static struct board_info __initdata board_nb4_ser_r0 = {
 +      .name                           = "NB4-SER-r0",
-+      .of_board_id                    = "sfr,nb4-ser-r0",
 +      .expected_cpu_id                = 0x6358,
 +
 +      .has_uart0                      = 1,
 +
 +static struct board_info __initdata board_nb4_fxc_r1 = {
 +      .name                           = "NB4-FXC-r1",
-+      .of_board_id                    = "sfr,nb4-fxc-r1",
 +      .expected_cpu_id                = 0x6358,
 +
 +      .has_uart0                      = 1,
  #endif /* CONFIG_BCM63XX_CPU_6358 */
  
  /*
-@@ -800,6 +1076,8 @@ static const struct board_info __initcon
+@@ -783,6 +1057,8 @@ static const struct board_info __initcon
        &board_96358vw2,
        &board_AGPFS0,
        &board_DWVS0,
  #endif
  };
  
+@@ -815,6 +1091,8 @@ static struct of_device_id const bcm963x
+       { .compatible = "pirelli,a226g", .data = &board_DWVS0, },
+       { .compatible = "pirelli,a226m", .data = &board_DWVS0, },
+       { .compatible = "pirelli,agpf-s0", .data = &board_AGPFS0, },
++      { .compatible = "sfr,nb4-ser-r0", .data = &board_nb4_ser_r0, },
++      { .compatible = "sfr,nb4-fxc-r1", .data = &board_nb4_fxc_r1, },
+ #endif
+ #ifdef CONFIG_BCM63XX_CPU_6368
+ #endif
index 7fb4fdd225a6e469cd6f5b1eeaa9376b90410a74..3a8477753aa0ca8b0bb4260c33200ec2ae4fb24c 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -215,6 +215,40 @@ static struct board_info __initdata boar
+@@ -211,6 +211,40 @@ static struct board_info __initdata boar
                },
        },
  };
@@ -41,7 +41,7 @@
  #endif /* CONFIG_BCM63XX_CPU_6338 */
  
  /*
-@@ -1055,6 +1089,7 @@ static const struct board_info __initcon
+@@ -1036,6 +1070,7 @@ static const struct board_info __initcon
  #ifdef CONFIG_BCM63XX_CPU_6338
        &board_96338gw,
        &board_96338w,
index 443eaaf13820e981fee993e25720f916e38bfadd..8b5ad5cb0f58705676a0a431c682aa7249a28152 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -764,6 +764,98 @@ static struct board_info __initdata boar
+@@ -749,6 +749,98 @@ static struct board_info __initdata boar
        },
  };
  
@@ -98,8 +98,8 @@
 +
  static struct board_info __initdata board_AGPFS0 = {
        .name                           = "AGPF-S0",
-       .of_board_id                    = "pirelli,agpf-s0",
-@@ -1110,6 +1202,7 @@ static const struct board_info __initcon
+       .expected_cpu_id                = 0x6358,
+@@ -1091,6 +1183,7 @@ static const struct board_info __initcon
        &board_96358vw,
        &board_96358vw2,
        &board_AGPFS0,
index 77b6a35d5991ad52097448245d31e1bf0df90cd5..c20dd19ff3033fcfe8be9c7f1c9400165cb2bde4 100644 (file)
@@ -1,13 +1,12 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -903,6 +903,62 @@ static struct board_info __initdata boar
+@@ -886,6 +886,61 @@ static struct board_info __initdata boar
        .has_ohci0                      = 1,
  };
  
 +/* D-Link DSL-274xB revison C2/C3 */
 +static struct board_info __initdata board_dsl_274xb_rev_c = {
 +      .name                           = "AW4139",
-+      .of_board_id                    = "d-link,dsl-274xb-c2",
 +      .expected_cpu_id                = 0x6358,
 +
 +      .has_uart0                      = 1,
@@ -63,7 +62,7 @@
  struct spi_gpio_platform_data nb4_spi_gpio_data = {
        .sck            = NB4_SPI_GPIO_CLK,
        .mosi           = NB4_SPI_GPIO_MOSI,
-@@ -1204,6 +1260,7 @@ static const struct board_info __initcon
+@@ -1185,6 +1240,7 @@ static const struct board_info __initcon
        &board_AGPFS0,
        &board_CPVA642,
        &board_DWVS0,
        &board_nb4_ser_r0,
        &board_nb4_fxc_r1,
  #endif
+@@ -1216,6 +1272,7 @@ static struct of_device_id const bcm963x
+ #ifdef CONFIG_BCM63XX_CPU_6358
+       { .compatible = "brcm,bcm96358vw", .data = &board_96358vw, },
+       { .compatible = "brcm,bcm96358vw2", .data = &board_96358vw2, },
++      { .compatible = "d-link,dsl-274xb-c2", .data = &board_dsl_274xb_rev_c, },
+       { .compatible = "pirelli,a226g", .data = &board_DWVS0, },
+       { .compatible = "pirelli,a226m", .data = &board_DWVS0, },
+       { .compatible = "pirelli,agpf-s0", .data = &board_AGPFS0, },
index f326a9eb7d41868163fb7ca79044d2a38c0834a8..9743cd6f56e432dd2de63ed8162fdbd69bbb0082 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -653,6 +653,85 @@ static struct board_info __initdata boar
+@@ -640,6 +640,84 @@ static struct board_info __initdata boar
                },
        },
  };
@@ -15,7 +15,6 @@
 +
 +static struct board_info __initdata board_spw500v = {
 +      .name                           = "SPW500V",
-+      .of_board_id                    = "t-com,spw500v",
 +      .expected_cpu_id                = 0x6348,
 +
 +      .has_uart0                      = 1,
@@ -86,7 +85,7 @@
  #endif /* CONFIG_BCM63XX_CPU_6348 */
  
  /*
-@@ -1252,6 +1331,7 @@ static const struct board_info __initcon
+@@ -1232,6 +1310,7 @@ static const struct board_info __initcon
        &board_96348gw_a,
        &board_rta1025w_16,
        &board_96348_D4PW,
  #endif
  
  #ifdef CONFIG_BCM63XX_CPU_6358
+@@ -1268,6 +1347,7 @@ static struct of_device_id const bcm963x
+       { .compatible = "brcm,bcm96348gw-a", .data = &board_96348gw_a, },
+       { .compatible = "dynalink,rta1025w", .data = &board_rta1025w_16, },
+       { .compatible = "sagem,f@st2404", .data = &board_FAST2404, },
++      { .compatible = "t-com,spw500v", .data = &board_spw500v, },
+ #endif
+ #ifdef CONFIG_BCM63XX_CPU_6358
+       { .compatible = "brcm,bcm96358vw", .data = &board_96358vw, },
index 5cc4bc57a41af95d782ef438134e8ee76a70914e..70226a75105f7c8bbc6beea25eddab7fbcf4b4b3 100644 (file)
@@ -1,12 +1,11 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -512,6 +512,114 @@ static struct board_info __initdata boar
+@@ -503,6 +503,112 @@ static struct board_info __initdata boar
        },
  };
  
 +static struct board_info __initdata board_gw6200 = {
 +      .name                           = "GW6200",
-+      .of_board_id                    = "tecom,gw6200",
 +      .expected_cpu_id                = 0x6348,
 +
 +      .has_uart0                      = 1,
@@ -69,7 +68,6 @@
 +
 +static struct board_info __initdata board_gw6000 = {
 +      .name                           = "GW6000",
-+      .of_board_id                    = "tecom,gw6000",
 +      .expected_cpu_id                = 0x6348,
 +
 +      .has_uart0                      = 1,
 +
  static struct board_info __initdata board_FAST2404 = {
        .name                           = "F@ST2404",
-       .of_board_id                    = "sagem,f@st2404",
-@@ -1324,6 +1432,8 @@ static const struct board_info __initcon
+       .expected_cpu_id                = 0x6348,
+@@ -1303,6 +1409,8 @@ static const struct board_info __initcon
  #ifdef CONFIG_BCM63XX_CPU_6348
        &board_96348r,
        &board_96348gw,
        &board_96348gw_10,
        &board_96348gw_11,
        &board_FAST2404,
+@@ -1348,6 +1456,8 @@ static struct of_device_id const bcm963x
+       { .compatible = "dynalink,rta1025w", .data = &board_rta1025w_16, },
+       { .compatible = "sagem,f@st2404", .data = &board_FAST2404, },
+       { .compatible = "t-com,spw500v", .data = &board_spw500v, },
++      { .compatible = "tecom,gw6000", .data = &board_gw6000, },
++      { .compatible = "tecom,gw6200", .data = &board_gw6200, },
+ #endif
+ #ifdef CONFIG_BCM63XX_CPU_6358
+       { .compatible = "brcm,bcm96358vw", .data = &board_96358vw, },
index af8860296ebcaced684b8abd788aed20f703ad7f..c5ce970ae63e569f4c7036861c9ab064c6f802e8 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -840,6 +840,78 @@ static struct board_info __initdata boar
+@@ -824,6 +824,78 @@ static struct board_info __initdata boar
                .num_board_fixups       = ARRAY_SIZE(spw500v_fixups),
        },
  };
@@ -79,7 +79,7 @@
  #endif /* CONFIG_BCM63XX_CPU_6348 */
  
  /*
-@@ -1442,6 +1514,7 @@ static const struct board_info __initcon
+@@ -1419,6 +1491,7 @@ static const struct board_info __initcon
        &board_rta1025w_16,
        &board_96348_D4PW,
        &board_spw500v,
index 7d93be85b106e251151d3d8f0271439f2ce1c626..7dcd10111e88d3da61f1c9853cfef8807ffa1542 100644 (file)
@@ -1,13 +1,12 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1481,6 +1481,84 @@ static struct board_info __initdata boar
+@@ -1458,6 +1458,83 @@ static struct board_info __initdata boar
        .spis = nb4_spi_devices,
        .num_spis = ARRAY_SIZE(nb4_spi_devices),
  };
 +
 +static struct board_info __initdata board_HW553 = {
 +      .name                           = "HW553",
-+      .of_board_id                                    = "huawei,hg553",
 +      .expected_cpu_id                = 0x6358,
 +
 +      .has_uart0                      = 1,
@@ -85,7 +84,7 @@
  #endif /* CONFIG_BCM63XX_CPU_6358 */
  
  /*
-@@ -1526,6 +1604,7 @@ static const struct board_info __initcon
+@@ -1503,6 +1580,7 @@ static const struct board_info __initcon
        &board_dsl_274xb_rev_c,
        &board_nb4_ser_r0,
        &board_nb4_fxc_r1,
  #endif
  };
  
+@@ -1536,6 +1614,7 @@ static struct of_device_id const bcm963x
+       { .compatible = "brcm,bcm96358vw", .data = &board_96358vw, },
+       { .compatible = "brcm,bcm96358vw2", .data = &board_96358vw2, },
+       { .compatible = "d-link,dsl-274xb-c2", .data = &board_dsl_274xb_rev_c, },
++      { .compatible = "huawei,hg553", .data = &board_HW553, },
+       { .compatible = "pirelli,a226g", .data = &board_DWVS0, },
+       { .compatible = "pirelli,a226m", .data = &board_DWVS0, },
+       { .compatible = "pirelli,agpf-s0", .data = &board_AGPFS0, },
index 701ddabfbe04cecec218576ad453e641e7bf9aa0..2aa9b72b6b46b7598d91bb3f379c92e86180ccf8 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -249,6 +249,45 @@ static struct board_info __initdata boar
+@@ -245,6 +245,45 @@ static struct board_info __initdata boar
                },
        },
  };
@@ -46,7 +46,7 @@
  #endif /* CONFIG_BCM63XX_CPU_6338 */
  
  /*
-@@ -1575,6 +1614,7 @@ static const struct board_info __initcon
+@@ -1551,6 +1590,7 @@ static const struct board_info __initcon
        &board_96338gw,
        &board_96338w,
        &board_96338w2_e7t,
index e62cf23d6c2b3fa992c52c8749b8ae8dce22455b..391239979c42921686bf9fbab46c33a9254f8f90 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1598,6 +1598,72 @@ static struct board_info __initdata boar
+@@ -1574,6 +1574,72 @@ static struct board_info __initdata boar
                .pci_dev                        = 1,
        },
  };
@@ -73,7 +73,7 @@
  #endif /* CONFIG_BCM63XX_CPU_6358 */
  
  /*
-@@ -1645,6 +1711,7 @@ static const struct board_info __initcon
+@@ -1621,6 +1687,7 @@ static const struct board_info __initcon
        &board_nb4_ser_r0,
        &board_nb4_fxc_r1,
        &board_HW553,
index 2afdb31f11f625540e76dda442ea0156bdc645ff..51f7c491fb17d851a9b8f4611adce77fe77ba87b 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -951,6 +951,65 @@ static struct board_info __initdata boar
+@@ -935,6 +935,65 @@ static struct board_info __initdata boar
                },
        },
  };
@@ -66,7 +66,7 @@
  #endif /* CONFIG_BCM63XX_CPU_6348 */
  
  /*
-@@ -1699,6 +1758,7 @@ static const struct board_info __initcon
+@@ -1675,6 +1734,7 @@ static const struct board_info __initcon
        &board_96348_D4PW,
        &board_spw500v,
        &board_96348sv,
@@ -74,7 +74,7 @@
  #endif
  
  #ifdef CONFIG_BCM63XX_CPU_6358
-@@ -1737,6 +1797,22 @@ void __init board_bcm963xx_init(void)
+@@ -1760,6 +1820,22 @@ void __init board_bcm963xx_init(void)
                val &= MPI_CSBASE_BASE_MASK;
        }
        boot_addr = (u8 *)KSEG1ADDR(val);
index 5012c7127f53282b41674164be72fe7c8b295bf6..0d29b074e81761e21d88aa129950be62edd9945a 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -481,6 +481,64 @@ static struct board_info __initdata boar
+@@ -473,6 +473,64 @@ static struct board_info __initdata boar
        },
  };
  
@@ -64,8 +64,8 @@
 +
  static struct board_info __initdata board_96348gw = {
        .name                           = "96348GW",
-       .of_board_id                    = "brcm,bcm96348gw",
-@@ -1759,6 +1817,7 @@ static const struct board_info __initcon
+       .expected_cpu_id                = 0x6348,
+@@ -1735,6 +1793,7 @@ static const struct board_info __initcon
        &board_spw500v,
        &board_96348sv,
        &board_V2500V_BB,
index 71d9da370dc1b84ea8fc669346e5f4552482ea98..4b5cc13c2ff99ec24cc2cf2a325afa1d514a46bb 100644 (file)
@@ -1,12 +1,11 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -539,6 +539,59 @@ static struct board_info __initdata boar
+@@ -531,6 +531,58 @@ static struct board_info __initdata boar
  };
  
  
 +static struct board_info __initdata board_ct536_ct5621 = {
 +      .name                           = "CT536_CT5621",
-+      .of_board_id                    = "comtrend,ct-536+",
 +      .expected_cpu_id                = 0x6348,
 +
 +      .has_uart0                      = 1,
@@ -59,8 +58,8 @@
 +
  static struct board_info __initdata board_96348gw = {
        .name                           = "96348GW",
-       .of_board_id                    = "brcm,bcm96348gw",
-@@ -1818,6 +1871,7 @@ static const struct board_info __initcon
+       .expected_cpu_id                = 0x6348,
+@@ -1794,6 +1846,7 @@ static const struct board_info __initcon
        &board_96348sv,
        &board_V2500V_BB,
        &board_V2110,
  #endif
  
  #ifdef CONFIG_BCM63XX_CPU_6358
+@@ -1830,6 +1883,8 @@ static struct of_device_id const bcm963x
+       { .compatible = "brcm,bcm96348gw-10", .data = &board_96348gw_10, },
+       { .compatible = "brcm,bcm96348gw-11", .data = &board_96348gw_11, },
+       { .compatible = "brcm,bcm96348gw-a", .data = &board_96348gw_a, },
++      { .compatible = "comtrend,ct-536+", .data = &board_ct536_ct5621, },
++      { .compatible = "comtrend,ct-5621", .data = &board_ct536_ct5621, },
+       { .compatible = "dynalink,rta1025w", .data = &board_rta1025w_16, },
+       { .compatible = "sagem,f@st2404", .data = &board_FAST2404, },
+       { .compatible = "t-com,spw500v", .data = &board_spw500v, },
index 1323871c6bd2327f8cedde43eac4ce28df06b649..278cf2c5364f6e02012cb4a0ecd541c1b4e61404 100644 (file)
@@ -1,7 +1,7 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1353,6 +1353,8 @@ static struct board_info __initdata boar
-       .of_board_id                    = "pirelli,a226g",
+@@ -1332,6 +1332,8 @@ static struct board_info __initdata boar
+       .name                           = "DWV-S0",
        .expected_cpu_id                = 0x6358,
  
 +      .has_uart0                      = 1,
@@ -9,7 +9,7 @@
        .has_enet0                      = 1,
        .has_enet1                      = 1,
        .has_pci                        = 1,
-@@ -1369,6 +1371,7 @@ static struct board_info __initdata boar
+@@ -1348,6 +1350,7 @@ static struct board_info __initdata boar
        },
  
        .has_ohci0                      = 1,
index 18869e4e5f1ee44b7b27fd8e9b27cc58aaca44e6..0a9de2324330a3e1277bf1c051efcb7c29ce281d 100644 (file)
@@ -1,12 +1,11 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -592,6 +592,77 @@ static struct board_info __initdata boar
+@@ -583,6 +583,76 @@ static struct board_info __initdata boar
        },
  };
  
 +static struct board_info __initdata board_96348A_122 = {
 +      .name                           = "96348A-122",
-+      .of_board_id                    = "comtrend,ct-5365",
 +      .expected_cpu_id                = 0x6348,
 +
 +      .has_uart0                      = 1,
@@ -77,8 +76,8 @@
 +
  static struct board_info __initdata board_96348gw = {
        .name                           = "96348GW",
-       .of_board_id                    = "brcm,bcm96348gw",
-@@ -1875,6 +1946,7 @@ static const struct board_info __initcon
+       .expected_cpu_id                = 0x6348,
+@@ -1850,6 +1920,7 @@ static const struct board_info __initcon
        &board_V2500V_BB,
        &board_V2110,
        &board_ct536_ct5621,
  #endif
  
  #ifdef CONFIG_BCM63XX_CPU_6358
+@@ -1887,6 +1958,7 @@ static struct of_device_id const bcm963x
+       { .compatible = "brcm,bcm96348gw-11", .data = &board_96348gw_11, },
+       { .compatible = "brcm,bcm96348gw-a", .data = &board_96348gw_a, },
+       { .compatible = "comtrend,ct-536+", .data = &board_ct536_ct5621, },
++      { .compatible = "comtrend,ct-5365", .data = &board_96348A_122, },
+       { .compatible = "comtrend,ct-5621", .data = &board_ct536_ct5621, },
+       { .compatible = "dynalink,rta1025w", .data = &board_rta1025w_16, },
+       { .compatible = "sagem,f@st2404", .data = &board_FAST2404, },
index 1a2dda7222f14c3de36212e70b1aa0c7edae8407..10d2508e1966ccc44d034db0bf64e94929fc54cb 100644 (file)
@@ -1,7 +1,7 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -872,6 +872,7 @@ static struct board_info __initdata boar
-       .of_board_id                    = "dynalink,rta1025w",
+@@ -857,6 +857,7 @@ static struct board_info __initdata boar
+       .name                           = "RTA1025W_16",
        .expected_cpu_id                = 0x6348,
  
 +      .has_uart0                      = 1,
index 7b32d028917f32b8f1eea3bc858c5fea32c58097..d7a808763c39671f4a3635eef1f9ccb4bf4d1b7d 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
+@@ -530,6 +530,40 @@ static struct board_info __initdata boar
        },
  };
  
@@ -41,7 +41,7 @@
  
  static struct board_info __initdata board_ct536_ct5621 = {
        .name                           = "CT536_CT5621",
-@@ -1948,6 +1982,7 @@ static const struct board_info __initcon
+@@ -1922,6 +1956,7 @@ static const struct board_info __initcon
        &board_V2110,
        &board_ct536_ct5621,
        &board_96348A_122,
index e2dced703e7cec5cd36bc2b053c428c804b7c717..7132a509c88597515ab02685a7607a7780c7e84d 100644 (file)
@@ -10,7 +10,7 @@ Subject: [PATCH 32/63] bcm63xx: add support for 96368MVWG board.
 
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1946,6 +1946,86 @@ static struct board_info __initdata boar
+@@ -1920,6 +1920,85 @@ static struct board_info __initdata boar
  #endif /* CONFIG_BCM63XX_CPU_6358 */
  
  /*
@@ -19,7 +19,6 @@ Subject: [PATCH 32/63] bcm63xx: add support for 96368MVWG board.
 +#ifdef CONFIG_BCM63XX_CPU_6368
 +static struct board_info __initdata board_96368mvwg = {
 +      .name                           = "96368MVWG",
-+      .of_board_id                    = "brcm,bcm96368mvwg",
 +      .expected_cpu_id                = 0x6368,
 +
 +      .has_uart0                      = 1,
@@ -97,7 +96,7 @@ Subject: [PATCH 32/63] bcm63xx: add support for 96368MVWG board.
   * all boards
   */
  static const struct board_info __initconst *bcm963xx_boards[] = {
-@@ -1997,6 +2077,10 @@ static const struct board_info __initcon
+@@ -1971,6 +2050,10 @@ static const struct board_info __initcon
        &board_HW553,
        &board_spw303v,
  #endif
@@ -107,7 +106,15 @@ Subject: [PATCH 32/63] bcm63xx: add support for 96368MVWG board.
 +#endif
  };
  
- /*
+ static struct of_device_id const bcm963xx_boards_dt[] = {
+@@ -2014,6 +2097,7 @@ static struct of_device_id const bcm963x
+       { .compatible = "sfr,nb4-fxc-r1", .data = &board_nb4_fxc_r1, },
+ #endif
+ #ifdef CONFIG_BCM63XX_CPU_6368
++      { .compatible = "brcm,bcm96368mvwg", .data = &board_96368mvwg, },
+ #endif
+ #ifdef CONFIG_BCM63XX_CPU_63268
+       { .compatible = "brcm,bcm963268bu_p300", .data = &board_963268bu_p300, },
 --- a/arch/mips/bcm63xx/boards/board_common.c
 +++ b/arch/mips/bcm63xx/boards/board_common.c
 @@ -88,12 +88,25 @@ void __init board_early_setup(const stru
index 784308e69afd89986be7b593da3686be2a34be51..c347129d7eab05fc3548bd70952968acc873a6a2 100644 (file)
@@ -9,14 +9,13 @@ Subject: [PATCH 33/63] bcm63xx: add support for 96368MVNgr board.
 
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -2023,6 +2023,73 @@ static struct board_info __initdata boar
+@@ -1996,6 +1996,72 @@ static struct board_info __initdata boar
        .has_ohci0 = 1,
        .has_ehci0 = 1,
  };
 +
 +static struct board_info __initdata board_96368mvngr = {
 +      .name                           = "96368MVNgr",
-+      .of_board_id                    = "brcm,bcm96368mvngr",
 +      .expected_cpu_id                = 0x6368,
 +
 +      .has_uart0                      = 1,
@@ -83,7 +82,7 @@ Subject: [PATCH 33/63] bcm63xx: add support for 96368MVNgr board.
  #endif /* CONFIG_BCM63XX_CPU_6368 */
  
  /*
-@@ -2080,6 +2147,7 @@ static const struct board_info __initcon
+@@ -2053,6 +2119,7 @@ static const struct board_info __initcon
  
  #ifdef CONFIG_BCM63XX_CPU_6368
        &board_96368mvwg,
@@ -91,3 +90,11 @@ Subject: [PATCH 33/63] bcm63xx: add support for 96368MVNgr board.
  #endif
  };
  
+@@ -2097,6 +2164,7 @@ static struct of_device_id const bcm963x
+       { .compatible = "sfr,nb4-fxc-r1", .data = &board_nb4_fxc_r1, },
+ #endif
+ #ifdef CONFIG_BCM63XX_CPU_6368
++      { .compatible = "brcm,bcm96368mvngr", .data = &board_96368mvngr, },
+       { .compatible = "brcm,bcm96368mvwg", .data = &board_96368mvwg, },
+ #endif
+ #ifdef CONFIG_BCM63XX_CPU_63268
index 055777b3edf5c57d6bacf0142fc031ae363a12d1..680a230bae86493096b02da988ae5310c9fa31f2 100644 (file)
@@ -9,7 +9,7 @@ Subject: [PATCH] MIPS: BCM63XX: add 96328avng reference board
 
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -95,13 +95,45 @@ static struct board_info __initdata boar
+@@ -93,13 +93,45 @@ static struct board_info __initdata boar
                .port_no                = 0,
        },
  
@@ -56,7 +56,7 @@ Subject: [PATCH] MIPS: BCM63XX: add 96328avng reference board
                        .name           = "96328avng::power",
                        .gpio           = 4,
                        .active_low     = 1,
-@@ -118,7 +150,7 @@ static struct board_info __initdata boar
+@@ -116,7 +148,7 @@ static struct board_info __initdata boar
                        .active_low     = 1,
                },
                {
index ecd8b6c13a9bc6e1c44beab490b2079396bfa5b9..8fef7d547bc14a745a59a721ccd7becd8362177b 100644 (file)
@@ -9,14 +9,13 @@ Subject: [PATCH] MIPS: BCM63XX: add 963281TAN reference board
 
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -156,6 +156,77 @@ static struct board_info __initdata boar
+@@ -154,6 +154,76 @@ static struct board_info __initdata boar
                },
        },
  };
 +
 +static struct board_info __initdata board_963281TAN = {
 +      .name                           = "963281TAN",
-+      .of_board_id                    = "brcm,bcm963281TAN",
 +      .expected_cpu_id                = 0x6328,
 +
 +      .has_uart0                      = 1,
@@ -87,7 +86,7 @@ Subject: [PATCH] MIPS: BCM63XX: add 963281TAN reference board
  #endif /* CONFIG_BCM63XX_CPU_6328 */
  
  /*
-@@ -2133,6 +2204,7 @@ static const struct board_info __initcon
+@@ -2105,6 +2175,7 @@ static const struct board_info __initcon
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6328
        &board_96328avng,
@@ -95,3 +94,11 @@ Subject: [PATCH] MIPS: BCM63XX: add 963281TAN reference board
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6338
        &board_96338gw,
+@@ -2161,6 +2232,7 @@ static struct of_device_id const bcm963x
+       { .compatible = "netgear,cvg834g", .data = &board_cvg834g, },
+ #endif
+ #ifdef CONFIG_BCM63XX_CPU_6328
++      { .compatible = "brcm,bcm963281TAN", .data = &board_963281TAN, },
+       { .compatible = "brcm,bcm96328avng", .data = &board_96328avng, },
+ #endif
+ #ifdef CONFIG_BCM63XX_CPU_6338
index 505bed710927765ef889b8a6dbb9d5b3d347c327..97c42dfdff25b8c564364f5745776311d3a40ae7 100644 (file)
@@ -10,7 +10,7 @@ Subject: [PATCH 70/79] MIPS: BCM63XX: Add board definition for D-Link
 
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -227,6 +227,111 @@ static struct board_info __initdata boar
+@@ -224,6 +224,111 @@ static struct board_info __initdata boar
  
        },
  };
@@ -122,7 +122,7 @@ Subject: [PATCH 70/79] MIPS: BCM63XX: Add board definition for D-Link
  #endif /* CONFIG_BCM63XX_CPU_6328 */
  
  /*
-@@ -2205,6 +2310,7 @@ static const struct board_info __initcon
+@@ -2176,6 +2281,7 @@ static const struct board_info __initcon
  #ifdef CONFIG_BCM63XX_CPU_6328
        &board_96328avng,
        &board_963281TAN,
index 564032c24ddfcd5a5fbcdfbaff5fb4b533d23a72..0dd54daad77719b202f8a0c802ef9c85b4f7dbf4 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1176,6 +1176,59 @@ static struct board_info __initdata boar
+@@ -1158,6 +1158,59 @@ static struct board_info __initdata boar
        .has_ohci0 = 1,
  };
  
@@ -60,7 +60,7 @@
  static struct board_info __initdata board_96348_D4PW = {
        .name                           = "D-4P-W",
        .expected_cpu_id                = 0x6348,
-@@ -2340,6 +2393,7 @@ static const struct board_info __initcon
+@@ -2311,6 +2364,7 @@ static const struct board_info __initcon
        &board_ct536_ct5621,
        &board_96348A_122,
        &board_CPVA502plus,
index 5fdb974b593ebf29c96039881f62cb9ec74841f8..b694b9b0787eed3bba14a95431a1058dcf6bb090 100644 (file)
@@ -13,7 +13,7 @@
  /*
   * known 3368 boards
   */
-@@ -2061,6 +2067,125 @@ static struct board_info __initdata boar
+@@ -2035,6 +2041,124 @@ static struct board_info __initdata boar
        .num_spis = ARRAY_SIZE(nb4_spi_devices),
  };
  
@@ -58,7 +58,6 @@
 +
 +static struct board_info __initdata board_ct6373_1 = {
 +      .name                           = "CT6373-1",
-+      .of_board_id            = "comtrend,ct-6373",
 +      .expected_cpu_id        = 0x6358,
 +
 +      .has_uart0                      = 1,
 +
  static struct board_info __initdata board_HW553 = {
        .name                           = "HW553",
-       .of_board_id                                    = "huawei,hg553",
-@@ -2405,6 +2530,7 @@ static const struct board_info __initcon
+       .expected_cpu_id                = 0x6358,
+@@ -2376,6 +2500,7 @@ static const struct board_info __initcon
        &board_dsl_274xb_rev_c,
        &board_nb4_ser_r0,
        &board_nb4_fxc_r1,
        &board_HW553,
        &board_spw303v,
  #endif
+@@ -2419,6 +2544,7 @@ static struct of_device_id const bcm963x
+ #ifdef CONFIG_BCM63XX_CPU_6358
+       { .compatible = "brcm,bcm96358vw", .data = &board_96358vw, },
+       { .compatible = "brcm,bcm96358vw2", .data = &board_96358vw2, },
++      { .compatible = "comtrend,ct-6373", .data = &board_ct6373_1, },
+       { .compatible = "d-link,dsl-274xb-c2", .data = &board_dsl_274xb_rev_c, },
+       { .compatible = "huawei,hg553", .data = &board_HW553, },
+       { .compatible = "pirelli,a226g", .data = &board_DWVS0, },
index c35b41acdf34e1defcb9c0ddb0ca68a9b102dc01..5b6dad49e6c4345cba849125649101f36076307a 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -2329,6 +2329,74 @@ static struct board_info __initdata boar
+@@ -2301,6 +2301,73 @@ static struct board_info __initdata boar
                },
        }
  };
@@ -8,7 +8,6 @@
 +/* D-Link DVA-G3810BN/TL */
 +static struct board_info __initdata board_DVAG3810BN = {
 +      .name                   = "DVAG3810BN",
-+      .of_board_id            = "d-link,dva-g3810bn/tl",
 +      .expected_cpu_id        = 0x6358,
 +
 +      .has_uart0              = 1,
@@ -75,7 +74,7 @@
  #endif /* CONFIG_BCM63XX_CPU_6358 */
  
  /*
-@@ -2533,6 +2601,7 @@ static const struct board_info __initcon
+@@ -2503,6 +2570,7 @@ static const struct board_info __initcon
        &board_ct6373_1,
        &board_HW553,
        &board_spw303v,
  #endif
  
  #ifdef CONFIG_BCM63XX_CPU_6368
+@@ -2546,6 +2614,7 @@ static struct of_device_id const bcm963x
+       { .compatible = "brcm,bcm96358vw2", .data = &board_96358vw2, },
+       { .compatible = "comtrend,ct-6373", .data = &board_ct6373_1, },
+       { .compatible = "d-link,dsl-274xb-c2", .data = &board_dsl_274xb_rev_c, },
++      { .compatible = "d-link,dva-g3810bn/tl", .data = &board_DVAG3810BN, },
+       { .compatible = "huawei,hg553", .data = &board_HW553, },
+       { .compatible = "pirelli,a226g", .data = &board_DWVS0, },
+       { .compatible = "pirelli,a226m", .data = &board_DWVS0, },
index 374b116dae507bf34ac689400fab2dcf75c677c5..09a6c7ed90f1485837fe27099e9e4a0b8e15356b 100644 (file)
@@ -17,7 +17,7 @@
  
  #define CT6373_PID_OFFSET             0xff80
  #define CT6373_74X164_GPIO_BASE       64
-@@ -2399,6 +2402,105 @@ static struct board_info __initdata boar
+@@ -2370,6 +2373,104 @@ static struct board_info __initdata boar
  };
  #endif /* CONFIG_BCM63XX_CPU_6358 */
  
@@ -56,7 +56,6 @@
 +
 +static struct board_info __initdata board_nb6 = {
 +      .name                           = "NB6",
-+      .of_board_id                    = "sfr,nb6-ser-r0",
 +      .expected_cpu_id                = 0x6362,
 +
 +      .has_uart0                      = 1,
  /*
   * known 6368 boards
   */
-@@ -2604,6 +2706,10 @@ static const struct board_info __initcon
+@@ -2573,6 +2674,10 @@ static const struct board_info __initcon
        &board_DVAG3810BN,
  #endif
  
  #ifdef CONFIG_BCM63XX_CPU_6368
        &board_96368mvwg,
        &board_96368mvngr,
+@@ -2622,6 +2727,9 @@ static struct of_device_id const bcm963x
+       { .compatible = "sfr,nb4-ser-r0", .data = &board_nb4_ser_r0, },
+       { .compatible = "sfr,nb4-fxc-r1", .data = &board_nb4_fxc_r1, },
+ #endif
++#ifdef CONFIG_BCM63XX_CPU_6362
++      { .compatible = "sfr,nb6-ser-r0", .data = &board_nb6, },
++#endif
+ #ifdef CONFIG_BCM63XX_CPU_6368
+       { .compatible = "brcm,bcm96368mvngr", .data = &board_96368mvngr, },
+       { .compatible = "brcm,bcm96368mvwg", .data = &board_96368mvwg, },
index e525908bf0a59d1169c35f5cc0d3b069e21946dd..6ded2f9b81d1a600b6f66a867ded4da92a614727 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1118,6 +1118,57 @@ static struct board_info __initdata boar
+@@ -1103,6 +1103,57 @@ static struct board_info __initdata boar
        .has_ehci0                      = 1,
  };
  
@@ -57,8 +57,8 @@
 +
  static struct board_info __initdata board_rta1025w_16 = {
        .name                           = "RTA1025W_16",
-       .of_board_id                    = "dynalink,rta1025w",
-@@ -2677,6 +2728,7 @@ static const struct board_info __initcon
+       .expected_cpu_id                = 0x6348,
+@@ -2645,6 +2696,7 @@ static const struct board_info __initcon
        &board_96348gw_10,
        &board_96348gw_11,
        &board_FAST2404,
index fbc32dc03ec724a732bb34660c63987da74a131d..808784269d36fe32c15a54f446e09e1b5dc310cf 100644 (file)
@@ -1,12 +1,11 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -237,6 +237,134 @@ static struct board_info __initdata boar
+@@ -234,6 +234,133 @@ static struct board_info __initdata boar
        },
  };
  
 +static struct board_info __initdata board_A4001N1 = {
 +      .name                                   = "963281T_TEF",
-+      .of_board_id                    = "adb,a4001n1",
 +      .expected_cpu_id                        = 0x6328,
 +
 +      .has_uart0                              = 1,
  static struct board_info __initdata board_dsl_274xb_f1 = {
        .name                           = "AW4339U",
        .expected_cpu_id                = 0x6328,
-@@ -2709,6 +2837,7 @@ static const struct board_info __initcon
+@@ -2677,6 +2804,7 @@ static const struct board_info __initcon
  #ifdef CONFIG_BCM63XX_CPU_6328
        &board_96328avng,
        &board_963281TAN,
        &board_dsl_274xb_f1,
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6338
+@@ -2742,6 +2870,7 @@ static struct of_device_id const bcm963x
+       { .compatible = "netgear,cvg834g", .data = &board_cvg834g, },
+ #endif
+ #ifdef CONFIG_BCM63XX_CPU_6328
++      { .compatible = "adb,a4001n1", .data = &board_A4001N1, },
+       { .compatible = "brcm,bcm963281TAN", .data = &board_963281TAN, },
+       { .compatible = "brcm,bcm96328avng", .data = &board_96328avng, },
+ #endif
index 22195bbf32dc98a98b4216c9ac31f19f0e685013..1e5f9c298f1a535376471fc98b0443a553fae776 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -166,6 +166,116 @@ static struct board_info __initdata boar
+@@ -164,6 +164,115 @@ static struct board_info __initdata boar
        },
  };
  
@@ -33,7 +33,6 @@
 +
 +static struct board_info __initdata board_AR5387un = {
 +      .name                                   = "96328A-1441N1",
-+      .of_board_id                            = "comtrend,ar-5387un",
 +      .expected_cpu_id                        = 0x6328,
 +
 +      .has_uart0                              = 1,
 +
  static struct board_info __initdata board_963281TAN = {
        .name                           = "963281TAN",
-       .of_board_id                    = "brcm,bcm963281TAN",
-@@ -2836,6 +2946,7 @@ static const struct board_info __initcon
+       .expected_cpu_id                = 0x6328,
+@@ -2803,6 +2912,7 @@ static const struct board_info __initcon
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6328
        &board_96328avng,
        &board_963281TAN,
        &board_A4001N1,
        &board_dsl_274xb_f1,
+@@ -2873,6 +2983,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, },
++      { .compatible = "comtrend,ar-5387un", .data = &board_AR5387un, },
+ #endif
+ #ifdef CONFIG_BCM63XX_CPU_6338
+       { .compatible = "brcm,bcm96338gw", .data = &board_96338gw, },
index 4acca5236f271dbb797242b6ef8e92465e3ada27..fd15650648ca4f6fed85bb255efa9f6076b67539 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -166,6 +166,92 @@ static struct board_info __initdata boar
+@@ -164,6 +164,91 @@ static struct board_info __initdata boar
        },
  };
  
@@ -15,7 +15,6 @@
 +
 +static struct board_info __initdata board_AR5381u = {
 +      .name                                   = "96328A-1241N",
-+      .of_board_id                            = "comtrend,ar-5381u",
 +      .expected_cpu_id                        = 0x6328,
 +
 +      .has_uart0                              = 1,
@@ -93,7 +92,7 @@
  static struct sprom_fixup __initdata ar5387un_fixups[] = {
        { .offset = 2, .value = 0x05bb },
        { .offset = 65, .value = 0x1204 },
-@@ -2946,6 +3032,7 @@ static const struct board_info __initcon
+@@ -2912,6 +2997,7 @@ static const struct board_info __initcon
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6328
        &board_96328avng,
        &board_AR5387un,
        &board_963281TAN,
        &board_A4001N1,
+@@ -2983,6 +3069,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, },
++      { .compatible = "comtrend,ar-5381u", .data = &board_AR5381u, },
+       { .compatible = "comtrend,ar-5387un", .data = &board_AR5387un, },
+ #endif
+ #ifdef CONFIG_BCM63XX_CPU_6338
index 38a5f6361549b2578470d73dbadd82554a89a106..059823ea0679d1757a10c7a4007381d480583b29 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -842,6 +842,55 @@ static struct board_info __initdata boar
+@@ -833,6 +833,55 @@ static struct board_info __initdata boar
  
        .has_uart0                      = 1,
  };
@@ -56,7 +56,7 @@
  #endif /* CONFIG_BCM63XX_CPU_6345 */
  
  /*
-@@ -3046,6 +3095,7 @@ static const struct board_info __initcon
+@@ -3011,6 +3060,7 @@ static const struct board_info __initcon
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6345
        &board_96345gw2,
index 71c305aaa24cddc84bcf6342422d3a5a02228177..f7c81536a098309710be06ff67bf98be47035195 100644 (file)
@@ -8,13 +8,12 @@
  #include <linux/platform_device.h>
  #include <linux/spi/spi.h>
  #include <linux/spi/spi_gpio.h>
-@@ -2691,6 +2692,405 @@ static struct board_info __initdata boar
+@@ -2660,6 +2661,402 @@ static struct board_info __initdata boar
        },
  };
  
 +static struct board_info __initdata board_HW556_C = {
 +      .name                                   = "HW556_C",
-+      .of_board_id                            = "huawei,hg556a-c",
 +      .expected_cpu_id                        = 0x6358,
 +
 +      .has_uart0                              = 1,
 +};
 +static struct board_info __initdata board_HW556_A = {
 +      .name                                   = "HW556_A",
-+      .of_board_id                            = "huawei,hg556a-a",
 +      .expected_cpu_id                        = 0x6358,
 +
 +      .has_uart0                              = 1,
 +};
 +static struct board_info __initdata board_HW556_B = {
 +      .name                                   = "HW556_B",
-+      .of_board_id                            = "huawei,hg556a-b",
 +      .expected_cpu_id                        = 0x6358,
 +
 +      .has_uart0                              = 1,
   /* T-Home Speedport W 303V Typ B */
  static struct board_info __initdata board_spw303v = {
        .name                   = "96358-502V",
-@@ -3131,6 +3531,9 @@ static const struct board_info __initcon
+@@ -3096,6 +3493,9 @@ static const struct board_info __initcon
        &board_nb4_fxc_r1,
        &board_ct6373_1,
        &board_HW553,
        &board_spw303v,
        &board_DVAG3810BN,
  #endif
+@@ -3150,6 +3550,9 @@ static struct of_device_id const bcm963x
+       { .compatible = "d-link,dsl-274xb-c2", .data = &board_dsl_274xb_rev_c, },
+       { .compatible = "d-link,dva-g3810bn/tl", .data = &board_DVAG3810BN, },
+       { .compatible = "huawei,hg553", .data = &board_HW553, },
++      { .compatible = "huawei,hg556a-a", .data = &board_HW556_A, },
++      { .compatible = "huawei,hg556a-b", .data = &board_HW556_B, },
++      { .compatible = "huawei,hg556a-c", .data = &board_HW556_C, },
+       { .compatible = "pirelli,a226g", .data = &board_DWVS0, },
+       { .compatible = "pirelli,a226m", .data = &board_DWVS0, },
+       { .compatible = "pirelli,agpf-s0", .data = &board_AGPFS0, },
index a1e7d65ac6cb93eb90668e2b21b31b10ba603d3f..0d557864673389915f8fefdeb21f61d250dfe07a 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -892,6 +892,60 @@ static struct board_info __initdata boar
+@@ -883,6 +883,60 @@ static struct board_info __initdata boar
                },
        },
  };
@@ -61,7 +61,7 @@
  #endif /* CONFIG_BCM63XX_CPU_6345 */
  
  /*
-@@ -3496,6 +3550,7 @@ static const struct board_info __initcon
+@@ -3458,6 +3512,7 @@ static const struct board_info __initcon
  #ifdef CONFIG_BCM63XX_CPU_6345
        &board_96345gw2,
        &board_rta770bw,
index b9b27d10d7891a02f17d33b0d2a2f9b411335c34..c647396c477e8c1be995dea2da487d46ce945ff7 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
-@@ -666,6 +666,122 @@ static struct board_info __initdata boar
+@@ -660,6 +660,122 @@ static struct board_info __initdata boar
                },
        },
  };
@@ -135,7 +135,7 @@ Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com>
  #endif /* CONFIG_BCM63XX_CPU_6328 */
  
  /*
-@@ -3540,6 +3656,7 @@ static const struct board_info __initcon
+@@ -3502,6 +3618,7 @@ static const struct board_info __initcon
        &board_963281TAN,
        &board_A4001N1,
        &board_dsl_274xb_f1,
index 9247f9e1642e7f048781c34f24b5989404f80cb4..27c83446cfed86273ee7ee362c4c8472dc1dc7a4 100644 (file)
@@ -6,7 +6,7 @@ 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
-@@ -3493,6 +3493,96 @@ static struct board_info __initdata boar
+@@ -3457,6 +3457,96 @@ static struct board_info __initdata boar
        .devs = nb6_devices,
        .num_devs = ARRAY_SIZE(nb6_devices),
  };
@@ -103,7 +103,7 @@ Signed-off-by: Max Staudt <openwrt.max@enpas.org>
  #endif /* CONFIG_BCM63XX_CPU_6362 */
  
  /*
-@@ -3712,6 +3802,7 @@ static const struct board_info __initcon
+@@ -3674,6 +3764,7 @@ static const struct board_info __initcon
  
  #ifdef CONFIG_BCM63XX_CPU_6362
        &board_nb6,
index 31094efdaa090d6b12e593a61881ef096b4ff151..dbf53b7bf5939f6c8598bc2273fa78952aaf5bcf 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -2317,6 +2317,99 @@ static struct board_info __initdata boar
+@@ -2292,6 +2292,99 @@ static struct board_info __initdata boar
  
        .has_ohci0 = 1,
        .has_ehci0 = 1,
index af8a39339aea5044ecfd6d4aa6fce8ccdf9e2c3a..f574148a1fd3c68d74a8a4bf0daa7a2964c9de53 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1778,6 +1778,19 @@ static struct board_info __initdata boar
+@@ -1757,6 +1757,19 @@ static struct board_info __initdata boar
        },
  
        .has_ohci0 = 1,
index 25c99f8088f78b0ee3fc13d47fd20cf5b9295950..b32fa93099eb6aa2a4d33d69a13a9de9d5dc171a 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1174,6 +1174,17 @@ static struct board_info __initdata boar
+@@ -1163,6 +1163,17 @@ static struct board_info __initdata boar
                        .active_low     = 1,
                },
        },
index f379cefc228529e325a43945db8765a75f09d91b..ed7ceb999e63af6883eb12ca2067b3a9c060660d 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -796,6 +796,8 @@ static struct board_info __initdata boar
+@@ -789,6 +789,8 @@ static struct board_info __initdata boar
        .has_uart0                      = 1,
        .has_enet0                      = 1,
        .enet0 = {
@@ -9,7 +9,7 @@
                .force_speed_100        = 1,
                .force_duplex_full      = 1,
        },
-@@ -840,6 +842,8 @@ static struct board_info __initdata boar
+@@ -832,6 +834,8 @@ static struct board_info __initdata boar
        .has_uart0                      = 1,
        .has_enet0                      = 1,
        .enet0 = {
@@ -18,7 +18,7 @@
                .force_speed_100        = 1,
                .force_duplex_full      = 1,
        },
-@@ -1130,6 +1134,8 @@ static struct board_info __initdata boar
+@@ -1119,6 +1123,8 @@ static struct board_info __initdata boar
                .use_internal_phy       = 1,
        },
        .enet1 = {
@@ -27,7 +27,7 @@
                .force_speed_100        = 1,
                .force_duplex_full      = 1,
        },
-@@ -1204,6 +1210,8 @@ static struct board_info __initdata boar
+@@ -1192,6 +1198,8 @@ static struct board_info __initdata boar
        },
  
        .enet1 = {
@@ -36,7 +36,7 @@
                .force_speed_100        = 1,
                .force_duplex_full      = 1,
        },
-@@ -1485,6 +1493,8 @@ static struct board_info __initdata boar
+@@ -1470,6 +1478,8 @@ static struct board_info __initdata boar
                .use_internal_phy       = 1,
        },
        .enet1 = {
@@ -45,7 +45,7 @@
                .force_speed_100        = 1,
                .force_duplex_full      = 1,
        },
-@@ -1664,6 +1674,8 @@ static struct board_info __initdata boar
+@@ -1646,6 +1656,8 @@ static struct board_info __initdata boar
        },
  
        .enet1 = {
@@ -54,7 +54,7 @@
                .force_speed_100        = 1,
                .force_duplex_full      = 1,
        },
-@@ -1740,6 +1752,8 @@ static struct board_info __initdata boar
+@@ -1721,6 +1733,8 @@ static struct board_info __initdata boar
                .use_internal_phy       = 1,
        },
        .enet1 = {
@@ -63,7 +63,7 @@
                .force_speed_100        = 1,
                .force_duplex_full      = 1,
        },
-@@ -1763,6 +1777,8 @@ static struct board_info __initdata boar
+@@ -1743,6 +1757,8 @@ static struct board_info __initdata boar
                .use_internal_phy       = 1,
        },
        .enet1 = {
@@ -72,7 +72,7 @@
                .force_speed_100        = 1,
                .force_duplex_full      = 1,
        },
-@@ -1784,6 +1800,8 @@ static struct board_info __initdata boar
+@@ -1763,6 +1779,8 @@ static struct board_info __initdata boar
                .use_internal_phy       = 1,
        },
        .enet1 = {
@@ -81,7 +81,7 @@
                .force_speed_100        = 1,
                .force_duplex_full      = 1,
        },
-@@ -2139,6 +2157,8 @@ static struct board_info __initdata boar
+@@ -2116,6 +2134,8 @@ static struct board_info __initdata boar
        },
  
        .enet1 = {
@@ -90,7 +90,7 @@
                .force_speed_100        = 1,
                .force_duplex_full      = 1,
        },
-@@ -2193,6 +2213,8 @@ static struct board_info __initdata boar
+@@ -2169,6 +2189,8 @@ static struct board_info __initdata boar
        },
  
        .enet1 = {
@@ -99,7 +99,7 @@
                .force_speed_100        = 1,
                .force_duplex_full      = 1,
        },
-@@ -2335,6 +2357,8 @@ static struct board_info __initdata boar
+@@ -2310,6 +2332,8 @@ static struct board_info __initdata boar
        },
  
        .enet1 = {
                .force_speed_100        = 1,
                .force_duplex_full      = 1,
        },
-@@ -2454,6 +2478,8 @@ static struct board_info __initdata boar
+@@ -2428,6 +2452,8 @@ static struct board_info __initdata boar
        },
  
        .enet1 = {
index 0f4cf95a43acbac66a3a4fbb1a1aebf6502839ee..fa27a487fd710a56970e4f5733e8cff990b24e81 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -2486,6 +2486,94 @@ static struct board_info __initdata boar
+@@ -2460,6 +2460,94 @@ static struct board_info __initdata boar
  
        .has_ohci0                      = 1,
        .has_ehci0                      = 1,
index ebf7b6cb29c3b8908d83be6336904e0d3762aa3c..bf46a1ab7daaecc4162b9973dec5517182b6832f 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -87,6 +87,93 @@ static struct board_info __initdata boar
+@@ -86,6 +86,93 @@ static struct board_info __initdata boar
  #endif /* CONFIG_BCM63XX_CPU_3368 */
  
  /*
@@ -94,7 +94,7 @@
   * known 6328 boards
   */
  #ifdef CONFIG_BCM63XX_CPU_6328
-@@ -3970,6 +4057,9 @@ static const struct board_info __initcon
+@@ -3932,6 +4019,9 @@ static const struct board_info __initcon
  #ifdef CONFIG_BCM63XX_CPU_3368
        &board_cvg834g,
  #endif
index 1310e6fb171c72558aa123103521c72cb99fed6d..a4d8be626e3b380de779ce665d043c56d6b8d29e 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -171,6 +171,94 @@ static struct board_info __initdata boar
+@@ -170,6 +170,94 @@ static struct board_info __initdata boar
                },
        },
  };
@@ -95,7 +95,7 @@
  #endif /* CONFIG_BCM63XX_CPU_6318 */
  
  /*
-@@ -4059,6 +4147,7 @@ static const struct board_info __initcon
+@@ -4021,6 +4109,7 @@ static const struct board_info __initcon
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6318
        &board_96318ref,
index 6c75847b9f1bc122ddfd6610514c4351a7c9227d..783bb6ac6b50872c6f2658752f60430556c5fc27 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -4139,6 +4139,75 @@ static struct board_info __initdata boar
+@@ -4101,6 +4101,75 @@ static struct board_info __initdata boar
  #endif /* CONFIG_BCM63XX_CPU_6368 */
  
  /*
@@ -76,7 +76,7 @@
   * all boards
   */
  static const struct board_info __initconst *bcm963xx_boards[] = {
-@@ -4219,6 +4288,9 @@ static const struct board_info __initcon
+@@ -4181,6 +4250,9 @@ static const struct board_info __initcon
        &board_96368mvwg,
        &board_96368mvngr,
  #endif
@@ -85,4 +85,4 @@
 +#endif
  };
  
- /*
+ static struct of_device_id const bcm963xx_boards_dt[] = {
index 1743cb911f5af1e3798f57b58f70b0f940a28aab..1af8e4896f4afe7e8a0aff3eb43fb62c33ec8114 100644 (file)
@@ -8,13 +8,12 @@ Signed-off-by: Adrian Feliks <mexit@o2.pl>
 ---
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1436,6 +1436,52 @@ static struct board_info __initdata boar
+@@ -1424,6 +1424,51 @@ static struct board_info __initdata boar
        },
  };
  
 +static struct board_info __initdata board_96348gw_10_AR1004G = {
 +      .name                           = "AR1004G",
-+      .of_board_id                    = "asmax,ar1004g",
 +      .expected_cpu_id                = 0x6348,
 +
 +      .has_uart0                      = 1,
@@ -61,7 +60,7 @@ Signed-off-by: Adrian Feliks <mexit@o2.pl>
  
  /* BT Voyager 2110 */
  static struct board_info __initdata board_V2110 = {
-@@ -4259,6 +4305,7 @@ static const struct board_info __initcon
+@@ -4221,6 +4266,7 @@ static const struct board_info __initcon
        &board_96348A_122,
        &board_CPVA502plus,
        &board_96348W3,
@@ -69,3 +68,11 @@ Signed-off-by: Adrian Feliks <mexit@o2.pl>
  #endif
  
  #ifdef CONFIG_BCM63XX_CPU_6358
+@@ -4275,6 +4321,7 @@ static struct of_device_id const bcm963x
+       { .compatible = "brcm,bcm96345gw2", .data = &board_96345gw2, },
+ #endif
+ #ifdef CONFIG_BCM63XX_CPU_6348
++      { .compatible = "asmax,ar1004g", .data = &board_96348gw_10_AR1004G, },
+       { .compatible = "brcm,bcm96348r", .data = &board_96348r, },
+       { .compatible = "brcm,bcm96348gw-10", .data = &board_96348gw_10, },
+       { .compatible = "brcm,bcm96348gw-11", .data = &board_96348gw_11, },
index ff70c9db676a16b33acac9242eded83e1a77f17c..ebccfc0b0c58ece0d1a22ab1b08802a2b9df5453 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -4251,6 +4251,108 @@ static struct board_info __initdata boar
+@@ -4212,6 +4212,108 @@ static struct board_info __initdata boar
                },
        },
  };
  #endif /* CONFIG_BCM63XX_CPU_63268 */
  
  /*
-@@ -4337,6 +4439,7 @@ static const struct board_info __initcon
+@@ -4298,6 +4400,7 @@ static const struct board_info __initcon
  #endif
  #ifdef CONFIG_BCM63XX_CPU_63268
        &board_963269bhr,
index 76fae5245d5aa2aa47f7f583f539f7a349b39bd7..026d19519bcb415dab48cc55b5fa0b66d1d98b03 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -4188,6 +4188,131 @@ static struct board_info __initdata boar
+@@ -4149,6 +4149,131 @@ static struct board_info __initdata boar
   * known 63268/63269 boards
   */
  #ifdef CONFIG_BCM63XX_CPU_63268
  static struct board_info __initdata board_963269bhr = {
        .name                           = "963269BHR",
        .expected_cpu_id                = 0x63268,
-@@ -4438,6 +4563,7 @@ static const struct board_info __initcon
+@@ -4399,6 +4524,7 @@ static const struct board_info __initcon
        &board_96368mvngr,
  #endif
  #ifdef CONFIG_BCM63XX_CPU_63268
index 02cefd5d70fd3fe9660ef83cf4410d664528a20a..1c85b70e7aad876cc1ba2117c5a161c51e20204a 100644 (file)
@@ -8,7 +8,7 @@
  #include <linux/platform_device.h>
  #include <linux/spi/spi.h>
  #include <linux/spi/spi_gpio.h>
-@@ -4182,6 +4183,118 @@ static struct board_info __initdata boar
+@@ -4143,6 +4144,117 @@ static struct board_info __initdata boar
        .has_ohci0 = 1,
        .has_ehci0 = 1,
  };
@@ -38,7 +38,6 @@
 +
 +static struct board_info __initdata board_WAP5813n = {
 +      .name                           = "96369R-1231N",
-+      .of_board_id                    = "comtrend,wap-5813n",
 +      .expected_cpu_id                = 0x6368,
 +
 +      .has_uart0                      = 1,
  #endif /* CONFIG_BCM63XX_CPU_6368 */
  
  /*
-@@ -4561,6 +4674,7 @@ static const struct board_info __initcon
+@@ -4522,6 +4634,7 @@ static const struct board_info __initcon
  #ifdef CONFIG_BCM63XX_CPU_6368
        &board_96368mvwg,
        &board_96368mvngr,
  #endif
  #ifdef CONFIG_BCM63XX_CPU_63268
        &board_963268bu_p300,
+@@ -4586,6 +4699,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, },
++      { .compatible = "comtrend,wap-5813n", .data = &board_WAP5813n, },
+ #endif
+ #ifdef CONFIG_BCM63XX_CPU_63268
+       { .compatible = "brcm,bcm963268bu_p300", .data = &board_963268bu_p300, },
index 2085df623a7724529b3fd94e5937f8d2b858c363..9c1bfd4a98c4aa3265c06f954eaaba261563167b 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -4184,6 +4184,117 @@ static struct board_info __initdata boar
+@@ -4145,6 +4145,116 @@ static struct board_info __initdata boar
        .has_ehci0 = 1,
  };
  
@@ -15,7 +15,6 @@
 +
 +static struct board_info __initdata board_VR3025u = {
 +      .name                                   = "96368M-1541N",
-+      .of_board_id                    = "comtrend,vr-3025u",
 +      .expected_cpu_id                = 0x6368,
 +
 +      .has_uart0                              = 1,
  static struct b53_platform_data WAP5813n_b53_pdata = {
        .alias = "eth0",
  };
-@@ -4674,6 +4785,7 @@ static const struct board_info __initcon
+@@ -4634,6 +4744,7 @@ static const struct board_info __initcon
  #ifdef CONFIG_BCM63XX_CPU_6368
        &board_96368mvwg,
        &board_96368mvngr,
        &board_WAP5813n,
  #endif
  #ifdef CONFIG_BCM63XX_CPU_63268
+@@ -4699,6 +4810,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, },
++      { .compatible = "comtrend,vr-3025u", .data = &board_VR3025u, },
+       { .compatible = "comtrend,wap-5813n", .data = &board_WAP5813n, },
+ #endif
+ #ifdef CONFIG_BCM63XX_CPU_63268
index 7754d9ed3ca424e340e331f68e3179ddc5b4ed61..f9b185b415e0bfa636331dec56e2b6eb761f1b36 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -4295,6 +4295,117 @@ static struct board_info __initdata boar
+@@ -4255,6 +4255,116 @@ static struct board_info __initdata boar
        },
  };
  
@@ -15,7 +15,6 @@
 +
 +static struct board_info __initdata board_VR3025un = {
 +      .name                                   = "96368M-1341N",
-+      .of_board_id                    = "comtrend,vr-3025un",
 +      .expected_cpu_id                = 0x6368,
 +
 +      .has_uart0                              = 1,
  static struct b53_platform_data WAP5813n_b53_pdata = {
        .alias = "eth0",
  };
-@@ -4786,6 +4897,7 @@ static const struct board_info __initcon
+@@ -4745,6 +4855,7 @@ static const struct board_info __initcon
        &board_96368mvwg,
        &board_96368mvngr,
        &board_VR3025u,
        &board_WAP5813n,
  #endif
  #ifdef CONFIG_BCM63XX_CPU_63268
+@@ -4811,6 +4922,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, },
++      { .compatible = "comtrend,vr-3025un", .data = &board_VR3025un, },
+       { .compatible = "comtrend,wap-5813n", .data = &board_WAP5813n, },
+ #endif
+ #ifdef CONFIG_BCM63XX_CPU_63268
index 591ffb311f03edd3f8be3f05bb8e4e50526dabe1..a638c51268091f274b52f3d5a727d592eeff7593 100644 (file)
@@ -1,12 +1,11 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -4193,6 +4193,97 @@ static struct sprom_fixup __initdata vr3
+@@ -4154,6 +4154,96 @@ static struct sprom_fixup __initdata vr3
        { .offset = 115, .value = 0xfad9 },
  };
  
 +static struct board_info __initdata board_P870HW51A_V2 = {
 +      .name                           = "P870HW-51a_v2",
-+      .of_board_id                    = "zyxel,p870hw-51a-v2",
 +      .expected_cpu_id                = 0x6368,
 +
 +      .has_uart0                      = 1,
@@ -97,8 +96,8 @@
 +
  static struct board_info __initdata board_VR3025u = {
        .name                                   = "96368M-1541N",
-       .of_board_id                    = "comtrend,vr-3025u",
-@@ -4896,6 +4987,7 @@ static const struct board_info __initcon
+       .expected_cpu_id                = 0x6368,
+@@ -4854,6 +4944,7 @@ static const struct board_info __initcon
  #ifdef CONFIG_BCM63XX_CPU_6368
        &board_96368mvwg,
        &board_96368mvngr,
        &board_VR3025u,
        &board_VR3025un,
        &board_WAP5813n,
+@@ -4924,6 +5015,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, },
++      { .compatible = "zyxel,p870hw-51a-v2", .data = &board_P870HW51A_V2, },
+ #endif
+ #ifdef CONFIG_BCM63XX_CPU_63268
+       { .compatible = "brcm,bcm963268bu_p300", .data = &board_963268bu_p300, },
index 5ab6d86525f3dc54d4a188de9d49216cd23402fa..b61979a867b4ae0f1181106582bea6e11046317c 100644 (file)
@@ -1,12 +1,11 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -3237,6 +3237,57 @@ static struct board_info __initdata boar
+@@ -3206,6 +3206,56 @@ static struct board_info __initdata boar
        .num_spis = ARRAY_SIZE(ct6373_spi_devices),
  };
  
 +static struct board_info __initdata board_HW520 = {
 +      .name                           = "HW6358GW_B",
-+      .of_board_id                    = "huawei,hg520v",
 +      .expected_cpu_id                = 0x6358,
 +
 +      .has_uart0                      = 1,
@@ -57,8 +56,8 @@
 +
  static struct board_info __initdata board_HW553 = {
        .name                           = "HW553",
-       .of_board_id                                    = "huawei,hg553",
-@@ -4971,6 +5022,7 @@ static const struct board_info __initcon
+       .expected_cpu_id                = 0x6358,
+@@ -4928,6 +4978,7 @@ static const struct board_info __initcon
        &board_nb4_ser_r0,
        &board_nb4_fxc_r1,
        &board_ct6373_1,
        &board_HW553,
        &board_HW556_A,
        &board_HW556_B,
+@@ -4996,6 +5047,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,dva-g3810bn/tl", .data = &board_DVAG3810BN, },
++      { .compatible = "huawei,hg520v", .data = &board_HW520, },
+       { .compatible = "huawei,hg553", .data = &board_HW553, },
+       { .compatible = "huawei,hg556a-a", .data = &board_HW556_A, },
+       { .compatible = "huawei,hg556a-b", .data = &board_HW556_B, },
index 082d6350e01b0cf3ae2388f462750c7a3e51a969..2873c53f31c79aced78f862781a23750df017d49 100644 (file)
@@ -1,12 +1,11 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -610,6 +610,96 @@ static struct board_info __initdata boar
+@@ -605,6 +605,95 @@ static struct board_info __initdata boar
        },
  };
  
 +static struct board_info __initdata board_A4001N = {
 +      .name                           = "96328dg2x2",
-+      .of_board_id                    = "adb,a4001n",
 +      .expected_cpu_id                = 0x6328,
 +
 +      .has_uart0                      = 1,
@@ -96,8 +95,8 @@
 +
  static struct board_info __initdata board_A4001N1 = {
        .name                                   = "963281T_TEF",
-       .of_board_id                    = "adb,a4001n1",
-@@ -4973,6 +5063,7 @@ static const struct board_info __initcon
+       .expected_cpu_id                        = 0x6328,
+@@ -4929,6 +5018,7 @@ static const struct board_info __initcon
        &board_AR5381u,
        &board_AR5387un,
        &board_963281TAN,
        &board_A4001N1,
        &board_dsl_274xb_f1,
        &board_FAST2704V2,
+@@ -5013,6 +5103,7 @@ static struct of_device_id const bcm963x
+       { .compatible = "netgear,cvg834g", .data = &board_cvg834g, },
+ #endif
+ #ifdef CONFIG_BCM63XX_CPU_6328
++      { .compatible = "adb,a4001n", .data = &board_A4001N, },
+       { .compatible = "adb,a4001n1", .data = &board_A4001N1, },
+       { .compatible = "brcm,bcm963281TAN", .data = &board_963281TAN, },
+       { .compatible = "brcm,bcm96328avng", .data = &board_96328avng, },
index 8e855cc816a4c14f22a1acaf63c335da6b353588..98c4664bf60797d855eb804179777ae34503dd42 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -260,6 +260,141 @@ static struct board_info __initdata boar
+@@ -259,6 +259,141 @@ static struct board_info __initdata boar
                },
        },
  };
  #endif /* CONFIG_BCM63XX_CPU_6318 */
  
  /*
-@@ -5057,6 +5192,7 @@ static const struct board_info __initcon
+@@ -5012,6 +5147,7 @@ static const struct board_info __initcon
  #ifdef CONFIG_BCM63XX_CPU_6318
        &board_96318ref,
        &board_96318ref_p300,