aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/patches-3.14/565-board_hw520.patch
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2014-08-21 11:28:46 +0000
committerJonas Gorski <jogo@openwrt.org>2014-08-21 11:28:46 +0000
commit2f09960e46f4f308a764ce04e4a466ab2ee06aa2 (patch)
tree3828b80fcfcfada857bbcef2ca14c1ed2612679c /target/linux/brcm63xx/patches-3.14/565-board_hw520.patch
parent7bc83fdd13ec436e635771a0c19cc56d2751779b (diff)
downloadupstream-2f09960e46f4f308a764ce04e4a466ab2ee06aa2.tar.gz
upstream-2f09960e46f4f308a764ce04e4a466ab2ee06aa2.tar.bz2
upstream-2f09960e46f4f308a764ce04e4a466ab2ee06aa2.zip
brcm63xx: Add DT support for HG520v
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> [jogo: fix nvram partition offset] Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42246
Diffstat (limited to 'target/linux/brcm63xx/patches-3.14/565-board_hw520.patch')
-rw-r--r--target/linux/brcm63xx/patches-3.14/565-board_hw520.patch5
1 files changed, 3 insertions, 2 deletions
diff --git a/target/linux/brcm63xx/patches-3.14/565-board_hw520.patch b/target/linux/brcm63xx/patches-3.14/565-board_hw520.patch
index eb90bcc1c8..eb59a404aa 100644
--- a/target/linux/brcm63xx/patches-3.14/565-board_hw520.patch
+++ b/target/linux/brcm63xx/patches-3.14/565-board_hw520.patch
@@ -1,11 +1,12 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -3226,6 +3226,56 @@ static struct board_info __initdata boar
+@@ -3226,6 +3226,57 @@ 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,7 +58,7 @@
static struct board_info __initdata board_HW553 = {
.name = "HW553",
.expected_cpu_id = 0x6358,
-@@ -4956,6 +5006,7 @@ static const struct board_info __initcon
+@@ -4956,6 +5007,7 @@ static const struct board_info __initcon
&board_nb4_ser_r0,
&board_nb4_fxc_r1,
&board_ct6373_1,