brcm63xx: Fix HW553 support
authorJonas Gorski <jogo@openwrt.org>
Sat, 12 Jul 2014 12:31:39 +0000 (12:31 +0000)
committerJonas Gorski <jogo@openwrt.org>
Sat, 12 Jul 2014 12:31:39 +0000 (12:31 +0000)
- adsl and lan leds are swapped.
- internetkey is labeled as hspa.
- enable status led and reset button for failsafe.
- use new leds script.
- fix switch configuration.
- remove enet0 from board_info.
- add profile.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 41588

69 files changed:
target/linux/brcm63xx/base-files/etc/uci-defaults/01_leds
target/linux/brcm63xx/base-files/etc/uci-defaults/02_network
target/linux/brcm63xx/base-files/lib/brcm63xx.sh
target/linux/brcm63xx/generic/profiles/201-HW556.mk [deleted file]
target/linux/brcm63xx/generic/profiles/201-Huawei.mk [new file with mode: 0644]
target/linux/brcm63xx/patches-3.10/508-board_hw553.patch
target/linux/brcm63xx/patches-3.10/509-board_rta1320_16m.patch
target/linux/brcm63xx/patches-3.10/510-board_spw303v.patch
target/linux/brcm63xx/patches-3.10/511-board_V2500V.patch
target/linux/brcm63xx/patches-3.10/512-board_BTV2110.patch
target/linux/brcm63xx/patches-3.10/514-board_ct536_ct5621.patch
target/linux/brcm63xx/patches-3.10/516-board_96348A-122.patch
target/linux/brcm63xx/patches-3.10/519_board_CPVA502plus.patch
target/linux/brcm63xx/patches-3.10/520-bcm63xx-add-support-for-96368MVWG-board.patch
target/linux/brcm63xx/patches-3.10/521-bcm63xx-add-support-for-96368MVNgr-board.patch
target/linux/brcm63xx/patches-3.10/523-MIPS-BCM63XX-add-963281TAN-reference-board.patch
target/linux/brcm63xx/patches-3.10/524-board_dsl_274xb_rev_f.patch
target/linux/brcm63xx/patches-3.10/525-board_96348w3.patch
target/linux/brcm63xx/patches-3.10/526-board_CT6373-1.patch
target/linux/brcm63xx/patches-3.10/527-board_dva-g3810bn-tl-1.patch
target/linux/brcm63xx/patches-3.10/528-board_nb6.patch
target/linux/brcm63xx/patches-3.10/529-board_fast2604.patch
target/linux/brcm63xx/patches-3.10/530-board_A4001N1.patch
target/linux/brcm63xx/patches-3.10/531-board_AR-5387un.patch
target/linux/brcm63xx/patches-3.10/532-board_AR-5381u.patch
target/linux/brcm63xx/patches-3.10/533-board_rta770bw.patch
target/linux/brcm63xx/patches-3.10/534-board_hw556.patch
target/linux/brcm63xx/patches-3.10/535-board_rta770w.patch
target/linux/brcm63xx/patches-3.10/536-board_fast2704.patch
target/linux/brcm63xx/patches-3.10/537-board_fast2504n.patch
target/linux/brcm63xx/patches-3.10/555-board_96318ref.patch
target/linux/brcm63xx/patches-3.10/556-board_96318ref_p300.patch
target/linux/brcm63xx/patches-3.10/557-board_bcm963269bhr.patch
target/linux/brcm63xx/patches-3.10/558-board_AR1004G.patch
target/linux/brcm63xx/patches-3.10/559-board_vw6339gu.patch
target/linux/brcm63xx/patches-3.10/560-board_963268gu_p300.patch
target/linux/brcm63xx/patches-3.10/561-board_WAP-5813n.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/516-board_96348A-122.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/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/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

index ae7ed96093c6b2d34f32d337aa6b8a05b2ee5211..fb26cfba2b1b6d41fcd9f6b59e6e931d1c93e79c 100644 (file)
@@ -14,6 +14,11 @@ case "$board_name" in
 'F@ST2704V2')
        ucidef_set_led_usbdev "usb" "USB" "F@ST2704V2:green:usb" "1-1"
        ;;
+HW553)
+       ucidef_set_led_netdev "lan" "LAN" "HW553:blue:lan" "eth0"
+       ucidef_set_led_usbdev "usb1" "USB1" "HW553:red:hspa" "1-1"
+       ucidef_set_led_usbdev "usb2" "USB2" "HW553:blue:hspa" "1-2"
+       ;;
 esac
 
 ucidef_commit_leds
index f091523c93b72dc44805f7ac8b6854b459acba31..ffd2a1eead9814ad0dc23847ea8262ae7c3ec0a0 100755 (executable)
@@ -52,7 +52,6 @@ AGPF-S0 |\
 DV201AMR |\
 DWV-S0 |\
 "F@ST2404" |\
-HW553 |\
 MAGIC |\
 RTA1025W_16 |\
 V2500V_BB)
@@ -63,6 +62,7 @@ V2500V_BB)
 
 AW4139 |\
 AW4339U |\
+HW553 |\
 HW556*)
        ucidef_set_interface_lan "eth0.1"
        ucidef_add_switch "eth0" "1" "1"
index a01606a7a0d3b90f6295ac446508c66470d21516..97998a10ae9b32dfd986be95838a4ca2a983548d 100755 (executable)
@@ -80,6 +80,11 @@ brcm63xx_detect() {
                brcm63xx_has_reset_button="true"
                ifname=eth1
                ;;
+       HW553)
+               status_led="HW553:blue:power"
+               brcm63xx_has_reset_button="true"
+               ifname=eth0
+               ;;
        HW556*)
                status_led="HW556:red:power"
                brcm63xx_has_reset_button="true"
