arm64: dts: imx8mp: Add system counter timer node
authorAnson Huang <Anson.Huang@nxp.com>
Thu, 20 Feb 2020 04:50:32 +0000 (12:50 +0800)
committerShawn Guo <shawnguo@kernel.org>
Mon, 24 Feb 2020 06:42:25 +0000 (14:42 +0800)
System counter timer is necessary as broadcast timer for cpu-idle,
add support for it.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mp.dtsi

index 61cf373ad268a9ced9c173b5f15d4bd5e361a675..71b0c8f236936be18d1f0e25b7ee238a095aadf0 100644 (file)
                                #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 {