]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: imx95: Add System Counter node
authorPeng Fan <peng.fan@nxp.com>
Mon, 18 Aug 2025 01:25:32 +0000 (09:25 +0800)
committerShawn Guo <shawnguo@kernel.org>
Fri, 22 Aug 2025 09:16:33 +0000 (17:16 +0800)
Add System Counter node to support cpuidle when arm generic timer stops

Reviewed-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx95.dtsi

index dbcc557d07f5b8a0ef27d68b7211b07d26fdb9bc..642dc4b7a4770be50960f53a73db965ea4374e24 100644 (file)
                                status = "disabled";
                        };
 
+                       system_counter: timer@44290000 {
+                               compatible = "nxp,imx95-sysctr-timer";
+                               reg = <0x44290000 0x30000>;
+                               interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
+                               clocks = <&osc_24m>;
+                               clock-names = "per";
+                               nxp,no-divider;
+                       };
+
                        tpm1: pwm@44310000 {
                                compatible = "fsl,imx7ulp-pwm";
                                reg = <0x44310000 0x1000>;