diff --git a/target/linux/brcm63xx/generic/profiles/201-HW556.mk b/target/linux/brcm63xx/generic/profiles/201-HW556.mk
deleted file mode 100644 (file)
index 68861b3..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-#
-# Copyright (C) 2012 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-define Profile/HW556
-  NAME:=HW556 WiFi
-  PACKAGES:=kmod-rt2800-pci kmod-ath9k wpad-mini
-endef
-
-define Profile/HW556/Description
-       Package set compatible with hardware using Atheros or Ralink WiFi cards (Huawei HG556a)
-endef
-$(eval $(call Profile,HW556))
-
diff --git a/target/linux/brcm63xx/generic/profiles/201-Huawei.mk b/target/linux/brcm63xx/generic/profiles/201-Huawei.mk
new file mode 100644 (file)
index 0000000..3cdd018
--- /dev/null
@@ -0,0 +1,26 @@
+#
+# Copyright (C) 2012-2014 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+define Profile/HW553
+  NAME:=Huawei HG553
+  PACKAGES:=kmod-b43 wpad-mini \
+       kmod-usb2 kmod-usb-ohci kmod-ledtrig-usbdev
+endef
+define Profile/HW553/Description
+       Package set optimized for Huawei HG553 using open-source b43 WiFi driver
+endef
+$(eval $(call Profile,HW553))
+
+define Profile/HW556
+  NAME:=HW556 WiFi
+  PACKAGES:=kmod-rt2800-pci kmod-ath9k wpad-mini
+endef
+
+define Profile/HW556/Description
+       Package set compatible with hardware using Atheros or Ralink WiFi cards (Huawei HG556a)
+endef
+$(eval $(call Profile,HW556))
index 086209c6ac6f185ae34f8305f389d9f4bae29300..4039998af4a51317b71844bd9e6e0c751820932e 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1764,6 +1764,83 @@ static struct board_info __initdata boar
+@@ -1764,6 +1764,76 @@ static struct board_info __initdata boar
        .spis = nb4_spi_devices,
        .num_spis = ARRAY_SIZE(nb4_spi_devices),
  };
 +
 +      .has_uart0                      = 1,
 +
-+      .has_enet0                      = 1,
 +      .has_enet1                      = 1,
 +      .has_pci                        = 1,
 +
