diff options
author | Matthew Gerlach <mgerlach@opensource.altera.com> | 2016-05-12 20:24:42 +0300 |
---|---|---|
committer | Dinh Nguyen <dinguyen@kernel.org> | 2016-06-08 22:09:11 +0300 |
commit | b65c0efa3508c01116c3ee24a6c37a158f2cb03a (patch) | |
tree | 08fcb426dacf3c9e3894cfd820daf9ff9481933a /arch/arm/boot/dts/socfpga_arria10_socdk.dtsi | |
parent | efb6672935894e19e30227b2fcc64546b70342ea (diff) | |
download | linux-b65c0efa3508c01116c3ee24a6c37a158f2cb03a.tar.xz |
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>
Diffstat (limited to 'arch/arm/boot/dts/socfpga_arria10_socdk.dtsi')
-rw-r--r-- | arch/arm/boot/dts/socfpga_arria10_socdk.dtsi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/socfpga_arria10_socdk.dtsi b/arch/arm/boot/dts/socfpga_arria10_socdk.dtsi index ab33ee3cc8c3..8e3a4adc389f 100644 --- a/arch/arm/boot/dts/socfpga_arria10_socdk.dtsi +++ b/arch/arm/boot/dts/socfpga_arria10_socdk.dtsi @@ -22,11 +22,12 @@ aliases { ethernet0 = &gmac0; + serial0 = &uart1; }; chosen { bootargs = "earlyprintk"; - stdout-path = "serial1:115200n8"; + stdout-path = "serial0:115200n8"; }; memory { |