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>
This commit is contained in:
Maxime Ripard
2015-03-15 20:47:31 +01:00
والد b14c112344
کامیت 59ebbe88a6
42فایلهای تغییر یافته به همراه280 افزوده شده و 7 حذف شده

مشاهده پرونده

@@ -55,6 +55,14 @@
model = "LinkSprite pcDuino3 Nano";
compatible = "linksprite,pcduino3-nano", "allwinner,sun7i-a20";
aliases {
serial0 = &uart0;
};
chosen {
stdout-path = "serial0:115200n8";
};
leds {
compatible = "gpio-leds";
pinctrl-names = "default";