-+      .enet0 = {
-+              .has_phy                = 1,
-+              .use_internal_phy       = 1,
-+      },
-+
 +      .enet1 = {
 +              .has_phy                = 1,
 +              .phy_id                 = 0,
 +
 +      .leds = {
 +              {
-+                      .name           = "HW553:red:lan",
++                      .name           = "HW553:red:adsl",
 +                      .gpio           = 34,
 +                      .active_low     = 1,
 +              },
 +              {
-+                      .name           = "HW553:blue:lan",
++                      .name           = "HW553:blue:adsl",
 +                      .gpio           = 35,
 +                      .active_low     = 1,
 +              },
 +              {
-+                      .name           = "HW553:red:adsl",
++                      .name           = "HW553:red:lan",
 +                      .gpio           = 22,
 +                      .active_low     = 1,
 +              },
 +              {
-+                      .name           = "HW553:blue:adsl",
++                      .name           = "HW553:blue:lan",
 +                      .gpio           = 23,
 +                      .active_low     = 1,
 +              },
 +                      .name           = "HW553:red:power",
 +                      .gpio           = 5,
 +                      .active_low     = 1,
-+                      .default_trigger = "default-on",
 +              },
-+
 +              {
 +                      .name           = "HW553:blue:power",
 +                      .gpio           = 4,
 +                      .active_low     = 1,
++                      .default_trigger = "default-on",
 +              },
 +              {
 +                      .name           = "HW553:red:wifi",
 +                      .active_low     = 1,
 +              },
 +              {
-+                      .name           = "HW553:red:internetkey",
++                      .name           = "HW553:red:hspa",
 +                      .gpio           = 12,
 +                      .active_low     = 1,
 +              },
 +              {
-+                      .name           = "HW553:blue:internetkey",
++                      .name           = "HW553:blue:hspa",
 +                      .gpio           = 13,
 +                      .active_low     = 1,
 +              },
@@ -84,7 +77,7 @@
  #endif
  
  /*
-@@ -1812,6 +1889,7 @@ static const struct board_info __initcon
+@@ -1812,6 +1882,7 @@ static const struct board_info __initcon
        &board_nb4_ser_r2,
        &board_nb4_fxc_r1,
        &board_nb4_fxc_r2,
index 14c7001571f6e445511ce9179001e9f6ef902d8b..530c22adba7409d24fc0428649a02c28248b3007 100644 (file)
@@ -46,7 +46,7 @@
  #endif
  
  /*
-@@ -1857,6 +1896,7 @@ static const struct board_info __initcon
+@@ -1850,6 +1889,7 @@ static const struct board_info __initcon
        &board_96338gw,
        &board_96338w,
        &board_96338w2_e7t,
index 2a4fa008f346660a68e179557272d1c795e311c5..1f86653168356034ca1161b7d748437f4788aa0f 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1880,6 +1880,72 @@ static struct board_info __initdata boar
+@@ -1873,6 +1873,72 @@ static struct board_info __initdata boar
                },
        },
  };
@@ -73,7 +73,7 @@
  #endif
  
  /*
-@@ -1930,6 +1996,7 @@ static const struct board_info __initcon
+@@ -1923,6 +1989,7 @@ static const struct board_info __initcon
        &board_nb4_fxc_r1,
        &board_nb4_fxc_r2,
        &board_HW553,
index bea4f7e77ba8f2d85181351119984a0e86ec1651..8541f2a2bd54714a61c1ae626f9a92d4c28536f0 100644 (file)
@@ -66,7 +66,7 @@
  #endif
  
  /*
-@@ -1981,6 +2040,7 @@ static const struct board_info __initcon
+@@ -1974,6 +2033,7 @@ static const struct board_info __initcon
        &board_96348_D4PW,
        &board_spw500v,
        &board_96348sv,
@@ -74,7 +74,7 @@
  #endif
  
  #ifdef CONFIG_BCM63XX_CPU_6358
-@@ -2056,6 +2116,22 @@ void __init board_bcm963xx_init(void)
+@@ -2049,6 +2109,22 @@ void __init board_bcm963xx_init(void)
                val &= MPI_CSBASE_BASE_MASK;
        }
        boot_addr = (u8 *)KSEG1ADDR(val);
index d6449a117892adea4bede492dfd7c605bc413b3a..c19e8d80b0e3e7b467a3c90f6a6e44f597fd3c78 100644 (file)
@@ -65,7 +65,7 @@
  static struct board_info __initdata board_96348gw = {
        .name                           = "96348GW",
        .expected_cpu_id                = 0x6348,
-@@ -2041,6 +2099,7 @@ static const struct board_info __initcon
+@@ -2034,6 +2092,7 @@ static const struct board_info __initcon
        &board_spw500v,
        &board_96348sv,
        &board_V2500V_BB,
index d2a106e2cf478ada9f07dc8442f04000b6654bfe..54c69636cb2fc2e7be166e2eb9dedebe29658ff6 100644 (file)
@@ -52,7 +52,7 @@
  static struct board_info __initdata board_96348gw = {
        .name                           = "96348GW",
        .expected_cpu_id                = 0x6348,
-@@ -2100,6 +2145,7 @@ static const struct board_info __initcon
+@@ -2093,6 +2138,7 @@ static const struct board_info __initcon
        &board_96348sv,
        &board_V2500V_BB,
        &board_V2110,
index 22057bee88c45305499e91a70abb8571c360268a..7f5a8dad5e1d48d0f6b2a0e44b840a4a1ef5d578 100644 (file)
@@ -70,7 +70,7 @@
  static struct board_info __initdata board_96348gw = {
        .name                           = "96348GW",
        .expected_cpu_id                = 0x6348,
-@@ -2149,6 +2212,7 @@ static const struct board_info __initcon
+@@ -2142,6 +2205,7 @@ static const struct board_info __initcon
        &board_V2500V_BB,
        &board_V2110,
        &board_ct536_ct5621,
index 921c3aa5cadb1557c1b11feb0d23472047c6c884..c2efcefc83385c15cc448466e16fd52178ab129f 100644 (file)
@@ -43,7 +43,7 @@
  #endif
  
  /*
-@@ -2214,6 +2250,7 @@ static const struct board_info __initcon
+@@ -2207,6 +2243,7 @@ static const struct board_info __initcon
        &board_V2110,
        &board_ct536_ct5621,
        &board_96348A_122,
index 59fbbe68f3004d253d39a2e94e5a282faa872e05..2b32a72cd1886bac347b426b85a4e37ea3b5350f 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
-@@ -2214,6 +2214,85 @@ static struct board_info __initdata boar
+@@ -2207,6 +2207,85 @@ static struct board_info __initdata boar
  #endif
  
  /*
@@ -96,7 +96,7 @@ Subject: [PATCH 32/63] bcm63xx: add support for 96368MVWG board.
   * all boards
   */
  static const struct board_info __initconst *bcm963xx_boards[] = {
-@@ -2268,6 +2347,10 @@ static const struct board_info __initcon
+@@ -2261,6 +2340,10 @@ static const struct board_info __initcon
        &board_HW553,
        &board_spw303v,
  #endif
index 0459c7f404c66c4844f0b1271949078ee86ffe3e..e9e174b824716cd7f77d5a59029a783ec8d643f8 100644 (file)
@@ -9,7 +9,7 @@ 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
-@@ -2290,6 +2290,72 @@ static struct board_info __initdata boar
+@@ -2283,6 +2283,72 @@ static struct board_info __initdata boar
        .has_ohci0 = 1,
        .has_ehci0 = 1,
  };
@@ -82,7 +82,7 @@ Subject: [PATCH 33/63] bcm63xx: add support for 96368MVNgr board.
  #endif
  
  /*
-@@ -2350,6 +2416,7 @@ static const struct board_info __initcon
+@@ -2343,6 +2409,7 @@ static const struct board_info __initcon
  
  #ifdef CONFIG_BCM63XX_CPU_6368
        &board_96368mvwg,
index 157bd744b0dccff57f37c6241815eb3d0a27b61d..97e7722effe468942054efdf5a42a1c685c77ddf 100644 (file)
@@ -86,7 +86,7 @@ Subject: [PATCH] MIPS: BCM63XX: add 963281TAN reference board
  #endif
  
  /*
-@@ -2399,6 +2469,7 @@ static const struct board_info __initcon
+@@ -2392,6 +2462,7 @@ static const struct board_info __initcon
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6328
        &board_96328avng,
index 1c0943ce97570d870a2daf01bda6d4166a8ef595..b6896ddfb04adcb944890e165bdf292cdf533dd9 100644 (file)
@@ -122,7 +122,7 @@ Subject: [PATCH 70/79] MIPS: BCM63XX: Add board definition for D-Link
  #endif
  
  /*
-@@ -2470,6 +2575,7 @@ static const struct board_info __initcon
+@@ -2463,6 +2568,7 @@ static const struct board_info __initcon
  #ifdef CONFIG_BCM63XX_CPU_6328
        &board_96328avng,
        &board_963281TAN,
index a69cfcc3665b0ad57cd9b626d0a47388c0a7b008..f72da612aded0043f4ba4a2a9155ed82f8559e4d 100644 (file)
@@ -60,7 +60,7 @@
  #endif
  
  /*
-@@ -2605,6 +2658,7 @@ static const struct board_info __initcon
+@@ -2598,6 +2651,7 @@ static const struct board_info __initcon
        &board_ct536_ct5621,
        &board_96348A_122,
        &board_CPVA502plus,
index 1d42dde1c12480f4b050f2a8eb028bff7c1ecc24..981aafbc877aba852a13569d135904a2e39dfe95 100644 (file)
  static struct board_info __initdata board_HW553 = {
        .name                           = "HW553",
        .expected_cpu_id                = 0x6358,
-@@ -2673,6 +2786,7 @@ static const struct board_info __initcon
+@@ -2666,6 +2779,7 @@ static const struct board_info __initcon
        &board_nb4_ser_r2,
        &board_nb4_fxc_r1,
        &board_nb4_fxc_r2,
index 63c5f26160dcebadb5691ecab6785129f077820a..531aabe49bbfcb55bc8eae7257329e69c406e2c7 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -2584,6 +2584,73 @@ static struct board_info __initdata boar
+@@ -2577,6 +2577,73 @@ static struct board_info __initdata boar
                },
        }
  };
@@ -74,7 +74,7 @@
  #endif
  
  /*
-@@ -2789,6 +2856,7 @@ static const struct board_info __initcon
+@@ -2782,6 +2849,7 @@ static const struct board_info __initcon
        &board_ct6373_1,
        &board_HW553,
        &board_spw303v,
index f0f18ea4569d9f9be7d7e69e55387399386a2458..d275a88b6f4af884a45dc6f8d5280c8979ff9a8d 100644 (file)
@@ -17,7 +17,7 @@
  
  #define CT6373_PID_OFFSET             0xff80
  #define CT6373_74X164_GPIO_BASE       64
-@@ -2653,6 +2656,104 @@ static struct board_info __initdata boar
+@@ -2646,6 +2649,104 @@ static struct board_info __initdata boar
  };
  #endif
  
  /*
   * known 6368 boards
   */
-@@ -2859,6 +2960,10 @@ static const struct board_info __initcon
+@@ -2852,6 +2953,10 @@ static const struct board_info __initcon
        &board_DVAG3810BN,
  #endif
  
  #ifdef CONFIG_BCM63XX_CPU_6368
        &board_96368mvwg,
        &board_96368mvngr,
-@@ -2880,6 +2985,11 @@ static void __init boardid_fixup(u8 *boo
+@@ -2873,6 +2978,11 @@ static void __init boardid_fixup(u8 *boo
                }
        }
  
index bb605a68007f571ce8515b8b05e62c51bfb8b879..a6bbabdf3461408cbf689d6b06ba4c4351c1706d 100644 (file)
@@ -58,7 +58,7 @@
  static struct board_info __initdata board_rta1025w_16 = {
        .name                           = "RTA1025W_16",
        .expected_cpu_id                = 0x6348,
-@@ -2928,6 +2979,7 @@ static const struct board_info __initcon
+@@ -2921,6 +2972,7 @@ static const struct board_info __initcon
        &board_96348gw_10,
        &board_96348gw_11,
        &board_FAST2404,
index ea2cb1d3bf70f8a4eb89bd8b00f909f8331a70d2..e6de8956dc946ef35549cb512ac51d0f928212b3 100644 (file)
  static struct board_info __initdata board_dsl_274xb_f1 = {
        .name                           = "AW4339U",
        .expected_cpu_id                = 0x6328,
-@@ -2960,6 +3080,7 @@ static const struct board_info __initcon
+@@ -2953,6 +3073,7 @@ static const struct board_info __initcon
  #ifdef CONFIG_BCM63XX_CPU_6328
        &board_96328avng,
        &board_963281TAN,
index 08062751e83f25ab0887383a7248ed8cd1b125b4..266360b8af4994fd4a97f5d9134483b027004975 100644 (file)
@@ -80,7 +80,7 @@
  static struct board_info __initdata board_963281TAN = {
        .name                           = "963281TAN",
        .expected_cpu_id                = 0x6328,
-@@ -3079,6 +3152,7 @@ static const struct board_info __initcon
+@@ -3072,6 +3145,7 @@ static const struct board_info __initcon
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6328
        &board_96328avng,
index 5cda917ba3117379ab338c63f324cb2e9f5cd249..14acb2780108ae3b330706191eb9cb231a79be58 100644 (file)
@@ -74,7 +74,7 @@
  static struct board_info __initdata board_AR5387un = {
        .name                                   = "96328A-1441N1",
        .expected_cpu_id                        = 0x6328,
-@@ -3152,6 +3219,7 @@ static const struct board_info __initcon
+@@ -3145,6 +3212,7 @@ static const struct board_info __initcon
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6328
        &board_96328avng,
index 894ce59078e931f6cf7b99f64ef19578b8268ce5..9e6f5bcdbe4f76cc3c54837b747d2550adc25e86 100644 (file)
@@ -56,7 +56,7 @@
  #endif
  
  /*
-@@ -3233,6 +3282,7 @@ static const struct board_info __initcon
+@@ -3226,6 +3275,7 @@ static const struct board_info __initcon
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6345
        &board_96345gw2,
index ab15a1cf35f69ab235f7c197c1a104367950e87a..edfb4a401a33b3c7f0c085f9627c26d0dee9fee3 100644 (file)
@@ -8,7 +8,7 @@
  #include <linux/platform_device.h>
  #include <linux/spi/spi.h>
  #include <linux/spi/spi_gpio.h>
-@@ -2882,6 +2883,492 @@ static struct board_info __initdata boar
+@@ -2875,6 +2876,492 @@ static struct board_info __initdata boar
        },
  };
  
   /* T-Home Speedport W 303V Typ B */
  static struct board_info __initdata board_spw303v = {
        .name                   = "96358-502V",
-@@ -3321,6 +3808,10 @@ static const struct board_info __initcon
+@@ -3314,6 +3801,10 @@ static const struct board_info __initcon
        &board_nb4_fxc_r2,
        &board_ct6373_1,
        &board_HW553,
        &board_spw303v,
        &board_DVAG3810BN,
  #endif
-@@ -3340,13 +3831,37 @@ static void __init boardid_fixup(u8 *boo
+@@ -3333,13 +3824,37 @@ static void __init boardid_fixup(u8 *boo
        struct bcm_tag *tag = (struct bcm_tag *)(boot_addr + CFE_OFFSET_64K);
        char *board_name = (char *)bcm63xx_nvram_get_name();
  
index 6ab5a4edfb3acaadf79b5d99a4f31f494997f940..291750b3fb75c76e0f397e44104438082630bbbc 100644 (file)
@@ -61,7 +61,7 @@
  #endif
  
  /*
-@@ -3770,6 +3824,7 @@ static const struct board_info __initcon
+@@ -3763,6 +3817,7 @@ static const struct board_info __initcon
  #ifdef CONFIG_BCM63XX_CPU_6345
        &board_96345gw2,
        &board_rta770bw,
index d377d8be05495f66a07573f691776cc654c43a02..967c779a5cbdc3a73d3ca7557c4c74dd52ab2362 100644 (file)
@@ -135,7 +135,7 @@ Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com>
  static struct board_info __initdata board_rta1025w_16 = {
        .name                           = "RTA1025W_16",
        .expected_cpu_id                = 0x6348,
-@@ -3814,6 +3930,7 @@ static const struct board_info __initcon
+@@ -3807,6 +3923,7 @@ static const struct board_info __initcon
        &board_963281TAN,
        &board_A4001N1,
        &board_dsl_274xb_f1,
index 918212c43215e762014b550c5a25e57aa9a80fbe..acef3d6da83d4699e6d022ea3f8edce837476d32 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
-@@ -3769,6 +3769,96 @@ static struct board_info __initdata boar
+@@ -3762,6 +3762,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
  
  /*
-@@ -3990,6 +4080,7 @@ static const struct board_info __initcon
+@@ -3983,6 +4073,7 @@ static const struct board_info __initcon
  
  #ifdef CONFIG_BCM63XX_CPU_6362
        &board_nb6,
index 5ba1a2906ee042d46c0e8aa90176665d3c594add..a24f80c644cf1d5b186c6445c124e13de9b2e415 100644 (file)
@@ -94,7 +94,7 @@
   * known 6328 boards
   */
  #ifdef CONFIG_BCM63XX_CPU_6328
-@@ -4244,6 +4331,9 @@ static const struct board_info __initcon
+@@ -4237,6 +4324,9 @@ static const struct board_info __initcon
  #ifdef CONFIG_BCM63XX_CPU_3368
        &board_cvg834g,
  #endif
index 228250d0711e2232360f2b4aec36291625a19bd6..58642948895aa4767ef860e49d7ffaae1002619b 100644 (file)
@@ -95,7 +95,7 @@
  #endif
  
  /*
-@@ -4333,6 +4421,7 @@ static const struct board_info __initcon
+@@ -4326,6 +4414,7 @@ static const struct board_info __initcon
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6318
        &board_96318ref,
index 6899b0a0e0bd3564e91743aa6a0787a12f2b5d82..72bdf8f7fabe917d78354d3e496eb4ca37f2e134 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -4413,6 +4413,75 @@ static struct board_info __initdata boar
+@@ -4406,6 +4406,75 @@ static struct board_info __initdata boar
  #endif
  
  /*
@@ -76,7 +76,7 @@
   * all boards
   */
  static const struct board_info __initconst *bcm963xx_boards[] = {
-@@ -4497,6 +4566,9 @@ static const struct board_info __initcon
+@@ -4490,6 +4559,9 @@ static const struct board_info __initcon
        &board_96368mvwg,
        &board_96368mvngr,
  #endif
index eb676ca846bfc706b21729916f2b25923706e8c3..66b6664628266b9034a958ee8a1b03e82de45b26 100644 (file)
@@ -60,7 +60,7 @@ Signed-off-by: Adrian Feliks <mexit@o2.pl>
  #endif
  
  /*
-@@ -4533,6 +4578,7 @@ static const struct board_info __initcon
+@@ -4526,6 +4571,7 @@ static const struct board_info __initcon
        &board_96348A_122,
        &board_CPVA502plus,
        &board_96348W3,
index 3a0c6af3d4ea83d7effc0cc64381228e6fed5f9b..0041fdf83102f29be66aa04aab59cc11751ad99d 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -4524,6 +4524,108 @@ static struct board_info __initdata boar
+@@ -4517,6 +4517,108 @@ static struct board_info __initdata boar
                },
        },
  };
  #endif
  
  /*
-@@ -4614,6 +4716,7 @@ static const struct board_info __initcon
+@@ -4607,6 +4709,7 @@ static const struct board_info __initcon
  #endif
  #ifdef CONFIG_BCM63XX_CPU_63268
        &board_963269bhr,
index bdf010bf3bf32adeb0eec5a18b315f6f507226d6..9b79f883dec135e1c187d7a6d6cae01156149c45 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -4461,6 +4461,131 @@ static struct board_info __initdata boar
+@@ -4454,6 +4454,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,
-@@ -4715,6 +4840,7 @@ static const struct board_info __initcon
+@@ -4708,6 +4833,7 @@ static const struct board_info __initcon
        &board_96368mvngr,
  #endif
  #ifdef CONFIG_BCM63XX_CPU_63268
index 33eb2b07deea436deb5a8b37509c3906a92ab6e8..ece61d20362e0aadec88a4a0550703bcde6ed4b3 100644 (file)
@@ -8,7 +8,7 @@
  #include <linux/platform_device.h>
  #include <linux/spi/spi.h>
  #include <linux/spi/spi_gpio.h>
-@@ -4455,6 +4456,99 @@ static struct board_info __initdata boar
+@@ -4448,6 +4449,99 @@ static struct board_info __initdata boar
        .has_ohci0 = 1,
        .has_ehci0 = 1,
  };
  #endif
  
  /*
-@@ -4838,6 +4932,7 @@ static const struct board_info __initcon
+@@ -4831,6 +4925,7 @@ static const struct board_info __initcon
  #ifdef CONFIG_BCM63XX_CPU_6368
        &board_96368mvwg,
        &board_96368mvngr,
index 3627ea5e8c1aa93f193c038754cfab35f536074f..3ea981e6c0e40bfb77154a5f0646a2a152521854 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1770,6 +1770,83 @@ static struct board_info __initdata boar
+@@ -1770,6 +1770,76 @@ static struct board_info __initdata boar
        .spis = nb4_spi_devices,
        .num_spis = ARRAY_SIZE(nb4_spi_devices),
  };
 +
 +      .has_uart0                      = 1,
 +
-+      .has_enet0                      = 1,
 +      .has_enet1                      = 1,
 +      .has_pci                        = 1,
 +
-+      .enet0 = {
-+              .has_phy                = 1,
-+              .use_internal_phy       = 1,
-+      },
-+
 +      .enet1 = {
 +              .has_phy                = 1,
 +              .phy_id                 = 0,
 +
 +      .leds = {
 +              {
-+                      .name           = "HW553:red:lan",
++                      .name           = "HW553:red:adsl",
 +                      .gpio           = 34,
 +                      .active_low     = 1,
 +              },
 +              {
-+                      .name           = "HW553:blue:lan",
++                      .name           = "HW553:blue:adsl",
 +                      .gpio           = 35,
 +                      .active_low     = 1,
 +              },
 +              {
-+                      .name           = "HW553:red:adsl",
++                      .name           = "HW553:red:lan",
 +                      .gpio           = 22,
 +                      .active_low     = 1,
 +              },
 +              {
-+                      .name           = "HW553:blue:adsl",
++                      .name           = "HW553:blue:lan",
 +                      .gpio           = 23,
 +                      .active_low     = 1,
 +              },
 +                      .name           = "HW553:red:power",
 +                      .gpio           = 5,
 +                      .active_low     = 1,
-+                      .default_trigger = "default-on",
 +              },
-+
 +              {
 +                      .name           = "HW553:blue:power",
 +                      .gpio           = 4,
 +                      .active_low     = 1,
++                      .default_trigger = "default-on",
 +              },
 +              {
 +                      .name           = "HW553:red:wifi",
 +                      .active_low     = 1,
 +              },
 +              {
-+                      .name           = "HW553:red:internetkey",
++                      .name           = "HW553:red:hspa",
 +                      .gpio           = 12,
 +                      .active_low     = 1,
 +              },
 +              {
-+                      .name           = "HW553:blue:internetkey",
++                      .name           = "HW553:blue:hspa",
 +                      .gpio           = 13,
 +                      .active_low     = 1,
 +              },
@@ -84,7 +77,7 @@
  #endif
  
  /*
-@@ -1818,6 +1895,7 @@ static const struct board_info __initcon
+@@ -1818,6 +1888,7 @@ static const struct board_info __initcon
        &board_nb4_ser_r2,
        &board_nb4_fxc_r1,
        &board_nb4_fxc_r2,
index db68d0de72f427cdf7e92ac5afae4b65a9d635cc..34bb77dc0b2bf17339f49a21025cbdf03b087dbd 100644 (file)
@@ -46,7 +46,7 @@
  #endif
  
  /*
-@@ -1863,6 +1902,7 @@ static const struct board_info __initcon
+@@ -1856,6 +1895,7 @@ static const struct board_info __initcon
        &board_96338gw,
        &board_96338w,
        &board_96338w2_e7t,
index 19802e78d0d0e72dbd1c7bf33bb9478a1bbb4db7..3a8391efae752fc31d98ac1e76daabbe3db1315a 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1886,6 +1886,72 @@ static struct board_info __initdata boar
+@@ -1879,6 +1879,72 @@ static struct board_info __initdata boar
                },
        },
  };
@@ -73,7 +73,7 @@
  #endif
  
  /*
-@@ -1936,6 +2002,7 @@ static const struct board_info __initcon
+@@ -1929,6 +1995,7 @@ static const struct board_info __initcon
        &board_nb4_fxc_r1,
        &board_nb4_fxc_r2,
        &board_HW553,
index 9ff27f3beadaa2c551825d20a1e4eeac44fc120a..e2beacd5d62c185046577b85de5aa03be1868bcf 100644 (file)
@@ -66,7 +66,7 @@
  #endif
  
  /*
-@@ -1987,6 +2046,7 @@ static const struct board_info __initcon
+@@ -1980,6 +2039,7 @@ static const struct board_info __initcon
        &board_96348_D4PW,
        &board_spw500v,
        &board_96348sv,
@@ -74,7 +74,7 @@
  #endif
  
  #ifdef CONFIG_BCM63XX_CPU_6358
-@@ -2062,6 +2122,22 @@ void __init board_bcm963xx_init(void)
+@@ -2055,6 +2115,22 @@ void __init board_bcm963xx_init(void)
                val &= MPI_CSBASE_BASE_MASK;
        }
        boot_addr = (u8 *)KSEG1ADDR(val);
index f3b414beac6ae8a05e347fc587785083a3f25f35..09263214032d34e50b14db3b4c42927b95daff16 100644 (file)
@@ -65,7 +65,7 @@
  static struct board_info __initdata board_96348gw = {
        .name                           = "96348GW",
        .expected_cpu_id                = 0x6348,
-@@ -2047,6 +2105,7 @@ static const struct board_info __initcon
+@@ -2040,6 +2098,7 @@ static const struct board_info __initcon
        &board_spw500v,
        &board_96348sv,
        &board_V2500V_BB,
index 8e8a64c02de8691f3cbd9016b5517b03187ecc2e..aa0cd8b7a9b1bd20b199ff57554af9b8010625ae 100644 (file)
@@ -52,7 +52,7 @@
  static struct board_info __initdata board_96348gw = {
        .name                           = "96348GW",
        .expected_cpu_id                = 0x6348,
-@@ -2106,6 +2151,7 @@ static const struct board_info __initcon
+@@ -2099,6 +2144,7 @@ static const struct board_info __initcon
        &board_96348sv,
        &board_V2500V_BB,
        &board_V2110,
index e814407845fae8dc9136204f7f26f464dfdcde04..af31ee346b6f25f11197e82f14553a23ee6b86c7 100644 (file)
@@ -70,7 +70,7 @@
  static struct board_info __initdata board_96348gw = {
        .name                           = "96348GW",
        .expected_cpu_id                = 0x6348,
-@@ -2155,6 +2218,7 @@ static const struct board_info __initcon
+@@ -2148,6 +2211,7 @@ static const struct board_info __initcon
        &board_V2500V_BB,
        &board_V2110,
        &board_ct536_ct5621,
index 4887fb24a7c7670e5d5994c40c44da55695da607..9949c75beb68af22087b9e9a6fd8b372357bde1d 100644 (file)
@@ -43,7 +43,7 @@
  #endif
  
  /*
-@@ -2220,6 +2256,7 @@ static const struct board_info __initcon
+@@ -2213,6 +2249,7 @@ static const struct board_info __initcon
        &board_V2110,
        &board_ct536_ct5621,
        &board_96348A_122,
index aa64bff4f169b6c5527450d053f41fbc0d66378d..217c429049c3d301b823836f9dad6187c5de610f 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
-@@ -2220,6 +2220,85 @@ static struct board_info __initdata boar
+@@ -2213,6 +2213,85 @@ static struct board_info __initdata boar
  #endif
  
  /*
@@ -96,7 +96,7 @@ Subject: [PATCH 32/63] bcm63xx: add support for 96368MVWG board.
   * all boards
   */
  static const struct board_info __initconst *bcm963xx_boards[] = {
-@@ -2274,6 +2353,10 @@ static const struct board_info __initcon
+@@ -2267,6 +2346,10 @@ static const struct board_info __initcon
        &board_HW553,
        &board_spw303v,
  #endif
index 93f7872316a20770d1df57a0516f3da3873febf2..61de2b8e76556c93dd8c7d1ef7b41c575463bed4 100644 (file)
@@ -9,7 +9,7 @@ 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
-@@ -2296,6 +2296,72 @@ static struct board_info __initdata boar
+@@ -2289,6 +2289,72 @@ static struct board_info __initdata boar
        .has_ohci0 = 1,
        .has_ehci0 = 1,
  };
@@ -82,7 +82,7 @@ Subject: [PATCH 33/63] bcm63xx: add support for 96368MVNgr board.
  #endif
  
  /*
-@@ -2356,6 +2422,7 @@ static const struct board_info __initcon
+@@ -2349,6 +2415,7 @@ static const struct board_info __initcon
  
  #ifdef CONFIG_BCM63XX_CPU_6368
        &board_96368mvwg,
index 9137ebc41d10f563a29f1545a2bee4c53a535ae5..dbe68485cd0e6dcb13be7f2e766cc0e95134c941 100644 (file)
@@ -86,7 +86,7 @@ Subject: [PATCH] MIPS: BCM63XX: add 963281TAN reference board
  #endif
  
  /*
-@@ -2405,6 +2475,7 @@ static const struct board_info __initcon
+@@ -2398,6 +2468,7 @@ static const struct board_info __initcon
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6328
        &board_96328avng,
index a21fdb21db6356f3b05e540982473eb4fe0c0423..b3759020a3072877af3d21e886c2bd8a3dba641b 100644 (file)
@@ -122,7 +122,7 @@ Subject: [PATCH 70/79] MIPS: BCM63XX: Add board definition for D-Link
  #endif
  
  /*
-@@ -2476,6 +2581,7 @@ static const struct board_info __initcon
+@@ -2469,6 +2574,7 @@ static const struct board_info __initcon
  #ifdef CONFIG_BCM63XX_CPU_6328
        &board_96328avng,
        &board_963281TAN,
index 3564428870ebe64e3e1f2b18e8dd21161bea7174..1d2a51e2aa7c8ae28d052ad6bc42a851f17cd410 100644 (file)
@@ -60,7 +60,7 @@
  #endif
  
  /*
-@@ -2611,6 +2664,7 @@ static const struct board_info __initcon
+@@ -2604,6 +2657,7 @@ static const struct board_info __initcon
        &board_ct536_ct5621,
        &board_96348A_122,
        &board_CPVA502plus,
index 82f94f6166f62037a14dbf8cb5a4a93224b9d7de..3a906300e74646910cede9698ebdc82a440140fa 100644 (file)
  static struct board_info __initdata board_HW553 = {
        .name                           = "HW553",
        .expected_cpu_id                = 0x6358,
-@@ -2679,6 +2796,7 @@ static const struct board_info __initcon
+@@ -2672,6 +2789,7 @@ static const struct board_info __initcon
        &board_nb4_ser_r2,
        &board_nb4_fxc_r1,
        &board_nb4_fxc_r2,
index 30b4b1c50f658a87a911e1ba3fb4f92680587f11..b1d84817438a93b99307acd9ebd63a1c52cc0aa9 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -2594,6 +2594,73 @@ static struct board_info __initdata boar
+@@ -2587,6 +2587,73 @@ static struct board_info __initdata boar
                },
        }
  };
@@ -74,7 +74,7 @@
  #endif
  
  /*
-@@ -2799,6 +2866,7 @@ static const struct board_info __initcon
+@@ -2792,6 +2859,7 @@ static const struct board_info __initcon
        &board_ct6373_1,
        &board_HW553,
        &board_spw303v,
index 31d7eddc6d88ddf436d6db5d4700e52c68cdd116..f107b9b9e8ee44ef051185e13d394fc5c398df7e 100644 (file)
@@ -17,7 +17,7 @@
  
  #define CT6373_PID_OFFSET             0xff80
  #define CT6373_74X164_GPIO_BASE       64
-@@ -2663,6 +2666,104 @@ static struct board_info __initdata boar
+@@ -2656,6 +2659,104 @@ static struct board_info __initdata boar
  };
  #endif
  
  /*
   * known 6368 boards
   */
-@@ -2869,6 +2970,10 @@ static const struct board_info __initcon
+@@ -2862,6 +2963,10 @@ static const struct board_info __initcon
        &board_DVAG3810BN,
  #endif
  
  #ifdef CONFIG_BCM63XX_CPU_6368
        &board_96368mvwg,
        &board_96368mvngr,
-@@ -2890,6 +2995,11 @@ static void __init boardid_fixup(u8 *boo
+@@ -2883,6 +2988,11 @@ static void __init boardid_fixup(u8 *boo
                }
        }
  
index 83eb1d536d38284e192d6f3227498c375ef10a57..2fc3a86860795506ad017bdb06372ac298d88bbe 100644 (file)
@@ -58,7 +58,7 @@
  static struct board_info __initdata board_rta1025w_16 = {
        .name                           = "RTA1025W_16",
        .expected_cpu_id                = 0x6348,
-@@ -2938,6 +2989,7 @@ static const struct board_info __initcon
+@@ -2931,6 +2982,7 @@ static const struct board_info __initcon
        &board_96348gw_10,
        &board_96348gw_11,
        &board_FAST2404,
index 4706e8ce1f49c9452337edf4174f9bea5995f8ac..f73629ea55a16a9cf22847f07fb24527bc1c6c85 100644 (file)
  static struct board_info __initdata board_dsl_274xb_f1 = {
        .name                           = "AW4339U",
        .expected_cpu_id                = 0x6328,
-@@ -2970,6 +3090,7 @@ static const struct board_info __initcon
+@@ -2963,6 +3083,7 @@ static const struct board_info __initcon
  #ifdef CONFIG_BCM63XX_CPU_6328
        &board_96328avng,
        &board_963281TAN,
index c62b5dd027c097ffc8ff8ae32bc929d3f926bda0..fe8e577843be0a5615254536edd8fe2fb3f60b2d 100644 (file)
@@ -80,7 +80,7 @@
  static struct board_info __initdata board_963281TAN = {
        .name                           = "963281TAN",
        .expected_cpu_id                = 0x6328,
-@@ -3089,6 +3162,7 @@ static const struct board_info __initcon
+@@ -3082,6 +3155,7 @@ static const struct board_info __initcon
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6328
        &board_96328avng,
index d9bb8458a7cb72bedb98f0175e98ec8c669e12dd..89ad361130378c2efe409b4e2dd9584eb1bfd0c2 100644 (file)
@@ -74,7 +74,7 @@
  static struct board_info __initdata board_AR5387un = {
        .name                                   = "96328A-1441N1",
        .expected_cpu_id                        = 0x6328,
-@@ -3162,6 +3229,7 @@ static const struct board_info __initcon
+@@ -3155,6 +3222,7 @@ static const struct board_info __initcon
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6328
        &board_96328avng,
index b2e28a32f17d963ea9cc705a771a7c3781cf0df8..dd67e1da03c345e3b89b665bb1b2a9eb8fbf8874 100644 (file)
@@ -56,7 +56,7 @@
  #endif
  
  /*
-@@ -3243,6 +3292,7 @@ static const struct board_info __initcon
+@@ -3236,6 +3285,7 @@ static const struct board_info __initcon
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6345
        &board_96345gw2,
index fa8465763f397c8514c0a4005791ce3fde4f9853..b3b81ede13036884f583c307dda37e564e5a5845 100644 (file)
@@ -8,7 +8,7 @@
  #include <linux/platform_device.h>
  #include <linux/spi/spi.h>
  #include <linux/spi/spi_gpio.h>
-@@ -2892,6 +2893,492 @@ static struct board_info __initdata boar
+@@ -2885,6 +2886,492 @@ static struct board_info __initdata boar
        },
  };
  
   /* T-Home Speedport W 303V Typ B */
  static struct board_info __initdata board_spw303v = {
        .name                   = "96358-502V",
-@@ -3331,6 +3818,10 @@ static const struct board_info __initcon
+@@ -3324,6 +3811,10 @@ static const struct board_info __initcon
        &board_nb4_fxc_r2,
        &board_ct6373_1,
        &board_HW553,
        &board_spw303v,
        &board_DVAG3810BN,
  #endif
-@@ -3350,13 +3841,37 @@ static void __init boardid_fixup(u8 *boo
+@@ -3343,13 +3834,37 @@ static void __init boardid_fixup(u8 *boo
        struct bcm_tag *tag = (struct bcm_tag *)(boot_addr + CFE_OFFSET_64K);
        char *board_name = (char *)bcm63xx_nvram_get_name();
  
index fc2131463909daac4b6a5aca1509e2394c90e31e..d07f2958fd5240f609776ea8365711d0874878ca 100644 (file)
@@ -61,7 +61,7 @@
  #endif
  
  /*
-@@ -3780,6 +3834,7 @@ static const struct board_info __initcon
+@@ -3773,6 +3827,7 @@ static const struct board_info __initcon
  #ifdef CONFIG_BCM63XX_CPU_6345
        &board_96345gw2,
        &board_rta770bw,
index f187ee4505975a923752f4e78264ddfd014c19e3..9b857f24c8e559792c59ecfbf567f1635f78fc06 100644 (file)
@@ -135,7 +135,7 @@ Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com>
  static struct board_info __initdata board_rta1025w_16 = {
        .name                           = "RTA1025W_16",
        .expected_cpu_id                = 0x6348,
-@@ -3824,6 +3940,7 @@ static const struct board_info __initcon
+@@ -3817,6 +3933,7 @@ static const struct board_info __initcon
        &board_963281TAN,
        &board_A4001N1,
        &board_dsl_274xb_f1,
index 33d06f9d40aa6214ec57b221acafe36439441346..2de0022dd00ddf54fec700fcf7be99438e919af9 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
-@@ -3779,6 +3779,96 @@ static struct board_info __initdata boar
+@@ -3772,6 +3772,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
  
  /*
-@@ -4000,6 +4090,7 @@ static const struct board_info __initcon
+@@ -3993,6 +4083,7 @@ static const struct board_info __initcon
  
  #ifdef CONFIG_BCM63XX_CPU_6362
        &board_nb6,
index 88286d3801dc3c8de24265d86bd08e212d319b85..bb37d560b826aace200edc321f516261e9564d5e 100644 (file)
@@ -94,7 +94,7 @@
   * known 6328 boards
   */
  #ifdef CONFIG_BCM63XX_CPU_6328
-@@ -4254,6 +4341,9 @@ static const struct board_info __initcon
+@@ -4247,6 +4334,9 @@ static const struct board_info __initcon
  #ifdef CONFIG_BCM63XX_CPU_3368
        &board_cvg834g,
  #endif
index 7f407dae49d4983ebfc945939db70ac93aa5ea58..26e27b20e21a364df45be4c87130856ab738d098 100644 (file)
@@ -95,7 +95,7 @@
  #endif
  
  /*
-@@ -4343,6 +4431,7 @@ static const struct board_info __initcon
+@@ -4336,6 +4424,7 @@ static const struct board_info __initcon
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6318
        &board_96318ref,
index 8efc437393d93117e539d16f026cbea60a15ad1f..5c40a9f14bab3f33397562f3a7a10286f802a910 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -4423,6 +4423,75 @@ static struct board_info __initdata boar
+@@ -4416,6 +4416,75 @@ static struct board_info __initdata boar
  #endif
  
  /*
@@ -76,7 +76,7 @@
   * all boards
   */
  static const struct board_info __initconst *bcm963xx_boards[] = {
-@@ -4507,6 +4576,9 @@ static const struct board_info __initcon
+@@ -4500,6 +4569,9 @@ static const struct board_info __initcon
        &board_96368mvwg,
        &board_96368mvngr,
  #endif
index 41722961a31cdea18cb22880ec17f95dc89aa326..a3990383e80dc90b3a1a0ae22771e1cb5b291f74 100644 (file)
@@ -60,7 +60,7 @@ Signed-off-by: Adrian Feliks <mexit@o2.pl>
  #endif
  
  /*
-@@ -4543,6 +4588,7 @@ static const struct board_info __initcon
+@@ -4536,6 +4581,7 @@ static const struct board_info __initcon
        &board_96348A_122,
        &board_CPVA502plus,
        &board_96348W3,
index b7547c6120314f8a76847dc6303e5252491bdadf..3645db61f0f9cf96b0e7e59445e87ad700cc7757 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -4534,6 +4534,108 @@ static struct board_info __initdata boar
+@@ -4527,6 +4527,108 @@ static struct board_info __initdata boar
                },
        },
  };
  #endif
  
  /*
-@@ -4624,6 +4726,7 @@ static const struct board_info __initcon
+@@ -4617,6 +4719,7 @@ static const struct board_info __initcon
  #endif
  #ifdef CONFIG_BCM63XX_CPU_63268
        &board_963269bhr,
index 0c337f1c3b9547b2c2a3d8fea7ecf565f607a50b..2b83137b2aa836bd5761e30bf26bd1362871cfa3 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -4471,6 +4471,131 @@ static struct board_info __initdata boar
+@@ -4464,6 +4464,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,
-@@ -4725,6 +4850,7 @@ static const struct board_info __initcon
+@@ -4718,6 +4843,7 @@ static const struct board_info __initcon
        &board_96368mvngr,
  #endif
  #ifdef CONFIG_BCM63XX_CPU_63268
index 4769ecb78e6e89024edb38b39bfc001b1627fe5d..eb0a2e6dfb77e79b5e51058274ce8ca29f77c766 100644 (file)
@@ -8,7 +8,7 @@
  #include <linux/platform_device.h>
  #include <linux/spi/spi.h>
  #include <linux/spi/spi_gpio.h>
-@@ -4465,6 +4466,99 @@ static struct board_info __initdata boar
+@@ -4458,6 +4459,99 @@ static struct board_info __initdata boar
        .has_ohci0 = 1,
        .has_ehci0 = 1,
  };
  #endif
  
  /*
-@@ -4848,6 +4942,7 @@ static const struct board_info __initcon
+@@ -4841,6 +4935,7 @@ static const struct board_info __initcon
  #ifdef CONFIG_BCM63XX_CPU_6368
        &board_96368mvwg,
        &board_96368mvngr,