1 From 5be82d0475941dc96eeeee3c754baf48365f7bf5 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
3 Date: Wed, 15 Mar 2017 18:03:27 +0100
4 Subject: [PATCH] ARM: dts: BCM5301X: Specify serial console params in dtsi
7 Content-Type: text/plain; charset=UTF-8
8 Content-Transfer-Encoding: 8bit
10 So far every Northstar device we have seen was using the same serial
11 console params (115200n8). It probably make the most sense to put it in
12 some proper dtsi files instead of repeating over and over for every
13 single device. As different boards may use different bootloaders it
14 seems the safest idea is to use board specific dtsi files.
16 Just in case some vendor decides to use different UART (parameters) this
17 can be always easily overwritten.
19 Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
20 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
22 arch/arm/boot/dts/bcm4708.dtsi | 8 ++++++++
23 arch/arm/boot/dts/bcm47081.dtsi | 8 ++++++++
24 arch/arm/boot/dts/bcm5301x.dtsi | 4 ----
25 arch/arm/boot/dts/bcm94708.dts | 8 --------
26 arch/arm/boot/dts/bcm94709.dts | 8 --------
27 arch/arm/boot/dts/bcm953012er.dts | 8 --------
28 arch/arm/boot/dts/bcm953012hr.dts | 5 -----
29 arch/arm/boot/dts/bcm953012k.dts | 4 ----
30 8 files changed, 16 insertions(+), 37 deletions(-)
32 --- a/arch/arm/boot/dts/bcm4708.dtsi
33 +++ b/arch/arm/boot/dts/bcm4708.dtsi
36 compatible = "brcm,bcm4708";
43 + stdout-path = "serial0:115200n8";
49 --- a/arch/arm/boot/dts/bcm47081.dtsi
50 +++ b/arch/arm/boot/dts/bcm47081.dtsi
53 compatible = "brcm,bcm47081";
60 + stdout-path = "serial0:115200n8";
66 --- a/arch/arm/boot/dts/bcm5301x.dtsi
67 +++ b/arch/arm/boot/dts/bcm5301x.dtsi
70 interrupt-parent = <&gic>;
73 - stdout-path = &uart0;
77 compatible = "simple-bus";
78 ranges = <0x00000000 0x18000000 0x00001000>;
79 --- a/arch/arm/boot/dts/bcm94708.dts
80 +++ b/arch/arm/boot/dts/bcm94708.dts
82 model = "NorthStar SVK (BCM94708)";
83 compatible = "brcm,bcm94708", "brcm,bcm4708";
90 - stdout-path = "serial0:115200n8";
94 reg = <0x00000000 0x08000000>;
96 --- a/arch/arm/boot/dts/bcm94709.dts
97 +++ b/arch/arm/boot/dts/bcm94709.dts
99 model = "NorthStar SVK (BCM94709)";
100 compatible = "brcm,bcm94709", "brcm,bcm4709", "brcm,bcm4708";
107 - stdout-path = "serial0:115200n8";
111 reg = <0x00000000 0x08000000>;
113 --- a/arch/arm/boot/dts/bcm953012er.dts
114 +++ b/arch/arm/boot/dts/bcm953012er.dts
116 model = "NorthStar Enterprise Router (BCM953012ER)";
117 compatible = "brcm,bcm953012er", "brcm,brcm53012", "brcm,bcm4708";
124 - stdout-path = "serial0:115200n8";
128 reg = <0x00000000 0x8000000>;
130 --- a/arch/arm/boot/dts/bcm953012hr.dts
131 +++ b/arch/arm/boot/dts/bcm953012hr.dts
133 compatible = "brcm,bcm953012hr", "brcm,brcm53012", "brcm,bcm4708";
143 - stdout-path = "serial0:115200n8";
147 reg = <0x80000000 0x10000000>;
149 --- a/arch/arm/boot/dts/bcm953012k.dts
150 +++ b/arch/arm/boot/dts/bcm953012k.dts
156 - stdout-path = "serial0:115200n8";
160 reg = <0x00000000 0x10000000>;