diff options
author | Jonas Gorski <jonas.gorski@gmail.com> | 2017-07-31 21:03:37 +0200 |
---|---|---|
committer | Jonas Gorski <jonas.gorski@gmail.com> | 2017-12-16 12:57:05 +0100 |
commit | aba4e29eadfb82ef7f52f85cdb4cd10a4abad622 (patch) | |
tree | 623fbf65cee966aed29b170859a92efa099552e2 /target/linux/brcm63xx/patches-4.4/537-board_fast2504n.patch | |
parent | a3384088a212cb1458746624f016f93ff98135f3 (diff) | |
download | upstream-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/537-board_fast2504n.patch')
-rw-r--r-- | target/linux/brcm63xx/patches-4.4/537-board_fast2504n.patch | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/target/linux/brcm63xx/patches-4.4/537-board_fast2504n.patch b/target/linux/brcm63xx/patches-4.4/537-board_fast2504n.patch index d5ecc3c4c7..3472d90e99 100644 --- a/target/linux/brcm63xx/patches-4.4/537-board_fast2504n.patch +++ b/target/linux/brcm63xx/patches-4.4/537-board_fast2504n.patch @@ -6,7 +6,7 @@ Signed-off-by: Max Staudt <openwrt.max@enpas.org> --- --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c -@@ -1702,6 +1702,43 @@ static struct board_info __initdata boar +@@ -1382,6 +1382,41 @@ static struct board_info __initdata boar }, }, }; @@ -15,8 +15,6 @@ Signed-off-by: Max Staudt <openwrt.max@enpas.org> + .name = "F@ST2504n", + .expected_cpu_id = 0x6362, + -+ .has_uart0 = 1, -+ + .has_enetsw = 1, + + .enetsw = { @@ -50,7 +48,7 @@ Signed-off-by: Max Staudt <openwrt.max@enpas.org> #endif /* CONFIG_BCM63XX_CPU_6362 */ /* -@@ -1867,6 +1904,7 @@ static const struct board_info __initcon +@@ -1545,6 +1580,7 @@ static const struct board_info __initcon #ifdef CONFIG_BCM63XX_CPU_6362 &board_nb6, @@ -58,7 +56,7 @@ Signed-off-by: Max Staudt <openwrt.max@enpas.org> #endif #ifdef CONFIG_BCM63XX_CPU_6368 -@@ -1948,6 +1986,7 @@ static struct of_device_id const bcm963x +@@ -1626,6 +1662,7 @@ static struct of_device_id const bcm963x { .compatible = "telsey,cpva642", .data = &board_CPVA642, }, #endif #ifdef CONFIG_BCM63XX_CPU_6362 |