arm: dts: berlin: use stdout-path
cover arm: dts: berlin: use stdout-path
These two simple patches use stdout-path to specify the console. The first patch add aliases for serial uarts. The second patch removes the console argument from the command line, uses stdout-path instead.
Jisheng Zhang (2):
arm: dts: berlin: add aliases for serial
arm: dts: berlin: use stdout-path
arch/arm/boot/dts/berlin2-sony-nsz-gs7.dts | 3 ++- arch/arm/boot/dts/berlin2.dtsi | 6 ++++++ arch/arm/boot/dts/berlin2cd-google-chromecast.dts | 3 ++- arch/arm/boot/dts/berlin2cd.dtsi | 5 +++++ arch/arm/boot/dts/berlin2q-marvell-dmp.dts | 3 ++- arch/arm/boot/dts/berlin2q.dtsi | 5 +++++ 6 files changed, 22 insertions(+), 3 deletions(-)
Signature · 1 line
2.5.1
PATCH RESEND 1/2 arm: dts: berlin: add aliases for serial
This is to prepare for the using stdout-path in next commit.
--- arch/arm/boot/dts/berlin2.dtsi | 6 ++++++ arch/arm/boot/dts/berlin2cd.dtsi | 5 +++++ arch/arm/boot/dts/berlin2q.dtsi | 5 +++++ 3 files changed, 16 insertions(+)
arch/arm/boot/dts/berlin2.dtsi +6 -0
@@ -47,6 +47,12 @@ model = "Marvell Armada 1500 (BG2) SoC"; compatible = "marvell,berlin2", "marvell,berlin"; + aliases { + serial0 = &uart0; + serial1 = &uart1; + serial2 = &uart2; + }; + cpus { #address-cells = <1>; #size-cells = <0>;
arch/arm/boot/dts/berlin2cd.dtsi +5 -0
@@ -47,6 +47,11 @@ model = "Marvell Armada 1500-mini (BG2CD) SoC"; compatible = "marvell,berlin2cd", "marvell,berlin"; + aliases { + serial0 = &uart0; + serial1 = &uart1; + }; + cpus { #address-cells = <1>; #size-cells = <0>;
arch/arm/boot/dts/berlin2q.dtsi +5 -0
@@ -43,6 +43,11 @@ model = "Marvell Armada 1500 pro (BG2-Q) SoC"; compatible = "marvell,berlin2q", "marvell,berlin"; + aliases { + serial0 = &uart0; + serial1 = &uart1; + }; + cpus { #address-cells = <1>; #size-cells = <0>;
Signature · 1 line
2.5.1
PATCH RESEND 2/2 arm: dts: berlin: use stdout-path
In reply to Jisheng ZhangUse stdout-path to specify the console and remove the console argument from the kernel command line.
--- arch/arm/boot/dts/berlin2-sony-nsz-gs7.dts | 3 ++- arch/arm/boot/dts/berlin2cd-google-chromecast.dts | 3 ++- arch/arm/boot/dts/berlin2q-marvell-dmp.dts | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-)
arch/arm/boot/dts/berlin2-sony-nsz-gs7.dts +2 -1
@@ -45,7 +45,8 @@ compatible = "sony,nsz-gs7", "marvell,berlin2", "marvell,berlin"; chosen { - bootargs = "console=ttyS0,115200 earlyprintk"; + bootargs = "earlyprintk"; + stdout-path = "serial0:115200n8"; }; memory {
arch/arm/boot/dts/berlin2cd-google-chromecast.dts +2 -1
@@ -46,7 +46,8 @@ compatible = "google,chromecast", "marvell,berlin2cd", "marvell,berlin"; chosen { - bootargs = "console=ttyS0,115200 earlyprintk"; + bootargs = "earlyprintk"; + stdout-path = "serial0:115200n8"; }; memory {
arch/arm/boot/dts/berlin2q-marvell-dmp.dts +2 -1
@@ -49,7 +49,8 @@ }; choosen { - bootargs = "console=ttyS0,115200 earlyprintk"; + bootargs = "earlyprintk"; + stdout-path = "serial0:115200n8"; }; regulators {
Signature · 1 line
2.5.1
Sebastian Hesselbarth
AppliedQuoted 8 lines · Jisheng Zhang
These two simple patches use stdout-path to specify the console. The first patch add aliases for serial uarts. The second patch removes the console argument from the command line, uses stdout-path instead.
Jisheng Zhang (2):
arm: dts: berlin: add aliases for serial
arm: dts: berlin: use stdout-path
Applied to berlin/dt.
Thanks,
Sebastian
Quoted 8 lines
arch/arm/boot/dts/berlin2-sony-nsz-gs7.dts | 3 ++- arch/arm/boot/dts/berlin2.dtsi | 6 ++++++ arch/arm/boot/dts/berlin2cd-google-chromecast.dts | 3 ++- arch/arm/boot/dts/berlin2cd.dtsi | 5 +++++ arch/arm/boot/dts/berlin2q-marvell-dmp.dts | 3 ++- arch/arm/boot/dts/berlin2q.dtsi | 5 +++++ 6 files changed, 22 insertions(+), 3 deletions(-)