Proposing to use the 'cell-index' property to map device tree serial nodes to legacy serial port number. For example this allows the device to explicity specify which serial device to use for ttyS0.
The basic idea is outlined in the following patch. If this approach seems reasonable I would follow up with additional patches for Documentation/devicetree/ bindings and Documentation/powerpc/. Curt Brune (1): powerpc: legacy serial port use device tree cell-index property arch/powerpc/kernel/legacy_serial.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) -- 1.9.1 _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev