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>
This commit is contained in:
Martin Blumenstingl 2016-12-11 21:55:00 +01:00 committed by John Crispin
parent c40477519e
commit 4995c64857
40 changed files with 70 additions and 37 deletions

View 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 {

View file

@ -8,7 +8,7 @@
model = "ARV4510PW - Wippies, Elisa";
chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
bootargs = "init=/etc/preinit";
};
aliases {

View file

@ -4,7 +4,7 @@
/ {
chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
bootargs = "init=/etc/preinit";
};
aliases {

View 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 {

View file

@ -8,7 +8,7 @@
model = "ARV4520PW - Easybox 800, WAV-281";
chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
bootargs = "init=/etc/preinit";
};
aliases {

View file

@ -8,7 +8,7 @@
model = "ARV452CQW - Arcor 801";
chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
bootargs = "init=/etc/preinit";
};
aliases {

View file

@ -8,7 +8,7 @@
model = "ARV7510PW22 - Astoria Networks";
chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
bootargs = "init=/etc/preinit";
};
aliases {

View file

@ -8,7 +8,7 @@
model = "ARV7518PW - Astoria Networks";
chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
bootargs = "init=/etc/preinit";
};
aliases {

View file

@ -8,7 +8,7 @@
model = "ARV7519PW - Astoria Networks";
chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
bootargs = "init=/etc/preinit";
};
aliases {

View file

@ -8,7 +8,7 @@
model = "ARV7519RW22 - Orange Livebox 2.1";
chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
bootargs = "init=/etc/preinit";
};
aliases {

View file

@ -8,7 +8,7 @@
model = "ARV7525PW - Speedport W303V Typ A";
chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
bootargs = "init=/etc/preinit";
};
aliases {

View file

@ -8,7 +8,7 @@
model = "ARV752DPW - Arcor 802";
chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
bootargs = "init=/etc/preinit";
};
aliases {

View file

@ -8,7 +8,7 @@
model = "ARV752DPW22 - Arcor 803";
chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
bootargs = "init=/etc/preinit";
};
aliases {

View 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 {

View 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 {

View file

@ -8,7 +8,7 @@
model = "BTHOMEHUBV5A - BT Home Hub 5A";
chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
bootargs = "init=/etc/preinit";
};
aliases {

View 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;

View file

@ -4,7 +4,7 @@
/ {
chosen {
bootargs = "root= console=ttyLTQ0,115200";
bootargs = "root=";
};
aliases {

View file

@ -6,7 +6,7 @@
model = "EASY50712 - Intel EASY50712 Nand";
chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
bootargs = "init=/etc/preinit";
};
memory@0 {

View file

@ -4,7 +4,7 @@
/ {
chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
bootargs = "init=/etc/preinit";
};
memory@0 {

View file

@ -4,7 +4,7 @@
/ {
chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
bootargs = "init=/etc/preinit";
};
aliases {

View 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 {

View file

@ -8,7 +8,7 @@
model = "FRITZ7320 - 1&1 HomeServer";
chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
bootargs = "init=/etc/preinit";
};
aliases {

View file

@ -8,7 +8,7 @@
model = "FRITZ7360SL - 1&1 HomeServer";
chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
bootargs = "init=/etc/preinit";
};
aliases {

View 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 {

View file

@ -8,7 +8,7 @@
model = "H201L - ZTE H210L";
chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
bootargs = "init=/etc/preinit";
};
aliases {

View file

@ -8,7 +8,7 @@
model = "P2601HNFX - ZyXEL P-2601HN-Fx";
chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
bootargs = "init=/etc/preinit";
};
aliases {

View file

@ -4,7 +4,7 @@
/ {
chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
bootargs = "init=/etc/preinit";
};
aliases {

View file

@ -4,7 +4,7 @@
/ {
chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
bootargs = "init=/etc/preinit";
};
aliases {

View file

@ -8,7 +8,7 @@
model = "VG3503J - BT OpenReach VDSL Modem";
chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
bootargs = "init=/etc/preinit";
};
aliases {

View 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 {

View 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 {

View file

@ -8,7 +8,7 @@
model = "VR200v - TP-LINK Archer VR200v";
chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
bootargs = "init=/etc/preinit";
};
aliases {

View file

@ -8,7 +8,7 @@
model = "WBMR - Buffalo WBMR-HP-G300H";
chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
bootargs = "init=/etc/preinit";
};
aliases {

View file

@ -8,7 +8,7 @@
model = "WBMR300 - Buffalo WBMR-300HPD";
chosen {
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
bootargs = "init=/etc/preinit";
};
aliases {

View 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";
@ -100,7 +108,7 @@
reg = <0xE100B10 0xA0>;
};
serial@E100C00 {
asc1: serial@E100C00 {
compatible = "lantiq,asc";
reg = <0xE100C00 0x400>;
interrupt-parent = <&icu0>;

View 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";

View 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 {

View file

@ -19,6 +19,10 @@
gpio4 = &gpio4;
};
chosen {
stdout-path = "serial0:115200n8";
};
clocks {
compatible = "simple-bus";

View 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";