ARM: dts: socfpga: fix definitions of serial console
authorMatthew Gerlach <mgerlach@opensource.altera.com>
Thu, 12 May 2016 17:24:42 +0000 (10:24 -0700)
committerDinh Nguyen <dinguyen@kernel.org>
Wed, 8 Jun 2016 19:09:11 +0000 (14:09 -0500)
commitb65c0efa3508c01116c3ee24a6c37a158f2cb03a
tree08fcb426dacf3c9e3894cfd820daf9ff9481933a
parentefb6672935894e19e30227b2fcc64546b70342ea
ARM: dts: socfpga: fix definitions of serial console

The notion of which uart instance is serial0 or serial1
is board specific rather than generic to the chip. This
patch removes the serial aliases from generic chip dtsi
and adds an appropriate alias to the board specific dtsi.
By making the alias for serial0 point to uart1 for the arria10_socdk,
the linux boot command line supports specifying console=ttyS0,115200
for backwards compatibility, and it supports not specifying
the console at all.

Signed-off-by: Matthew Gerlach <mgerlach@opensource.altera.com>
Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>
arch/arm/boot/dts/socfpga_arria10.dtsi
arch/arm/boot/dts/socfpga_arria10_socdk.dtsi