diff options
author | Martin Blumenstingl <martin.blumenstingl@googlemail.com> | 2016-12-11 21:55:00 +0100 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2016-12-12 09:57:40 +0100 |
commit | 4995c64857a09c4cc92238ba0bd52cdb06c4c581 (patch) | |
tree | d2ac8a3cd225595efebf776786ae0b0b3436f3dd /target/linux/lantiq/dts/falcon.dtsi | |
parent | c40477519edc39130211e5e116fb2b7dad1eae02 (diff) | |
download | mtk-20170518-4995c64857a09c4cc92238ba0bd52cdb06c4c581.zip mtk-20170518-4995c64857a09c4cc92238ba0bd52cdb06c4c581.tar.gz mtk-20170518-4995c64857a09c4cc92238ba0bd52cdb06c4c581.tar.bz2 |
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 <martin.blumenstingl@googlemail.com>
Diffstat (limited to 'target/linux/lantiq/dts/falcon.dtsi')
-rw-r--r-- | target/linux/lantiq/dts/falcon.dtsi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/lantiq/dts/falcon.dtsi b/target/linux/lantiq/dts/falcon.dtsi index 76dde61..30025e0 100644 --- a/target/linux/lantiq/dts/falcon.dtsi +++ b/target/linux/lantiq/dts/falcon.dtsi @@ -19,6 +19,10 @@ gpio4 = &gpio4; }; + chosen { + stdout-path = "serial0:115200n8"; + }; + clocks { compatible = "simple-bus"; |