On 2018-05-12 11:14, Maarten Brock wrote:
Hello list,
I have a question about the 8250 driver when used with a device-tree.
I have a system with a xuartps and eight ns16550 compatible devices.
The xuartps is the primary console and has a serial0 alias which gives
it
/dev/ttyPS0.
This makes it impossible to give the serial0 alias to one of the
ns16550's.
I can enter serial1..serial8 in the device-tree, but serial8 is ignored
and
the last ns16550 gets /dev/ttyS0.
How am I supposed to properly fix the uarts to a device name?
Kind Regards,
Maarten Brock
A small follow-up:
The above where the last ns16550 gets /dev/ttyS0 is not consistent.
If it is found after the xuartps and before the first ns16550 it will
take
/dev/ttyS1. At least that's what I think that happens. The result is
that
all other ns16550 are also not in their specified place.
I have no control over the order of things inside the 'generated'
device-tree.
Maarten
--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html