summaryrefslogtreecommitdiffstats
path: root/target/linux/bcm27xx/patches-6.1/950-0715-ARM-dts-bcm2709-10-Retain-the-system-timer-node.patch
blob: 5d88fae1c4b17636fe39a49b3a183351e81303a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
From 39b579459fd42703731f833057d49ef120400c5f Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.com>
Date: Thu, 11 May 2023 15:44:18 +0100
Subject: [PATCH] ARM: dts: bcm2709/10: Retain the system-timer node

Although the system timer is largely ignored in favour of the ARM local
timers, retain the DT node so that the bcm2835-sdhost logging can find
the timer in a cleaner fashion.

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
---
 arch/arm/boot/dts/bcm2709.dtsi | 6 ++++--
 arch/arm/boot/dts/bcm2710.dtsi | 6 ++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

--- a/arch/arm/boot/dts/bcm2709.dtsi
+++ b/arch/arm/boot/dts/bcm2709.dtsi
@@ -10,8 +10,6 @@
 
 		dma-ranges = <0xc0000000 0x00000000 0x3f000000>,
 			     <0x7e000000 0x3f000000 0x01000000>;
-
-		/delete-node/ timer@7e003000;
 	};
 
 	__overrides__ {
@@ -22,6 +20,10 @@
 	};
 };
 
+&system_timer {
+	status = "disabled";
+};
+
 &vc4 {
 	status = "disabled";
 };
--- a/arch/arm/boot/dts/bcm2710.dtsi
+++ b/arch/arm/boot/dts/bcm2710.dtsi
@@ -13,8 +13,6 @@
 	soc {
 		dma-ranges = <0xc0000000 0x00000000 0x3f000000>,
 			     <0x7e000000 0x3f000000 0x01000000>;
-
-		/delete-node/ timer@7e003000;
 	};
 
 	__overrides__ {
@@ -25,6 +23,10 @@
 	};
 };
 
+&system_timer {
+	status = "disabled";
+};
+
 &vc4 {
 	status = "disabled";
 };