[LEDE-DEV] [PATCH 1/2] lantiq: specify console using stdout-path instead of cmdline argument

Martin Blumenstingl martin.blumenstingl at googlemail.com
Sun Dec 11 12:55:00 PST 2016


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 at googlemail.com>
---
 target/linux/lantiq/dts/ACMP252.dts       |  2 +-
 target/linux/lantiq/dts/ARV4510PW.dts     |  2 +-
 target/linux/lantiq/dts/ARV4518PWR01.dtsi |  2 +-
 target/linux/lantiq/dts/ARV4519PW.dts     |  2 +-
 target/linux/lantiq/dts/ARV4520PW.dts     |  2 +-
 target/linux/lantiq/dts/ARV452CQW.dts     |  2 +-
 target/linux/lantiq/dts/ARV7510PW22.dts   |  2 +-
 target/linux/lantiq/dts/ARV7518PW.dts     |  2 +-
 target/linux/lantiq/dts/ARV7519PW.dts     |  2 +-
 target/linux/lantiq/dts/ARV7519RW22.dts   |  2 +-
 target/linux/lantiq/dts/ARV7525PW.dts     |  2 +-
 target/linux/lantiq/dts/ARV752DPW.dts     |  2 +-
 target/linux/lantiq/dts/ARV752DPW22.dts   |  2 +-
 target/linux/lantiq/dts/BTHOMEHUBV2B.dts  |  2 +-
 target/linux/lantiq/dts/BTHOMEHUBV3A.dts  |  2 +-
 target/linux/lantiq/dts/BTHOMEHUBV5A.dts  |  2 +-
 target/linux/lantiq/dts/DGN1000B.dts      |  2 +-
 target/linux/lantiq/dts/DGN3500.dtsi      |  2 +-
 target/linux/lantiq/dts/EASY50712.dts     |  2 +-
 target/linux/lantiq/dts/EASY50810.dts     |  2 +-
 target/linux/lantiq/dts/EASY80920.dtsi    |  2 +-
 target/linux/lantiq/dts/FRITZ3370.dts     |  2 +-
 target/linux/lantiq/dts/FRITZ7320.dts     |  2 +-
 target/linux/lantiq/dts/FRITZ7360SL.dts   |  2 +-
 target/linux/lantiq/dts/GIGASX76X.dts     |  2 +-
 target/linux/lantiq/dts/H201L.dts         |  2 +-
 target/linux/lantiq/dts/P2601HNFX.dts     |  2 +-
 target/linux/lantiq/dts/P2812HNUFX.dtsi   |  2 +-
 target/linux/lantiq/dts/TDW89X0.dtsi      |  2 +-
 target/linux/lantiq/dts/VG3503J.dts       |  2 +-
 target/linux/lantiq/dts/VGV7510KW22.dtsi  |  2 +-
 target/linux/lantiq/dts/VGV7519.dtsi      |  2 +-
 target/linux/lantiq/dts/VR200v.dts        |  2 +-
 target/linux/lantiq/dts/WBMR.dts          |  2 +-
 target/linux/lantiq/dts/WBMR300.dts       |  2 +-
 target/linux/lantiq/dts/amazonse.dtsi     | 10 +++++++++-
 target/linux/lantiq/dts/ar9.dtsi          |  8 ++++++++
 target/linux/lantiq/dts/danube.dtsi       |  7 ++++++-
 target/linux/lantiq/dts/falcon.dtsi       |  4 ++++
 target/linux/lantiq/dts/vr9.dtsi          |  8 ++++++++
 40 files changed, 70 insertions(+), 37 deletions(-)

diff --git a/target/linux/lantiq/dts/ACMP252.dts b/target/linux/lantiq/dts/ACMP252.dts
index 3961bf4..cb1ec75 100644
--- a/target/linux/lantiq/dts/ACMP252.dts
+++ b/target/linux/lantiq/dts/ACMP252.dts
@@ -6,7 +6,7 @@
 	model = "ACMP252 - AudioCodes MediaPack MP-252";
 
 	chosen {
-		bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+		bootargs = "init=/etc/preinit";
 	};
 
 	memory at 0 {
diff --git a/target/linux/lantiq/dts/ARV4510PW.dts b/target/linux/lantiq/dts/ARV4510PW.dts
index c34ffe8..3f10d66 100644
--- a/target/linux/lantiq/dts/ARV4510PW.dts
+++ b/target/linux/lantiq/dts/ARV4510PW.dts
@@ -8,7 +8,7 @@
 	model = "ARV4510PW - Wippies, Elisa";
 
 	chosen {
-		bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+		bootargs = "init=/etc/preinit";
 	};
 
 	aliases {
diff --git a/target/linux/lantiq/dts/ARV4518PWR01.dtsi b/target/linux/lantiq/dts/ARV4518PWR01.dtsi
index 84c3c4a..6e92bf3 100644
--- a/target/linux/lantiq/dts/ARV4518PWR01.dtsi
+++ b/target/linux/lantiq/dts/ARV4518PWR01.dtsi
@@ -4,7 +4,7 @@
 
 / {
 	chosen {
-		bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+		bootargs = "init=/etc/preinit";
 	};
 
 	aliases {
diff --git a/target/linux/lantiq/dts/ARV4519PW.dts b/target/linux/lantiq/dts/ARV4519PW.dts
index 77d466d..77a3f32 100644
--- a/target/linux/lantiq/dts/ARV4519PW.dts
+++ b/target/linux/lantiq/dts/ARV4519PW.dts
@@ -8,7 +8,7 @@
 	model = "ARV4519PW - Vodafone Netfaster IAD 2, Pirelli P.RG A4201G";
 
 	chosen {
-		bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+		bootargs = "init=/etc/preinit";
 	};
 
 	aliases {
diff --git a/target/linux/lantiq/dts/ARV4520PW.dts b/target/linux/lantiq/dts/ARV4520PW.dts
index 0466968..4fa8082 100644
--- a/target/linux/lantiq/dts/ARV4520PW.dts
+++ b/target/linux/lantiq/dts/ARV4520PW.dts
@@ -8,7 +8,7 @@
 	model = "ARV4520PW - Easybox 800, WAV-281";
 
 	chosen {
-		bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+		bootargs = "init=/etc/preinit";
 	};
 
 	aliases {
diff --git a/target/linux/lantiq/dts/ARV452CQW.dts b/target/linux/lantiq/dts/ARV452CQW.dts
index 21c5604..f2b8457 100644
--- a/target/linux/lantiq/dts/ARV452CQW.dts
+++ b/target/linux/lantiq/dts/ARV452CQW.dts
@@ -8,7 +8,7 @@
 	model = "ARV452CQW - Arcor 801";
 
 	chosen {
-		bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+		bootargs = "init=/etc/preinit";
 	};
 
 	aliases {
diff --git a/target/linux/lantiq/dts/ARV7510PW22.dts b/target/linux/lantiq/dts/ARV7510PW22.dts
index 47ab55e..63608dd 100644
--- a/target/linux/lantiq/dts/ARV7510PW22.dts
+++ b/target/linux/lantiq/dts/ARV7510PW22.dts
@@ -8,7 +8,7 @@
 	model = "ARV7510PW22 - Astoria Networks";
 
 	chosen {
-		bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+		bootargs = "init=/etc/preinit";
 	};
 
 	aliases {
diff --git a/target/linux/lantiq/dts/ARV7518PW.dts b/target/linux/lantiq/dts/ARV7518PW.dts
index 3b5d38d..523c535 100644
--- a/target/linux/lantiq/dts/ARV7518PW.dts
+++ b/target/linux/lantiq/dts/ARV7518PW.dts
@@ -8,7 +8,7 @@
 	model = "ARV7518PW - Astoria Networks";
 
 	chosen {
-		bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+		bootargs = "init=/etc/preinit";
 	};
 
 	aliases {
diff --git a/target/linux/lantiq/dts/ARV7519PW.dts b/target/linux/lantiq/dts/ARV7519PW.dts
index ea9b0da..580b1fa 100644
--- a/target/linux/lantiq/dts/ARV7519PW.dts
+++ b/target/linux/lantiq/dts/ARV7519PW.dts
@@ -8,7 +8,7 @@
 	model = "ARV7519PW - Astoria Networks";
 
 	chosen {
-		bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+		bootargs = "init=/etc/preinit";
 	};
 
 	aliases {
diff --git a/target/linux/lantiq/dts/ARV7519RW22.dts b/target/linux/lantiq/dts/ARV7519RW22.dts
index c25a3b5..82ce353 100644
--- a/target/linux/lantiq/dts/ARV7519RW22.dts
+++ b/target/linux/lantiq/dts/ARV7519RW22.dts
@@ -8,7 +8,7 @@
 	model = "ARV7519RW22 - Orange Livebox 2.1";
 
 	chosen {
-		bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+		bootargs = "init=/etc/preinit";
 	};
 
 	aliases {
diff --git a/target/linux/lantiq/dts/ARV7525PW.dts b/target/linux/lantiq/dts/ARV7525PW.dts
index be498e4..b12bd98 100644
--- a/target/linux/lantiq/dts/ARV7525PW.dts
+++ b/target/linux/lantiq/dts/ARV7525PW.dts
@@ -8,7 +8,7 @@
 	model = "ARV7525PW - Speedport W303V Typ A";
 
 	chosen {
-		bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+		bootargs = "init=/etc/preinit";
 	};
 
 	aliases {
diff --git a/target/linux/lantiq/dts/ARV752DPW.dts b/target/linux/lantiq/dts/ARV752DPW.dts
index 0fa5684..262124a 100644
--- a/target/linux/lantiq/dts/ARV752DPW.dts
+++ b/target/linux/lantiq/dts/ARV752DPW.dts
@@ -8,7 +8,7 @@
 	model = "ARV752DPW - Arcor 802";
 
 	chosen {
-		bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+		bootargs = "init=/etc/preinit";
 	};
 
 	aliases {
diff --git a/target/linux/lantiq/dts/ARV752DPW22.dts b/target/linux/lantiq/dts/ARV752DPW22.dts
index c409fcb..16d8f1c 100644
--- a/target/linux/lantiq/dts/ARV752DPW22.dts
+++ b/target/linux/lantiq/dts/ARV752DPW22.dts
@@ -8,7 +8,7 @@
 	model = "ARV752DPW22 - Arcor 803";
 
 	chosen {
-		bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+		bootargs = "init=/etc/preinit";
 	};
 
 	aliases {
diff --git a/target/linux/lantiq/dts/BTHOMEHUBV2B.dts b/target/linux/lantiq/dts/BTHOMEHUBV2B.dts
index 948267d..54dde32 100644
--- a/target/linux/lantiq/dts/BTHOMEHUBV2B.dts
+++ b/target/linux/lantiq/dts/BTHOMEHUBV2B.dts
@@ -8,7 +8,7 @@
 	model = "BTHOMEHUBV2B - BT Home Hub 2B";  /* SoC: Lantiq Danube-S PSB 50712 @ 333MHz V1.3/1.5 */
 
 	chosen {
-		bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+		bootargs = "init=/etc/preinit";
 	};
 
 	aliases {
diff --git a/target/linux/lantiq/dts/BTHOMEHUBV3A.dts b/target/linux/lantiq/dts/BTHOMEHUBV3A.dts
index 600334f..4fde8d6 100644
--- a/target/linux/lantiq/dts/BTHOMEHUBV3A.dts
+++ b/target/linux/lantiq/dts/BTHOMEHUBV3A.dts
@@ -8,7 +8,7 @@
 	model = "BTHOMEHUBV3A - BT Home Hub 3A";  /* SoC: Lantiq ar9 @ 333MHz */
 
 	chosen {
-		bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+		bootargs = "init=/etc/preinit";
 	};
 
 	aliases {
diff --git a/target/linux/lantiq/dts/BTHOMEHUBV5A.dts b/target/linux/lantiq/dts/BTHOMEHUBV5A.dts
index df55456..150a8da 100644
--- a/target/linux/lantiq/dts/BTHOMEHUBV5A.dts
+++ b/target/linux/lantiq/dts/BTHOMEHUBV5A.dts
@@ -8,7 +8,7 @@
 	model = "BTHOMEHUBV5A - BT Home Hub 5A";
 
 	chosen {
-		bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+		bootargs = "init=/etc/preinit";
 	};
 
 	aliases {
diff --git a/target/linux/lantiq/dts/DGN1000B.dts b/target/linux/lantiq/dts/DGN1000B.dts
index e15a4e2..e6954cf 100644
--- a/target/linux/lantiq/dts/DGN1000B.dts
+++ b/target/linux/lantiq/dts/DGN1000B.dts
@@ -8,7 +8,7 @@
 	model = "DGN1000B - Netgear DGN1000B";
 
 	chosen {
-		bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+		bootargs = "init=/etc/preinit";
 
 		aliases {
 			led-boot = &power;
diff --git a/target/linux/lantiq/dts/DGN3500.dtsi b/target/linux/lantiq/dts/DGN3500.dtsi
index 5528d59..52cd895 100644
--- a/target/linux/lantiq/dts/DGN3500.dtsi
+++ b/target/linux/lantiq/dts/DGN3500.dtsi
@@ -4,7 +4,7 @@
 
 / {
 	chosen {
-		bootargs = "root= console=ttyLTQ0,115200";
+		bootargs = "root=";
 	};
 
 	aliases {
diff --git a/target/linux/lantiq/dts/EASY50712.dts b/target/linux/lantiq/dts/EASY50712.dts
index 9afcb75..dcf529d 100644
--- a/target/linux/lantiq/dts/EASY50712.dts
+++ b/target/linux/lantiq/dts/EASY50712.dts
@@ -6,7 +6,7 @@
 	model = "EASY50712 - Intel EASY50712 Nand";
 
 	chosen {
-		bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+		bootargs = "init=/etc/preinit";
 	};
 
 	memory at 0 {
diff --git a/target/linux/lantiq/dts/EASY50810.dts b/target/linux/lantiq/dts/EASY50810.dts
index 44e08ca..513bf5b 100644
--- a/target/linux/lantiq/dts/EASY50810.dts
+++ b/target/linux/lantiq/dts/EASY50810.dts
@@ -4,7 +4,7 @@
 
 / {
 	chosen {
-		bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+		bootargs = "init=/etc/preinit";
 	};
 
 	memory at 0 {
diff --git a/target/linux/lantiq/dts/EASY80920.dtsi b/target/linux/lantiq/dts/EASY80920.dtsi
index 051db9a..dc568fc 100644
--- a/target/linux/lantiq/dts/EASY80920.dtsi
+++ b/target/linux/lantiq/dts/EASY80920.dtsi
@@ -4,7 +4,7 @@
 
 / {
 	chosen {
-		bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+		bootargs = "init=/etc/preinit";
 	};
 
 	aliases {
diff --git a/target/linux/lantiq/dts/FRITZ3370.dts b/target/linux/lantiq/dts/FRITZ3370.dts
index 1e2e90c..1b4b28c 100644
--- a/target/linux/lantiq/dts/FRITZ3370.dts
+++ b/target/linux/lantiq/dts/FRITZ3370.dts
@@ -8,7 +8,7 @@
 	model = "FRITZ3370 - Fritz!Box WLAN 3370";
 
 	chosen {
-		bootargs = "console=ttyLTQ0,115200 ubi.mtd=1,512 root=/dev/mtdblock9";
+		bootargs = "ubi.mtd=1,512 root=/dev/mtdblock9";
 	};
 
 	aliases {
diff --git a/target/linux/lantiq/dts/FRITZ7320.dts b/target/linux/lantiq/dts/FRITZ7320.dts
index 4eb5fc4..b2657d6 100644
--- a/target/linux/lantiq/dts/FRITZ7320.dts
+++ b/target/linux/lantiq/dts/FRITZ7320.dts
@@ -8,7 +8,7 @@
 	model = "FRITZ7320 - 1&1 HomeServer";
 
 	chosen {
-		bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+		bootargs = "init=/etc/preinit";
 	};
 
 	aliases {
diff --git a/target/linux/lantiq/dts/FRITZ7360SL.dts b/target/linux/lantiq/dts/FRITZ7360SL.dts
index e54b0e2..a750bd1 100644
--- a/target/linux/lantiq/dts/FRITZ7360SL.dts
+++ b/target/linux/lantiq/dts/FRITZ7360SL.dts
@@ -8,7 +8,7 @@
 	model = "FRITZ7360SL - 1&1 HomeServer";
 
 	chosen {
-		bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+		bootargs = "init=/etc/preinit";
 	};
 
 	aliases {
diff --git a/target/linux/lantiq/dts/GIGASX76X.dts b/target/linux/lantiq/dts/GIGASX76X.dts
index 6602693..0709f6b 100644
--- a/target/linux/lantiq/dts/GIGASX76X.dts
+++ b/target/linux/lantiq/dts/GIGASX76X.dts
@@ -8,7 +8,7 @@
 	model = "GIGASX76X - Gigaset SX761,SX762,SX763";
 
 	chosen {
-		bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+		bootargs = "init=/etc/preinit";
 	};
 
 	memory at 0 {
diff --git a/target/linux/lantiq/dts/H201L.dts b/target/linux/lantiq/dts/H201L.dts
index 7d4a24c..4249005 100644
--- a/target/linux/lantiq/dts/H201L.dts
+++ b/target/linux/lantiq/dts/H201L.dts
@@ -8,7 +8,7 @@
 	model = "H201L - ZTE H210L";
 
 	chosen {
-		bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+		bootargs = "init=/etc/preinit";
 	};
 
 	aliases {
diff --git a/target/linux/lantiq/dts/P2601HNFX.dts b/target/linux/lantiq/dts/P2601HNFX.dts
index c82ab3d..5454743 100644
--- a/target/linux/lantiq/dts/P2601HNFX.dts
+++ b/target/linux/lantiq/dts/P2601HNFX.dts
@@ -8,7 +8,7 @@
 	model = "P2601HNFX - ZyXEL P-2601HN-Fx";
 
 	chosen {
-		bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+		bootargs = "init=/etc/preinit";
 	};
 
 	aliases {
diff --git a/target/linux/lantiq/dts/P2812HNUFX.dtsi b/target/linux/lantiq/dts/P2812HNUFX.dtsi
index afd13ea..82dc324 100644
--- a/target/linux/lantiq/dts/P2812HNUFX.dtsi
+++ b/target/linux/lantiq/dts/P2812HNUFX.dtsi
@@ -4,7 +4,7 @@
 
 / {
 	chosen {
-		bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+		bootargs = "init=/etc/preinit";
 	};
 
 	aliases {
diff --git a/target/linux/lantiq/dts/TDW89X0.dtsi b/target/linux/lantiq/dts/TDW89X0.dtsi
index 153d96e..cf33847 100644
--- a/target/linux/lantiq/dts/TDW89X0.dtsi
+++ b/target/linux/lantiq/dts/TDW89X0.dtsi
@@ -4,7 +4,7 @@
 
 / {
 	chosen {
-		bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+		bootargs = "init=/etc/preinit";
 	};
 
 	aliases {
diff --git a/target/linux/lantiq/dts/VG3503J.dts b/target/linux/lantiq/dts/VG3503J.dts
index db25b87..ff647e0 100644
--- a/target/linux/lantiq/dts/VG3503J.dts
+++ b/target/linux/lantiq/dts/VG3503J.dts
@@ -8,7 +8,7 @@
 	model = "VG3503J - BT OpenReach VDSL Modem";
 
 	chosen {
-		bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+		bootargs = "init=/etc/preinit";
 	};
 
 	aliases {
diff --git a/target/linux/lantiq/dts/VGV7510KW22.dtsi b/target/linux/lantiq/dts/VGV7510KW22.dtsi
index bab7a2d..f24f471 100644
--- a/target/linux/lantiq/dts/VGV7510KW22.dtsi
+++ b/target/linux/lantiq/dts/VGV7510KW22.dtsi
@@ -4,7 +4,7 @@
 
 / {
 	chosen {
-		bootargs = "console=ttyLTQ0,115200 init=/etc/preinit mem=62M vpe1_load_addr=0x83e00000 vpe1_mem=2M maxvpes=1 maxtcs=1";
+		bootargs = "init=/etc/preinit mem=62M vpe1_load_addr=0x83e00000 vpe1_mem=2M maxvpes=1 maxtcs=1";
 	};
 
 	aliases {
diff --git a/target/linux/lantiq/dts/VGV7519.dtsi b/target/linux/lantiq/dts/VGV7519.dtsi
index 9875e21..2826dc2 100644
--- a/target/linux/lantiq/dts/VGV7519.dtsi
+++ b/target/linux/lantiq/dts/VGV7519.dtsi
@@ -4,7 +4,7 @@
 
 / {
 	chosen {
-		bootargs = "console=ttyLTQ0,115200 init=/etc/preinit mem=62M vpe1_load_addr=0x83e00000 vpe1_mem=2M maxvpes=1 maxtcs=1";
+		bootargs = "init=/etc/preinit mem=62M vpe1_load_addr=0x83e00000 vpe1_mem=2M maxvpes=1 maxtcs=1";
 	};
 
 	aliases {
diff --git a/target/linux/lantiq/dts/VR200v.dts b/target/linux/lantiq/dts/VR200v.dts
index 42a3643..a111cd8 100644
--- a/target/linux/lantiq/dts/VR200v.dts
+++ b/target/linux/lantiq/dts/VR200v.dts
@@ -8,7 +8,7 @@
 	model = "VR200v - TP-LINK Archer VR200v";
 
 	chosen {
-		bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+		bootargs = "init=/etc/preinit";
 	};
 
 	aliases {
diff --git a/target/linux/lantiq/dts/WBMR.dts b/target/linux/lantiq/dts/WBMR.dts
index 7ae0cb7..d209de0 100644
--- a/target/linux/lantiq/dts/WBMR.dts
+++ b/target/linux/lantiq/dts/WBMR.dts
@@ -8,7 +8,7 @@
 	model = "WBMR - Buffalo WBMR-HP-G300H";
 
 	chosen {
-		bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+		bootargs = "init=/etc/preinit";
 	};
 
 	aliases {
diff --git a/target/linux/lantiq/dts/WBMR300.dts b/target/linux/lantiq/dts/WBMR300.dts
index 3058152..ece386a 100644
--- a/target/linux/lantiq/dts/WBMR300.dts
+++ b/target/linux/lantiq/dts/WBMR300.dts
@@ -8,7 +8,7 @@
 	model = "WBMR300 - Buffalo WBMR-300HPD";
 
 	chosen {
-		bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+		bootargs = "init=/etc/preinit";
 	};
 
 	aliases {
diff --git a/target/linux/lantiq/dts/amazonse.dtsi b/target/linux/lantiq/dts/amazonse.dtsi
index 33a5a35..bce618f 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 at 0 {
 			compatible = "mips,mips4Kc";
@@ -100,7 +108,7 @@
 			reg = <0xE100B10 0xA0>;
 		};
 
-		serial at E100C00 {
+		asc1: serial at E100C00 {
 			compatible = "lantiq,asc";
 			reg = <0xE100C00 0x400>;
 			interrupt-parent = <&icu0>;
diff --git a/target/linux/lantiq/dts/ar9.dtsi b/target/linux/lantiq/dts/ar9.dtsi
index 4d3fd6f..569f25f 100644
--- a/target/linux/lantiq/dts/ar9.dtsi
+++ b/target/linux/lantiq/dts/ar9.dtsi
@@ -5,6 +5,14 @@
 	#size-cells = <1>;
 	compatible = "lantiq,xway", "lantiq,ar9";
 
+	aliases {
+		serial0 = &asc1;
+	};
+
+	chosen {
+		stdout-path = "serial0:115200n8";
+	};
+
 	cpus {
 		cpu at 0 {
 			compatible = "mips,mips34K";
diff --git a/target/linux/lantiq/dts/danube.dtsi b/target/linux/lantiq/dts/danube.dtsi
index af691df..37db512 100644
--- a/target/linux/lantiq/dts/danube.dtsi
+++ b/target/linux/lantiq/dts/danube.dtsi
@@ -5,8 +5,13 @@
 	#size-cells = <1>;
 	compatible = "lantiq,xway", "lantiq,danube";
 
+	aliases {
+		serial0 = &asc1;
+	};
+
 	chosen {
-		bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+		bootargs = "init=/etc/preinit";
+		stdout-path = "serial0:115200n8";
 	};
 
 	cpus {
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";
 
diff --git a/target/linux/lantiq/dts/vr9.dtsi b/target/linux/lantiq/dts/vr9.dtsi
index 7f03618..4810a91 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 at 0 {
 			compatible = "mips,mips34Kc";
-- 
2.10.2




More information about the Lede-dev mailing list