summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/bcm4708.dtsi
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2017-03-15 18:03:27 +0100
committerFlorian Fainelli <f.fainelli@gmail.com>2017-03-22 09:48:24 -0700
commit5be82d0475941dc96eeeee3c754baf48365f7bf5 (patch)
tree78df30c6fbcba39374bcf224ba503d3f8a9d3233 /arch/arm/boot/dts/bcm4708.dtsi
parentec73ab6b4d2acb8f5fd9344e9491c62973904a7e (diff)
downloadlinux-5be82d0475941dc96eeeee3c754baf48365f7bf5.tar.bz2
ARM: dts: BCM5301X: Specify serial console params in dtsi files
So far every Northstar device we have seen was using the same serial console params (115200n8). It probably make the most sense to put it in some proper dtsi files instead of repeating over and over for every single device. As different boards may use different bootloaders it seems the safest idea is to use board specific dtsi files. Just in case some vendor decides to use different UART (parameters) this can be always easily overwritten. Signed-off-by: Rafał Miłecki <rafal@milecki.pl> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Diffstat (limited to 'arch/arm/boot/dts/bcm4708.dtsi')
-rw-r--r--arch/arm/boot/dts/bcm4708.dtsi8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/bcm4708.dtsi b/arch/arm/boot/dts/bcm4708.dtsi
index d0eec099f1f8..1a19e97a987d 100644
--- a/arch/arm/boot/dts/bcm4708.dtsi
+++ b/arch/arm/boot/dts/bcm4708.dtsi
@@ -12,6 +12,14 @@
/ {
compatible = "brcm,bcm4708";
+ aliases {
+ serial0 = &uart0;
+ };
+
+ chosen {
+ stdout-path = "serial0:115200n8";
+ };
+
cpus {
#address-cells = <1>;
#size-cells = <0>;