Files
openwrt-master/target/linux/bcm27xx/patches-6.6/950-0978-ARM-dts-pi400-Force-stdout-path-to-serial0.patch
domenico c06fb25d1f
Some checks failed
Build Kernel / Build all affected Kernels (push) Has been cancelled
Build all core packages / Build all core packages for selected target (push) Has been cancelled
Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Has been cancelled
Build Toolchains / Build Toolchains for each target (push) Has been cancelled
Build host tools / Build host tools for linux and macos based systems (push) Has been cancelled
Coverity scan build / Coverity x86/64 build (push) Has been cancelled
Initial commit
2025-06-24 14:35:53 +02:00

36 lines
1.1 KiB
Diff

From b0ec72e3651aeffca2e31849e6f8d264f933270e Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.com>
Date: Tue, 19 Mar 2024 09:48:48 +0000
Subject: [PATCH 0978/1085] ARM: dts: pi400: Force stdout-path to serial0
The upstream Pi DTS files select serial1 for stdout-path, but because of
the way the downstream kernel numbers UARTS, serial0 is required in the
downstream DTS. Using the wrong value breaks U-boot.
In the 6.6 kernel the downstream Pi 400 DTS was made closer to upstream,
inheriting most of its content from the Pi 4B DTS, but because of the
order of inclusion it lost the override for stdout-path. Restore that
override.
See: https://github.com/raspberrypi/firmware/issues/1875
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
---
arch/arm/boot/dts/broadcom/bcm2711-rpi-400.dts | 6 ++++++
1 file changed, 6 insertions(+)
--- a/arch/arm/boot/dts/broadcom/bcm2711-rpi-400.dts
+++ b/arch/arm/boot/dts/broadcom/bcm2711-rpi-400.dts
@@ -43,6 +43,12 @@
// =============================================
// Downstream rpi- changes
+/ {
+ chosen {
+ stdout-path = "serial0:115200n8";
+ };
+};
+
&audio_pins {
brcm,pins = <>;
brcm,function = <>;