aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/patches-4.4/563-board_VR-3025un.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/563-board_VR-3025un.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/563-board_VR-3025un.patch')
-rw-r--r--target/linux/brcm63xx/patches-4.4/563-board_VR-3025un.patch7
1 files changed, 3 insertions, 4 deletions
diff --git a/target/linux/brcm63xx/patches-4.4/563-board_VR-3025un.patch b/target/linux/brcm63xx/patches-4.4/563-board_VR-3025un.patch
index c2c17fdc20..81ac7021cd 100644
--- a/target/linux/brcm63xx/patches-4.4/563-board_VR-3025un.patch
+++ b/target/linux/brcm63xx/patches-4.4/563-board_VR-3025un.patch
@@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1738,6 +1738,60 @@ static struct board_info __initdata boar
+@@ -1672,6 +1672,59 @@ static struct board_info __initdata boar
},
};
@@ -17,7 +17,6 @@
+ .name = "96368M-1341N",
+ .expected_cpu_id = 0x6368,
+
-+ .has_uart0 = 1,
+ .has_pci = 1,
+ .use_fallback_sprom = 1,
+ .has_ohci0 = 1,
@@ -61,7 +60,7 @@
static struct sprom_fixup __initdata wap5813n_fixups[] = {
{ .offset = 97, .value = 0xfeed },
{ .offset = 98, .value = 0x15d1 },
-@@ -2016,6 +2070,7 @@ static const struct board_info __initcon
+@@ -1943,6 +1996,7 @@ static const struct board_info __initcon
&board_96368mvwg,
&board_96368mvngr,
&board_VR3025u,
@@ -69,7 +68,7 @@
&board_WAP5813n,
#endif
#ifdef CONFIG_BCM63XX_CPU_63268
-@@ -2110,6 +2165,7 @@ static struct of_device_id const bcm963x
+@@ -2037,6 +2091,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, },