Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 59ebbe88 authored by Maxime Ripard's avatar Maxime Ripard
Browse files

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: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
parent b14c1123
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -58,6 +58,14 @@
	model = "Mele A1000";
	compatible = "mele,a1000", "allwinner,sun4i-a10";

	aliases {
		serial0 = &uart0;
	};

	chosen {
		stdout-path = "serial0:115200n8";
	};

	leds {
		compatible = "gpio-leds";
		pinctrl-names = "default";
+8 −0
Original line number Diff line number Diff line
@@ -54,6 +54,14 @@
/ {
	model = "BA10 tvbox";
	compatible = "allwinner,ba10-tvbox", "allwinner,sun4i-a10";

	aliases {
		serial0 = &uart0;
	};

	chosen {
		stdout-path = "serial0:115200n8";
	};
};

&ehci0 {
+8 −0
Original line number Diff line number Diff line
@@ -54,6 +54,14 @@
/ {
	model = "Chuwi V7 CW0825";
	compatible = "chuwi,v7-cw0825", "allwinner,sun4i-a10";

	aliases {
		serial0 = &uart0;
	};

	chosen {
		stdout-path = "serial0:115200n8";
	};
};

&ehci1 {
+8 −0
Original line number Diff line number Diff line
@@ -57,6 +57,14 @@
	model = "Cubietech Cubieboard";
	compatible = "cubietech,a10-cubieboard", "allwinner,sun4i-a10";

	aliases {
		serial0 = &uart0;
	};

	chosen {
		stdout-path = "serial0:115200n8";
	};

	leds {
		compatible = "gpio-leds";
		pinctrl-names = "default";
+8 −0
Original line number Diff line number Diff line
@@ -56,6 +56,14 @@
/ {
	model = "Gemei G9 Tablet";
	compatible = "gemei,g9", "allwinner,sun4i-a10";

	aliases {
		serial0 = &uart0;
	};

	chosen {
		stdout-path = "serial0:115200n8";
	};
};

/*
Loading