aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/patches-4.4/534-board_hw556.patch
diff options
context:
space:
mode:
authorJonas Gorski <jonas.gorski@gmail.com>2017-07-31 21:03:37 +0200
committerJonas Gorski <jonas.gorski@gmail.com>2017-12-16 12:57:05 +0100
commitaba4e29eadfb82ef7f52f85cdb4cd10a4abad622 (patch)
tree623fbf65cee966aed29b170859a92efa099552e2 /target/linux/brcm63xx/patches-4.4/534-board_hw556.patch
parenta3384088a212cb1458746624f016f93ff98135f3 (diff)
downloadupstream-aba4e29eadfb82ef7f52f85cdb4cd10a4abad622.tar.gz
upstream-aba4e29eadfb82ef7f52f85cdb4cd10a4abad622.tar.bz2
upstream-aba4e29eadfb82ef7f52f85cdb4cd10a4abad622.zip
brcm63xx: register serial through device tree
Register serial consoles through device tree instead of through board data. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Diffstat (limited to 'target/linux/brcm63xx/patches-4.4/534-board_hw556.patch')
-rw-r--r--target/linux/brcm63xx/patches-4.4/534-board_hw556.patch9
1 files changed, 3 insertions, 6 deletions
diff --git a/target/linux/brcm63xx/patches-4.4/534-board_hw556.patch b/target/linux/brcm63xx/patches-4.4/534-board_hw556.patch
index e59f1aa02d..604ffe7a36 100644
--- a/target/linux/brcm63xx/patches-4.4/534-board_hw556.patch
+++ b/target/linux/brcm63xx/patches-4.4/534-board_hw556.patch
@@ -8,7 +8,7 @@
#include <asm/addrspace.h>
#include <bcm63xx_board.h>
#include <bcm63xx_cpu.h>
-@@ -1481,6 +1482,95 @@ static struct board_info __initdata boar
+@@ -1171,6 +1172,92 @@ static struct board_info __initdata boar
},
};
@@ -16,7 +16,6 @@
+ .name = "HW556_C",
+ .expected_cpu_id = 0x6358,
+
-+ .has_uart0 = 1,
+ .has_pci = 1,
+ .has_ohci0 = 1,
+ .has_ehci0 = 1,
@@ -44,7 +43,6 @@
+ .name = "HW556_A",
+ .expected_cpu_id = 0x6358,
+
-+ .has_uart0 = 1,
+ .has_pci = 1,
+ .has_ohci0 = 1,
+ .has_ehci0 = 1,
@@ -74,7 +72,6 @@
+ .name = "HW556_B",
+ .expected_cpu_id = 0x6358,
+
-+ .has_uart0 = 1,
+ .has_pci = 1,
+ .has_ohci0 = 1,
+ .has_ehci0 = 1,
@@ -104,7 +101,7 @@
/* T-Home Speedport W 303V Typ B */
static struct board_info __initdata board_spw303v = {
.name = "96358-502V",
-@@ -1707,6 +1797,9 @@ static const struct board_info __initcon
+@@ -1391,6 +1478,9 @@ static const struct board_info __initcon
&board_nb4_fxc_r1,
&board_ct6373_1,
&board_HW553,
@@ -114,7 +111,7 @@
&board_spw303v,
&board_DVAG3810BN,
#endif
-@@ -1779,6 +1872,9 @@ static struct of_device_id const bcm963x
+@@ -1463,6 +1553,9 @@ static struct of_device_id const bcm963x
{ .compatible = "d-link,dsl-2650u", .data = &board_96358vw2, },
{ .compatible = "d-link,dva-g3810bn/tl", .data = &board_DVAG3810BN, },
{ .compatible = "huawei,hg553", .data = &board_HW553, },