OSDN Git Service

ARM: dts: sun6i: ippo-q8h-v5: Fix serial0 alias
authorHans de Goede <hdegoede@redhat.com>
Thu, 25 Dec 2014 12:25:19 +0000 (13:25 +0100)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 6 Jan 2015 09:52:55 +0000 (10:52 +0100)
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>
arch/arm/boot/dts/sun8i-a23-ippo-q8h-v5.dts

index 7f2117c..32ad808 100644 (file)
        model = "Ippo Q8H Dual Core Tablet (v5)";
        compatible = "ippo,q8h-v5", "allwinner,sun8i-a23";
 
+       aliases {
+               serial0 = &r_uart;
+       };
+
        chosen {
                bootargs = "earlyprintk console=ttyS0,115200";
        };