devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 1/3] arm64: dts: fvp: Add system timer for broadcast during CPU idle
@ 2025-05-09 15:46 Sudeep Holla
  2025-05-09 15:46 ` [PATCH v2 2/3] arm64: dts: fvp: Add CPU idle states for Rev C model Sudeep Holla
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Sudeep Holla @ 2025-05-09 15:46 UTC (permalink / raw)
  To: linux-arm-kernel, devicetree
  Cc: Sudeep Holla, Lorenzo Pieralisi, Liviu Dudau, Leo Yan

Introduce a system-level timer node in the FVP device tree to act as
a broadcast timer when CPUs are in context losing idle states where
the local timer stops on entering such low power states.

This change complements recent CPU idle state additions.

Tested-by: Leo Yan <leo.yan@arm.com>
Message-Id: <20250508103225.354925-2-sudeep.holla@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
---
 arch/arm64/boot/dts/arm/fvp-base-revc.dts | 13 +++++++++++++
 1 file changed, 13 insertions(+)

v1->v2:
	- Dropped clock-frequency property
	- Fixed #size-cell to 1 as expected by the schema
	- Also update the ranges property and the frame reg property

diff --git a/arch/arm64/boot/dts/arm/fvp-base-revc.dts b/arch/arm64/boot/dts/arm/fvp-base-revc.dts
index 9e10d7a6b5a2..50b5993a2460 100644
--- a/arch/arm64/boot/dts/arm/fvp-base-revc.dts
+++ b/arch/arm64/boot/dts/arm/fvp-base-revc.dts
@@ -217,6 +217,19 @@ timer {
 			     <GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>;
 	};
 
+	timer@2a810000 {
+		compatible = "arm,armv7-timer-mem";
+		reg = <0x0 0x2a810000 0x0 0x10000>;
+		ranges = <0 0x0 0x2a820000 0x20000>;
+		#address-cells = <1>;
+		#size-cells = <1>;
+		frame@2a830000 {
+			frame-number = <1>;
+			interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
+			reg = <0x10000 0x10000>;
+		};
+	};
+
 	pmu {
 		compatible = "arm,armv8-pmuv3";
 		interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH>;
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-05-13 14:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-09 15:46 [PATCH v2 1/3] arm64: dts: fvp: Add system timer for broadcast during CPU idle Sudeep Holla
2025-05-09 15:46 ` [PATCH v2 2/3] arm64: dts: fvp: Add CPU idle states for Rev C model Sudeep Holla
2025-05-09 15:46 ` [PATCH v2 3/3] arm64: dts: fvp: Reserve 64MB for the FF-A firmware in memory map Sudeep Holla
2025-05-12 16:21 ` [PATCH v2 1/3] arm64: dts: fvp: Add system timer for broadcast during CPU idle Liviu Dudau
2025-05-13 14:42 ` Sudeep Holla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).