openwrt/target/linux/bcm27xx/patches-6.1/950-1064-overlays-uart-n-pi5-Add-the-pinctrl-0-property.patch

68 lines
1.8 KiB
Diff
Raw Normal View History

From 17f135b742c4edb340afb365873c3a574f7e16cb Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.com>
Date: Thu, 2 Nov 2023 17:05:46 +0000
Subject: [PATCH] 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>;
};
};