firmware-utils: bump to git HEAD
[openwrt/openwrt.git] / target / linux / bcm27xx / patches-5.4 / 950-0925-ARM-dts-Add-UART-skip-init-properties-for-U-boot.patch
1 From 197b4fbd218a0a12573cdfcb011eeb3f00765d96 Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.com>
3 Date: Fri, 17 Jul 2020 11:20:07 +0100
4 Subject: [PATCH] ARM: dts: Add UART skip-init properties for U-boot
5
6 U-boot can get stuck trying to initialise UARTs that aren't mapped
7 to the pin header. There is no reason for U-boot not to rely on the
8 initialisation by the firmware, so tag both UARTs with the u-boot
9 magic boolean property "skip-init".
10
11 See: https://github.com/raspberrypi/linux/pull/3731
12 https://lists.denx.de/pipermail/u-boot/2017-April/285606.html
13
14 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
15 ---
16 arch/arm/boot/dts/bcm270x-rpi.dtsi | 8 ++++++++
17 1 file changed, 8 insertions(+)
18
19 --- a/arch/arm/boot/dts/bcm270x-rpi.dtsi
20 +++ b/arch/arm/boot/dts/bcm270x-rpi.dtsi
21 @@ -102,6 +102,14 @@
22 };
23 };
24
25 +&uart0 {
26 + skip-init;
27 +};
28 +
29 +&uart1 {
30 + skip-init;
31 +};
32 +
33 &txp {
34 status = "disabled";
35 };