aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/patches-4.4/514-board_ct536_ct5621.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/514-board_ct536_ct5621.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/514-board_ct536_ct5621.patch')
-rw-r--r--target/linux/brcm63xx/patches-4.4/514-board_ct536_ct5621.patch7
1 files changed, 3 insertions, 4 deletions
diff --git a/target/linux/brcm63xx/patches-4.4/514-board_ct536_ct5621.patch b/target/linux/brcm63xx/patches-4.4/514-board_ct536_ct5621.patch
index b3b9125a9a..d111d97d63 100644
--- a/target/linux/brcm63xx/patches-4.4/514-board_ct536_ct5621.patch
+++ b/target/linux/brcm63xx/patches-4.4/514-board_ct536_ct5621.patch
@@ -1,6 +1,6 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -430,6 +430,34 @@ static struct board_info __initdata boar
+@@ -234,6 +234,33 @@ static struct board_info __initdata boar
};
@@ -8,7 +8,6 @@
+ .name = "CT536_CT5621",
+ .expected_cpu_id = 0x6348,
+
-+ .has_uart0 = 1,
+ .has_enet0 = 0,
+ .has_enet1 = 1,
+ .has_pci = 1,
@@ -35,7 +34,7 @@
static struct board_info __initdata board_96348gw = {
.name = "96348GW",
.expected_cpu_id = 0x6348,
-@@ -1090,6 +1118,7 @@ static const struct board_info __initcon
+@@ -795,6 +822,7 @@ static const struct board_info __initcon
&board_96348sv,
&board_V2500V_BB,
&board_V2110,
@@ -43,7 +42,7 @@
#endif
#ifdef CONFIG_BCM63XX_CPU_6358
-@@ -1131,6 +1160,8 @@ static struct of_device_id const bcm963x
+@@ -836,6 +864,8 @@ static struct of_device_id const bcm963x
{ .compatible = "brcm,bcm96348gw-a", .data = &board_96348gw_a, },
{ .compatible = "bt,v2110", .data = &board_V2110, },
{ .compatible = "bt,v2500v-bb", .data = &board_V2500V_BB, },