Skip to content

Commit

Permalink
ARM: dts: sun6i: ippo-q8h-v5: Fix serial0 alias
Browse files Browse the repository at this point in the history
The Ippo q8h has its serial console connected to the r-uart. Adjust the
serial0 alias to match.

This fixes the kernel serial console no longer working since 3.19-rc1, because
8250_dw.c now honors dt aliases, causing the serial console to be ttyS5 rather
then being ttyS0, as it was in 3.18 and before.

Note that adjusting bootargs instead is not an acceptable fix, because
console=ttyS0,115200 is used by a lot of bootscripts, etc. and this should
continue to work.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
  • Loading branch information
Hans de Goede authored and Maxime Ripard committed Jan 6, 2015
1 parent 4dba418 commit 6ba8bbe
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions arch/arm/boot/dts/sun8i-a23-ippo-q8h-v5.dts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@
model = "Ippo Q8H Dual Core Tablet (v5)";
compatible = "ippo,q8h-v5", "allwinner,sun8i-a23";

aliases {
serial0 = &r_uart;
};

chosen {
bootargs = "earlyprintk console=ttyS0,115200";
};
Expand Down

0 comments on commit 6ba8bbe

Please sign in to comment.