diff options
author | Jonas Gorski <jogo@openwrt.org> | 2014-08-21 11:28:46 +0000 |
---|---|---|
committer | Jonas Gorski <jogo@openwrt.org> | 2014-08-21 11:28:46 +0000 |
commit | e906c851e901a95480fbfe6f87df8e003fc5dbe4 (patch) | |
tree | 80a966ae93a9f66846c9c5cce8d7225aeff81fd7 /target/linux/brcm63xx/patches-3.14 | |
parent | ec95cb410a5de75c12314aa219fb795767982c45 (diff) | |
download | upstream-e906c851e901a95480fbfe6f87df8e003fc5dbe4.tar.gz upstream-e906c851e901a95480fbfe6f87df8e003fc5dbe4.tar.bz2 upstream-e906c851e901a95480fbfe6f87df8e003fc5dbe4.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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42246 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/patches-3.14')
3 files changed, 5 insertions, 4 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, diff --git a/target/linux/brcm63xx/patches-3.14/566-board_A4001N.patch b/target/linux/brcm63xx/patches-3.14/566-board_A4001N.patch index ed5aa03c3e..7846aeff82 100644 --- a/target/linux/brcm63xx/patches-3.14/566-board_A4001N.patch +++ b/target/linux/brcm63xx/patches-3.14/566-board_A4001N.patch @@ -97,7 +97,7 @@ static struct board_info __initdata board_A4001N1 = { .name = "963281T_TEF", .of_board_id = "adb,a4001n1", -@@ -4957,6 +5047,7 @@ static const struct board_info __initcon +@@ -4958,6 +5048,7 @@ static const struct board_info __initcon &board_AR5381u, &board_AR5387un, &board_963281TAN, diff --git a/target/linux/brcm63xx/patches-3.14/567-board_dsl-2751b_e1.patch b/target/linux/brcm63xx/patches-3.14/567-board_dsl-2751b_e1.patch index 6cc28eada4..706142ddd7 100644 --- a/target/linux/brcm63xx/patches-3.14/567-board_dsl-2751b_e1.patch +++ b/target/linux/brcm63xx/patches-3.14/567-board_dsl-2751b_e1.patch @@ -142,7 +142,7 @@ #endif /* CONFIG_BCM63XX_CPU_6318 */ /* -@@ -5041,6 +5176,7 @@ static const struct board_info __initcon +@@ -5042,6 +5177,7 @@ static const struct board_info __initcon #ifdef CONFIG_BCM63XX_CPU_6318 &board_96318ref, &board_96318ref_p300, |