mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-30 18:47:06 +00:00
2e715fb4fc
Add support for BCM2712 (Raspberry Pi 5).
3bb5880ab3
Patches were generated from the diff between linux kernel branch linux-6.1.y
and rpi-6.1.y from raspberry pi kernel source:
- git format-patch linux-6.1.y...rpi-6.1.y
Build system: x86_64
Build-tested: bcm2708, bcm2709, bcm2710, bcm2711
Run-tested: bcm2710/RPi3B, bcm2711/RPi4B
Signed-off-by: Marty Jones <mj8263788@gmail.com>
[Remove applied and reverted patches, squash patches and config commits]
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
68 lines
1.8 KiB
Diff
68 lines
1.8 KiB
Diff
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>;
|
|
};
|
|
};
|
|
|