bcm27xx: add support for linux v5.15
[openwrt/staging/chunkeey.git] / target / linux / bcm27xx / patches-5.15 / 950-0761-ARM-dts-bcm2711-rpi-ds-Disable-the-BCM2835-STC.patch
1 From 296f6ab3a619b47b6f8d4ac42ec704a700df08b2 Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.com>
3 Date: Tue, 8 Mar 2022 12:47:49 +0000
4 Subject: [PATCH] ARM: dts: bcm2711-rpi-ds: Disable the BCM2835 STC
5
6 Although BCM2711 still includes the old BCM2835 system timer, the newer
7 per-core local timers are preferred because they are more efficient to
8 access and can generate core-specific interrupts. Make the usage clear
9 by disabling the driver for the old STC.
10
11 See: https://github.com/raspberrypi/firmware/issues/1702
12
13 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
14 ---
15 arch/arm/boot/dts/bcm2711-rpi-ds.dtsi | 4 ++++
16 1 file changed, 4 insertions(+)
17
18 --- a/arch/arm/boot/dts/bcm2711-rpi-ds.dtsi
19 +++ b/arch/arm/boot/dts/bcm2711-rpi-ds.dtsi
20 @@ -203,3 +203,7 @@
21 &dvp {
22 status = "disabled";
23 };
24 +
25 +&system_timer {
26 + status = "disabled";
27 +};