Re: How do /dev/ttyS* devices get assigned from the device tree?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Hi Patrick,

On Fri, Jul 08, 2016 at 12:58:06PM -0400, Patrick Doyle wrote:
> Do they show up numerically in the sequence in which they appear in
> the device tree?
> 
> Where could I learn more?

Adding devicetree ML to Cc.

You may use an "aliases" node for that, if your UART driver supports that. The 
8250/16550 driver does. See arch/arm/boot/dts/aspeed-ast2500-evb.dts, for 
example. Note though that the use of aliases for this purpose is contentious.

baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch@xxxxxxxxxx - tel: +972.52.368.4656, http://www.tkos.co.il -
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux