lantiq: specify console using stdout-path instead of cmdline argument
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sun, 11 Dec 2016 20:55:00 +0000 (21:55 +0100)
committerJohn Crispin <john@phrozen.org>
Mon, 12 Dec 2016 08:57:40 +0000 (09:57 +0100)
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>
40 files changed:
target/linux/lantiq/dts/ACMP252.dts
target/linux/lantiq/dts/ARV4510PW.dts
target/linux/lantiq/dts/ARV4518PWR01.dtsi
target/linux/lantiq/dts/ARV4519PW.dts
target/linux/lantiq/dts/ARV4520PW.dts
target/linux/lantiq/dts/ARV452CQW.dts
target/linux/lantiq/dts/ARV7510PW22.dts
target/linux/lantiq/dts/ARV7518PW.dts
target/linux/lantiq/dts/ARV7519PW.dts
target/linux/lantiq/dts/ARV7519RW22.dts
target/linux/lantiq/dts/ARV7525PW.dts
target/linux/lantiq/dts/ARV752DPW.dts
target/linux/lantiq/dts/ARV752DPW22.dts
target/linux/lantiq/dts/BTHOMEHUBV2B.dts
target/linux/lantiq/dts/BTHOMEHUBV3A.dts
target/linux/lantiq/dts/BTHOMEHUBV5A.dts
target/linux/lantiq/dts/DGN1000B.dts
target/linux/lantiq/dts/DGN3500.dtsi
target/linux/lantiq/dts/EASY50712.dts
target/linux/lantiq/dts/EASY50810.dts
target/linux/lantiq/dts/EASY80920.dtsi
target/linux/lantiq/dts/FRITZ3370.dts
target/linux/lantiq/dts/FRITZ7320.dts
target/linux/lantiq/dts/FRITZ7360SL.dts
target/linux/lantiq/dts/GIGASX76X.dts
target/linux/lantiq/dts/H201L.dts
target/linux/lantiq/dts/P2601HNFX.dts
target/linux/lantiq/dts/P2812HNUFX.dtsi
target/linux/lantiq/dts/TDW89X0.dtsi
target/linux/lantiq/dts/VG3503J.dts
target/linux/lantiq/dts/VGV7510KW22.dtsi
target/linux/lantiq/dts/VGV7519.dtsi
target/linux/lantiq/dts/VR200v.dts
target/linux/lantiq/dts/WBMR.dts
target/linux/lantiq/dts/WBMR300.dts
target/linux/lantiq/dts/amazonse.dtsi
target/linux/lantiq/dts/ar9.dtsi
target/linux/lantiq/dts/danube.dtsi
target/linux/lantiq/dts/falcon.dtsi
target/linux/lantiq/dts/vr9.dtsi

index 3961bf4dcc9c27884d19eb29b2f6e31cfab5e320..cb1ec759c26c2ec99fa76cfcc7f33dc2b138e1aa 100644 (file)
@@ -6,7 +6,7 @@
        model = "ACMP252 - AudioCodes MediaPack MP-252";
 
        chosen {
-               bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+               bootargs = "init=/etc/preinit";
        };
 
        memory@0 {
index c34ffe81d947b87b653e20e48daaf9c56c69877c..3f10d66edf989fabe858533ae36ee801063a1717 100644 (file)
@@ -8,7 +8,7 @@
        model = "ARV4510PW - Wippies, Elisa";
 
        chosen {
-               bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+               bootargs = "init=/etc/preinit";
        };
 
        aliases {
index 84c3c4aff568322a4c10511a43a451093d350f05..6e92bf38ae6b5ff1f634f58785fee9c185628564 100644 (file)
@@ -4,7 +4,7 @@
 
 / {
        chosen {
-               bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+               bootargs = "init=/etc/preinit";
        };
 
        aliases {
index 77d466d82609995600c50767f940bf3481fb2f77..77a3f32bd49bcb646bfd067b9f7ce20800b2d994 100644 (file)
@@ -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 {
index 0466968e6f39c66c3fbf0a57ff169e6395dc2052..4fa8082323f25bf3d753698281af422ad8a4a51d 100644 (file)
@@ -8,7 +8,7 @@
        model = "ARV4520PW - Easybox 800, WAV-281";
 
        chosen {
-               bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+               bootargs = "init=/etc/preinit";
        };
 
        aliases {
index 21c5604fbf0e0e0e92028f11baf21f0fb7f577bb..f2b84579c62b0cdb1ef4d91f30ab4a227e1f457e 100644 (file)
@@ -8,7 +8,7 @@
        model = "ARV452CQW - Arcor 801";
 
        chosen {
-               bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+               bootargs = "init=/etc/preinit";
        };
 
        aliases {
index 47ab55e27349b16fc246cdf06a92c97dfc247db3..63608ddf49c46ece28c69dd45f88bd1c1475fdf5 100644 (file)
@@ -8,7 +8,7 @@
        model = "ARV7510PW22 - Astoria Networks";
 
        chosen {
-               bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+               bootargs = "init=/etc/preinit";
        };
 
        aliases {
index 3b5d38d719179f0ea6dca24d45576506b1a7c92f..523c535e6fdc90c978a9625e3f3481f6194f2a77 100644 (file)
@@ -8,7 +8,7 @@
        model = "ARV7518PW - Astoria Networks";
 
        chosen {
-               bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+               bootargs = "init=/etc/preinit";
        };
 
        aliases {
index ea9b0dab006ba6c46356ef2227808247b459806f..580b1fae07f2d6cca2483cd2a3bd4a0b5f12a014 100644 (file)
@@ -8,7 +8,7 @@
        model = "ARV7519PW - Astoria Networks";
 
        chosen {
-               bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+               bootargs = "init=/etc/preinit";
        };
 
        aliases {
index c25a3b5d5ee5b9b17b3d469ec6b8e35413b58f2b..82ce3533a5f65796edff39b1c96a1a5a0e661fbf 100644 (file)
@@ -8,7 +8,7 @@
        model = "ARV7519RW22 - Orange Livebox 2.1";
 
        chosen {
-               bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+               bootargs = "init=/etc/preinit";
        };
 
        aliases {
index be498e4d1eae87f41c6503ebd9d9e66cda500733..b12bd980b6b2eb96522258442a9f2cb53365e9dc 100644 (file)
@@ -8,7 +8,7 @@
        model = "ARV7525PW - Speedport W303V Typ A";
 
        chosen {
-               bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+               bootargs = "init=/etc/preinit";
        };
 
        aliases {
index 0fa5684feb9f16bc9df345682bce2193581cf3c7..262124a0b009b258c12f6665e7249cbae4febab3 100644 (file)
@@ -8,7 +8,7 @@
        model = "ARV752DPW - Arcor 802";
 
        chosen {
-               bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+               bootargs = "init=/etc/preinit";
        };
 
        aliases {
index c409fcb1ea15952013e5f328652418523a7e0903..16d8f1c3f491aefc160ab0a53c4c5a8c65e2541e 100644 (file)
@@ -8,7 +8,7 @@
        model = "ARV752DPW22 - Arcor 803";
 
        chosen {
-               bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+               bootargs = "init=/etc/preinit";
        };
 
        aliases {
index 948267d121a2737a3164ca96d6a26ae597f8e769..54dde32b2a4513d0922d208a09c9da9445ebf632 100644 (file)
@@ -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 {
index 600334feb5a6c6db78d1d6f00aeb77a149d85102..4fde8d6a5e8597bc6bbd9bfae161140f28693992 100644 (file)
@@ -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 {
index df55456f0c1011acb3c0fbfdef1e01e3bfc780b5..150a8da6aa5795129426951c7e5389452af7c10d 100644 (file)
@@ -8,7 +8,7 @@
        model = "BTHOMEHUBV5A - BT Home Hub 5A";
 
        chosen {
-               bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+               bootargs = "init=/etc/preinit";
        };
 
        aliases {
index e15a4e25ced9deb4df46825e0cae759c6b10952c..e6954cf582acb0bedbd0f2171074bdb090038e44 100644 (file)
@@ -8,7 +8,7 @@
        model = "DGN1000B - Netgear DGN1000B";
 
        chosen {
-               bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+               bootargs = "init=/etc/preinit";
 
                aliases {
                        led-boot = &power;
index 5528d5994b8f1d16ff869683230ef589e65c83f2..52cd895b48c2bc6accbe6cfac9fdac525a8bc194 100644 (file)
@@ -4,7 +4,7 @@
 
 / {
        chosen {
-               bootargs = "root= console=ttyLTQ0,115200";
+               bootargs = "root=";
        };
 
        aliases {
index 9afcb75e3809c66a2cff15938543b22051d93c7c..dcf529d26a88253481586c5e5ef12a495dc1c927 100644 (file)
@@ -6,7 +6,7 @@
        model = "EASY50712 - Intel EASY50712 Nand";
 
        chosen {
-               bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+               bootargs = "init=/etc/preinit";
        };
 
        memory@0 {
index 44e08cac983401a7378dc9e667641e7ac3a84a38..513bf5bbb85e38eca234c10fa2e5e426aee14f41 100644 (file)
@@ -4,7 +4,7 @@
 
 / {
        chosen {
-               bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+               bootargs = "init=/etc/preinit";
        };
 
        memory@0 {
index 051db9a217ec1e45be366cc070929952380c0b46..dc568fc497950bd6ac50e542b221122939fbbd44 100644 (file)
@@ -4,7 +4,7 @@
 
 / {
        chosen {
-               bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+               bootargs = "init=/etc/preinit";
        };
 
        aliases {
index 1e2e90ca1b462e6ee4d1ffca1ea82ea9098cf5f6..1b4b28ca95ce65946426e21e9f278a1de4f87383 100644 (file)
@@ -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 {
index 4eb5fc4fe38b19416e00188094a7d1d17861eaf3..b2657d65691ee831a945625e8ee2de93730f73c8 100644 (file)
@@ -8,7 +8,7 @@
        model = "FRITZ7320 - 1&1 HomeServer";
 
        chosen {
-               bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+               bootargs = "init=/etc/preinit";
        };
 
        aliases {
index e54b0e27abd97ac570e64f49aeb8e215180d8942..a750bd1849a0b7e66e6018ffcbd443bdedd2c600 100644 (file)
@@ -8,7 +8,7 @@
        model = "FRITZ7360SL - 1&1 HomeServer";
 
        chosen {
-               bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+               bootargs = "init=/etc/preinit";
        };
 
        aliases {
index 6602693b7ce21c5d13db37d938349e766765ae0a..0709f6b1b7b82aca3c0ba77fa630f5404ca37529 100644 (file)
@@ -8,7 +8,7 @@
        model = "GIGASX76X - Gigaset SX761,SX762,SX763";
 
        chosen {
-               bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+               bootargs = "init=/etc/preinit";
        };
 
        memory@0 {
index 7d4a24c661eec88bfe34b33d0445fc0cc0d41b65..4249005008f94af66c0e957d6e799b8f1cba3afc 100644 (file)
@@ -8,7 +8,7 @@
        model = "H201L - ZTE H210L";
 
        chosen {
-               bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+               bootargs = "init=/etc/preinit";
        };
 
        aliases {
index c82ab3dcb816c035ad26ff2f1f9f531956fbea64..54547431d84e9cbd00fb7eba61fd1c2f8f7cca33 100644 (file)
@@ -8,7 +8,7 @@
        model = "P2601HNFX - ZyXEL P-2601HN-Fx";
 
        chosen {
-               bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+               bootargs = "init=/etc/preinit";
        };
 
        aliases {
index afd13eaf035fad0d158386dc9080f9fee9f0aa15..82dc324b75cd12a5b23607ddcc3c502b6213d65c 100644 (file)
@@ -4,7 +4,7 @@
 
 / {
        chosen {
-               bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+               bootargs = "init=/etc/preinit";
        };
 
        aliases {
index 153d96eff83d12b322c7da5e34dcdd7424cd1ee1..cf33847b6c2e7ca6037010ee8599b23b1755475e 100644 (file)
@@ -4,7 +4,7 @@
 
 / {
        chosen {
-               bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+               bootargs = "init=/etc/preinit";
        };
 
        aliases {
index db25b8748843f3b68cfb18c77dac41b7a996bca5..ff647e0710d44152d7ba66234920b7e48ec84ac6 100644 (file)
@@ -8,7 +8,7 @@
        model = "VG3503J - BT OpenReach VDSL Modem";
 
        chosen {
-               bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+               bootargs = "init=/etc/preinit";
        };
 
        aliases {
index bab7a2df0252ea302cf81c997644b641c38aca5c..f24f471ce36c8ad71e24448adf14bc9184debcb1 100644 (file)
@@ -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 {
index 9875e2143fcba3ac452486b5deb4f6742bc51036..2826dc2c47f9c32d88ede1fdf5434fe413bea525 100644 (file)
@@ -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 {
index 42a36438bf97eb00708759aab68122889788ee42..a111cd840d832c01cdc9e5f302ee0a3a452b9b4e 100644 (file)
@@ -8,7 +8,7 @@
        model = "VR200v - TP-LINK Archer VR200v";
 
        chosen {
-               bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+               bootargs = "init=/etc/preinit";
        };
 
        aliases {
index 7ae0cb74749bade07f6cf0a93e9f98522a800a4b..d209de093dcbb131801811129523ded39256a37a 100644 (file)
@@ -8,7 +8,7 @@
        model = "WBMR - Buffalo WBMR-HP-G300H";
 
        chosen {
-               bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+               bootargs = "init=/etc/preinit";
        };
 
        aliases {
index 3058152f1b288a91da7a9f9833247935289fc193..ece386ae77788f20aabf6032579fb0ba6b0b470b 100644 (file)
@@ -8,7 +8,7 @@
        model = "WBMR300 - Buffalo WBMR-300HPD";
 
        chosen {
-               bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+               bootargs = "init=/etc/preinit";
        };
 
        aliases {
index 33a5a3533982638aeebad4989c0a71ec3bcfb9bd..bce618fed89c3ea609457beedade4eff8bf8e2fb 100644 (file)
@@ -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";
                        reg = <0xE100B10 0xA0>;
                };
 
-               serial@E100C00 {
+               asc1: serial@E100C00 {
                        compatible = "lantiq,asc";
                        reg = <0xE100C00 0x400>;
                        interrupt-parent = <&icu0>;
index 4d3fd6f9a33d09dd7317a6ee485db966c7a070a4..569f25f02cfdd7b075aa5958e86a9aa26f98d79a 100644 (file)
@@ -5,6 +5,14 @@
        #size-cells = <1>;
        compatible = "lantiq,xway", "lantiq,ar9";
 
+       aliases {
+               serial0 = &asc1;
+       };
+
+       chosen {
+               stdout-path = "serial0:115200n8";
+       };
+
        cpus {
                cpu@0 {
                        compatible = "mips,mips34K";
index af691df2f8805a1382b779a7143170b037046c3e..37db51245448fa09eb86fa0e70c1c230833db99a 100644 (file)
@@ -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 {
index 76dde617605a783bbb7309674b3e346b84f11871..30025e0dc278663ae77e63fedc7031decbe27d16 100644 (file)
                gpio4 = &gpio4;
        };
 
+       chosen {
+               stdout-path = "serial0:115200n8";
+       };
+
        clocks {
                compatible = "simple-bus";
 
index 7f036186e4b74f633414c1b971480976b8478d9a..4810a91c5ccd47d911e2d05bc7cfed49ad6d84cc 100644 (file)
@@ -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";