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>
Wed, 27 Jan 2021 19:12:48 +0000 (19:12 +0000)
commit71393e7f690320c1fd9effdcc89a54571a57a545
tree43ab5b3a7cab29c8b717e8fe89ae1978997d37e1
parentc0e68a6067d55850fc821240cf227703683bf50c
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