blob: 3fe7b4ea2ab81f1812d587e7919c779a2955cda1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
From d703aa3db7a3f6db81c6dcd03a8f462864e19144 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.com>
Date: Wed, 17 May 2023 16:53:24 +0100
Subject: [PATCH] ARM: dts: bcm27xx: Add stdout-path to serial0
Rather than deleting the upstream stdout-path declaration, overwrite
it with one selecting serial0, which will always be the UART mapped
to the 40-pin header (provided enable_uart=1 is specified). Doing
so has the advantage that earlycon can be configured just by adding
"earlycon" to the command line.
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
---
arch/arm/boot/dts/bcm270x.dtsi | 2 +-
arch/arm/boot/dts/bcm2711-rpi-ds.dtsi | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
--- a/arch/arm/boot/dts/bcm270x.dtsi
+++ b/arch/arm/boot/dts/bcm270x.dtsi
@@ -5,7 +5,7 @@
chosen: chosen {
// Disable audio by default
bootargs = "coherent_pool=1M snd_bcm2835.enable_headphones=0";
- /delete-property/ stdout-path;
+ stdout-path = "serial0:115200n8";
};
soc: soc {
--- a/arch/arm/boot/dts/bcm2711-rpi-ds.dtsi
+++ b/arch/arm/boot/dts/bcm2711-rpi-ds.dtsi
@@ -34,7 +34,7 @@
};
chosen {
- /delete-property/ stdout-path;
+ stdout-path = "serial0:115200n8";
};
aliases {
|