summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/sun6i-a31-i7.dts
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2015-03-15 20:47:31 +0100
committerMaxime Ripard <maxime.ripard@free-electrons.com>2015-04-27 08:20:30 +0200
commit59ebbe88a6431d0bd99c792f413ecf69273f2e9d (patch)
tree8e65bbaeeaf35db26d42041cbe5ace77ad56037c /arch/arm/boot/dts/sun6i-a31-i7.dts
parentb14c112344996c3400bd588982e61fef7fe0ea64 (diff)
downloadlwn-59ebbe88a6431d0bd99c792f413ecf69273f2e9d.tar.gz
lwn-59ebbe88a6431d0bd99c792f413ecf69273f2e9d.zip
ARM: sunxi: DT: Add stdout-path property
Add UART aliases and stdout-path property for all the Allwinner boards so that we won't have to rely on the bootargs' console= value, while working with legacy bootloaders. While we're at it, also remove the mentions of earlyprintk in the bootargs, that will remove our default bootargs entirely, and allow the kernel to boot on a system even if DEBUG_LL is configured for another system. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/sun6i-a31-i7.dts')
-rw-r--r--arch/arm/boot/dts/sun6i-a31-i7.dts6
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/sun6i-a31-i7.dts b/arch/arm/boot/dts/sun6i-a31-i7.dts
index 049d3a6c09f2..ce37d69d3416 100644
--- a/arch/arm/boot/dts/sun6i-a31-i7.dts
+++ b/arch/arm/boot/dts/sun6i-a31-i7.dts
@@ -56,8 +56,12 @@
model = "Mele I7 Quad top set box";
compatible = "mele,i7", "allwinner,sun6i-a31";
+ aliases {
+ serial0 = &uart0;
+ };
+
chosen {
- bootargs = "console=ttyS0,115200";
+ stdout-path = "serial0:115200n8";
};
leds {