arm64: dts: imx8mn: Add system counter node
authorAnson Huang <Anson.Huang@nxp.com>
Tue, 10 Sep 2019 15:25:17 +0000 (11:25 -0400)
committerShawn Guo <shawnguo@kernel.org>
Sun, 6 Oct 2019 07:43:33 +0000 (15:43 +0800)
Add i.MX8MN system counter node to enable timer-imx-sysctr
broadcast timer driver.

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

index d94db95..0166f8c 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 {