arm64: dts: imx8mq: Add system counter node
authorAnson Huang <Anson.Huang@nxp.com>
Fri, 16 Aug 2019 00:38:44 +0000 (20:38 -0400)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 26 Aug 2019 22:31:39 +0000 (00:31 +0200)
Add i.MX8MQ system counter node to enable timer-imx-sysctr
broadcast timer driver.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
arch/arm64/boot/dts/freescale/imx8mq.dtsi

index d09b808..b452977 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_25m>;
+                               clock-names = "per";
+                       };
                };
 
                bus@30800000 { /* AIPS3 */