summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/sun7i-a20-bananapi.dts
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2015-01-22 22:10:54 +0100
committerMaxime Ripard <maxime.ripard@free-electrons.com>2015-01-25 18:06:34 +0100
commit117a2cc38ffe0b46bcc6f991a3534b345477439c (patch)
tree7053fbb32c9920c0c3a296bf18c6d83bf65cfb65 /arch/arm/boot/dts/sun7i-a20-bananapi.dts
parent8cedd6628472aa2d8f2f54dfcc36633e46a59db8 (diff)
downloadblackbird-op-linux-117a2cc38ffe0b46bcc6f991a3534b345477439c.tar.gz
blackbird-op-linux-117a2cc38ffe0b46bcc6f991a3534b345477439c.zip
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-bananapi.dts')
-rw-r--r--arch/arm/boot/dts/sun7i-a20-bananapi.dts6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun7i-a20-bananapi.dts b/arch/arm/boot/dts/sun7i-a20-bananapi.dts
index 1cf1214cc068..bd7b15add697 100644
--- a/arch/arm/boot/dts/sun7i-a20-bananapi.dts
+++ b/arch/arm/boot/dts/sun7i-a20-bananapi.dts
@@ -55,6 +55,12 @@
model = "LeMaker Banana Pi";
compatible = "lemaker,bananapi", "allwinner,sun7i-a20";
+ aliases {
+ serial0 = &uart0;
+ serial1 = &uart3;
+ serial2 = &uart7;
+ };
+
soc@01c00000 {
spi0: spi@01c05000 {
pinctrl-names = "default";
OpenPOWER on IntegriCloud