aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/dts/amazonse.dtsi
diff options
context:
space:
mode:
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>2016-12-11 21:55:00 +0100
committerJohn Crispin <john@phrozen.org>2016-12-12 09:57:40 +0100
commit4995c64857a09c4cc92238ba0bd52cdb06c4c581 (patch)
treed2ac8a3cd225595efebf776786ae0b0b3436f3dd /target/linux/lantiq/dts/amazonse.dtsi
parentc40477519edc39130211e5e116fb2b7dad1eae02 (diff)
downloadupstream-4995c64857a09c4cc92238ba0bd52cdb06c4c581.tar.gz
upstream-4995c64857a09c4cc92238ba0bd52cdb06c4c581.tar.bz2
upstream-4995c64857a09c4cc92238ba0bd52cdb06c4c581.zip
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/amazonse.dtsi')
-rw-r--r--target/linux/lantiq/dts/amazonse.dtsi10
1 files changed, 9 insertions, 1 deletions
diff --git a/target/linux/lantiq/dts/amazonse.dtsi b/target/linux/lantiq/dts/amazonse.dtsi
index 33a5a35339..bce618fed8 100644
--- a/target/linux/lantiq/dts/amazonse.dtsi
+++ b/target/linux/lantiq/dts/amazonse.dtsi
@@ -5,6 +5,14 @@
#size-cells = <1>;
compatible = "lantiq,xway", "lantiq,ase";
+ aliases {
+ serial0 = &asc1;
+ };
+
+ chosen {
+ stdout-path = "serial0:115200n8";
+ };
+
cpus {
cpu@0 {
compatible = "mips,mips4Kc";
@@ -100,7 +108,7 @@
reg = <0xE100B10 0xA0>;
};
- serial@E100C00 {
+ asc1: serial@E100C00 {
compatible = "lantiq,asc";
reg = <0xE100C00 0x400>;
interrupt-parent = <&icu0>;