[Letux-kernel] [PATCH 15/20] fixup! Mipsbook400: add includes for bindings

Lubomir Rintel lkundrak at v3.sk
Tue Nov 17 21:58:08 CET 2020


According to the specification [1], /chosen/stdout-path is a string,
typically an alias. Add the alias and adjust the property.

[1] Devicetree Specification, Release v0.3, p. 29
    https://github.com/devicetree-org/devicetree-specification/releases/download/v0.3/devicetree-specification-v0.3.pdf

Signed-off-by: Lubomir Rintel <lkundrak at v3.sk>
---
 arch/mips/boot/dts/ingenic/mipsbook_400.dts | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/arch/mips/boot/dts/ingenic/mipsbook_400.dts b/arch/mips/boot/dts/ingenic/mipsbook_400.dts
index ef65e1b8fef17..10ca72a426c91 100644
--- a/arch/mips/boot/dts/ingenic/mipsbook_400.dts
+++ b/arch/mips/boot/dts/ingenic/mipsbook_400.dts
@@ -7,8 +7,12 @@
 / {
 	compatible = "letux400,minipc", "ingenic,jz4730";
 
+	aliases {
+		serial0 = &uart0;
+	};
+
 	chosen {
-		stdout-path = &uart0;
+		stdout-path = "serial0:115200n8";
 	};
 
 	vcc: regulator at 0 {
-- 
2.28.0



More information about the Letux-kernel mailing list