From 4995c64857a09c4cc92238ba0bd52cdb06c4c581 Mon Sep 17 00:00:00 2001 From: Martin Blumenstingl Date: Sun, 11 Dec 2016 21:55:00 +0100 Subject: lantiq: specify console using stdout-path instead of cmdline argument Use devicetree's /chosen/stdout-path instead of the kernel command line (embedded in the .dts-files) to specify the serial console. Using the chosen node is recommended on devicetree based platforms. Signed-off-by: Martin Blumenstingl --- target/linux/lantiq/dts/vr9.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'target/linux/lantiq/dts/vr9.dtsi') diff --git a/target/linux/lantiq/dts/vr9.dtsi b/target/linux/lantiq/dts/vr9.dtsi index 7f036186e4..4810a91c5c 100644 --- a/target/linux/lantiq/dts/vr9.dtsi +++ b/target/linux/lantiq/dts/vr9.dtsi @@ -5,6 +5,14 @@ #size-cells = <1>; compatible = "lantiq,xway", "lantiq,vr9"; + aliases { + serial0 = &asc1; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + cpus { cpu@0 { compatible = "mips,mips34Kc"; -- cgit v1.2.3