amba_pl011: Don't use DT aliases for numbering
authorPhil Elwell <phil@raspberrypi.org>
Tue, 23 Feb 2016 17:26:48 +0000 (17:26 +0000)
committerpopcornmix <popcornmix@gmail.com>
Mon, 13 May 2019 23:07:53 +0000 (00:07 +0100)
commit56b6a0a32a2f440dad52fbbd44c0dd4c51542ea9
tree631d5eee905f69561f2fced544192718a59654d3
parent523e787d749fa082c1ee2c25a40b5bb39b214f3a
amba_pl011: Don't use DT aliases for numbering

The pl011 driver looks for DT aliases of the form "serial<n>",
and if found uses <n> as the device ID. This can cause
/dev/ttyAMA0 to become /dev/ttyAMA1, which is confusing if the
other serial port is provided by the 8250 driver which doesn't
use the same logic.
drivers/tty/serial/amba-pl011.c