]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: generic/yamon-dt: Use serial* rather than uart* aliases
authorPaul Burton <paul.burton@imgtec.com>
Fri, 2 Jun 2017 19:29:53 +0000 (12:29 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 28 Jun 2017 10:22:41 +0000 (12:22 +0200)
commit76decfc3f86be28f82982e617e42c7b163fda0e4
tree2a8548691b044298ccd83986b8daaf1d8e95124b
parent281b379d6742a1ded1ccc39fde32c7a1c02008ce
MIPS: generic/yamon-dt: Use serial* rather than uart* aliases

Name aliases in the SEAD-3 device tree serial0 & serial1, rather than
uart0 & uart1. This allows the core serial code to make use of the
aliases to ensure that the UARTs are consistently numbered as expected
rather than having the numbering depend upon probe order.

When translating YAMON-provided serial configuration to a device tree
stdout-path property adjust accordingly, such that we continue to
reference a valid alias.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/16183/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/boot/dts/mti/sead3.dts
arch/mips/generic/yamon-dt.c