Skip to contentSkip to conversation

arm64: dts: imx8mp: Add system counter timer node

PATCH New Anson Huang 1 participant 1 message Feb 20, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: imx8mp: Add system counter timer node

System counter timer is necessary as broadcast timer for cpu-idle, add support for it.

---
 arch/arm64/boot/dts/freescale/imx8mp.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)
arch/arm64/boot/dts/freescale/imx8mp.dtsi +8 -0
index 61cf373..71b0c8f 100644
@@ -358,6 +358,14 @@
 				#pwm-cells = <2>;
 				status = "disabled";
 			};
+
+			system_counter: timer@306a0000 {
+				compatible = "nxp,sysctr-timer";
+				reg = <0x306a0000 0x20000>;
+				interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>;
+				clocks = <&osc_24m>;
+				clock-names = "per";
+			};
 		};
 
 		aips3: bus@30800000 {
Signature · 1 line
2.7.4