summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2015-01-23 00:10:54 +0300
committerMaxime Ripard <maxime.ripard@free-electrons.com>2015-01-25 20:06:34 +0300
commit117a2cc38ffe0b46bcc6f991a3534b345477439c (patch)
tree7053fbb32c9920c0c3a296bf18c6d83bf65cfb65 /arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts
parent8cedd6628472aa2d8f2f54dfcc36633e46a59db8 (diff)
downloadlinux-117a2cc38ffe0b46bcc6f991a3534b345477439c.tar.xz
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-olinuxino-micro.dts')
-rw-r--r--arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts b/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts
index 9d669cdf031d..66cc77707198 100644
--- a/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts
+++ b/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts
@@ -20,6 +20,9 @@
compatible = "olimex,a20-olinuxino-micro", "allwinner,sun7i-a20";
aliases {
+ serial0 = &uart0;
+ serial1 = &uart6;
+ serial2 = &uart7;
spi0 = &spi1;
spi1 = &spi2;
};