openwrt/target/linux/bcm27xx/patches-6.6/950-0705-overlays-uart-n-pi5-Add-the-pinctrl-0-property.patch
Álvaro Fernández Rojas 8c405cdccc bcm27xx: add 6.6 kernel patches
The patches were generated from the RPi repo with the following command:
git format-patch v6.6.34..rpi-6.1.y

Some patches needed rebasing and, as usual, the applied and reverted, wireless
drivers, Github workflows, READMEs and defconfigs patches were removed.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2024-06-18 18:52:49 +02:00

68 lines
1.8 KiB
Diff

From e42f261111e760c025c7467d9e3446908f791456 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.com>
Date: Thu, 2 Nov 2023 17:05:46 +0000
Subject: [PATCH 0705/1085] overlays: uart<n>-pi5: Add the pinctrl-0 property
Without the pinctrl-0 property in the overlays, the UARTs may not be
mapped correctly.
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
---
arch/arm/boot/dts/overlays/uart0-pi5-overlay.dts | 1 +
arch/arm/boot/dts/overlays/uart1-pi5-overlay.dts | 1 +
arch/arm/boot/dts/overlays/uart2-pi5-overlay.dts | 1 +
arch/arm/boot/dts/overlays/uart3-pi5-overlay.dts | 1 +
arch/arm/boot/dts/overlays/uart4-pi5-overlay.dts | 1 +
5 files changed, 5 insertions(+)
--- a/arch/arm/boot/dts/overlays/uart0-pi5-overlay.dts
+++ b/arch/arm/boot/dts/overlays/uart0-pi5-overlay.dts
@@ -8,6 +8,7 @@
target = <&uart0>;
frag0: __overlay__ {
status = "okay";
+ pinctrl-0 = <&uart0_pins>;
};
};
--- a/arch/arm/boot/dts/overlays/uart1-pi5-overlay.dts
+++ b/arch/arm/boot/dts/overlays/uart1-pi5-overlay.dts
@@ -8,6 +8,7 @@
target = <&uart1>;
frag0: __overlay__ {
status = "okay";
+ pinctrl-0 = <&uart1_pins>;
};
};
--- a/arch/arm/boot/dts/overlays/uart2-pi5-overlay.dts
+++ b/arch/arm/boot/dts/overlays/uart2-pi5-overlay.dts
@@ -8,6 +8,7 @@
target = <&uart2>;
frag0: __overlay__ {
status = "okay";
+ pinctrl-0 = <&uart2_pins>;
};
};
--- a/arch/arm/boot/dts/overlays/uart3-pi5-overlay.dts
+++ b/arch/arm/boot/dts/overlays/uart3-pi5-overlay.dts
@@ -8,6 +8,7 @@
target = <&uart3>;
frag0: __overlay__ {
status = "okay";
+ pinctrl-0 = <&uart3_pins>;
};
};
--- a/arch/arm/boot/dts/overlays/uart4-pi5-overlay.dts
+++ b/arch/arm/boot/dts/overlays/uart4-pi5-overlay.dts
@@ -8,6 +8,7 @@
target = <&uart4>;
frag0: __overlay__ {
status = "okay";
+ pinctrl-0 = <&uart4_pins>;
};
};