diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2015-01-22 22:10:54 +0100 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2015-01-25 18:06:34 +0100 |
commit | 117a2cc38ffe0b46bcc6f991a3534b345477439c (patch) | |
tree | 7053fbb32c9920c0c3a296bf18c6d83bf65cfb65 /arch/arm/boot/dts/sun7i-a20-hummingbird.dts | |
parent | 8cedd6628472aa2d8f2f54dfcc36633e46a59db8 (diff) | |
download | linux-117a2cc38ffe0b46bcc6f991a3534b345477439c.tar.bz2 |
ARM: sunxi: dt: Fix aliases
Commit f77d55a3b56a ("serial: 8250_dw: get index of serial line from DT
aliases") made the serial driver now use the serial aliases to get the tty
number, pointing out that our aliases have been wrong all along.
Remove them from the DTSI and add custom ones in the relevant boards.
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/sun7i-a20-hummingbird.dts')
-rw-r--r-- | arch/arm/boot/dts/sun7i-a20-hummingbird.dts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun7i-a20-hummingbird.dts b/arch/arm/boot/dts/sun7i-a20-hummingbird.dts index 0e4bfa3b2b85..0bcefcbbb756 100644 --- a/arch/arm/boot/dts/sun7i-a20-hummingbird.dts +++ b/arch/arm/boot/dts/sun7i-a20-hummingbird.dts @@ -19,6 +19,14 @@ model = "Merrii A20 Hummingbird"; compatible = "merrii,a20-hummingbird", "allwinner,sun7i-a20"; + aliases { + serial0 = &uart0; + serial1 = &uart2; + serial2 = &uart3; + serial3 = &uart4; + serial4 = &uart5; + }; + soc@01c00000 { mmc0: mmc@01c0f000 { pinctrl-names = "default"; |