From mboxrd@z Thu Jan 1 00:00:00 1970 From: Baruch Siach Subject: Re: How do /dev/ttyS* devices get assigned from the device tree? Date: Sat, 9 Jul 2016 22:37:31 +0300 Message-ID: <20160709193731.GA3870@tarshish> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Patrick Doyle Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org List-Id: devicetree@vger.kernel.org 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@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -