blob: d57659996d6224a3e92316887d218acd99f58699 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001NXP System Counter Module(sys_ctr)
2
3The system counter(sys_ctr) is a programmable system counter which provides
4a shared time base to Cortex A15, A7, A53, A73, etc. it is intended for use in
5applications where the counter is always powered and support multiple,
6unrelated clocks. The compare frame inside can be used for timer purpose.
7
8Required properties:
9
10- compatible : should be "nxp,sysctr-timer"
11- reg : Specifies the base physical address and size of the comapre
12 frame and the counter control, read & compare.
13- interrupts : should be the first compare frames' interrupt
14- clocks : Specifies the counter clock.
15- clock-names: Specifies the clock's name of this module
16
17Example:
18
19 system_counter: timer@306a0000 {
20 compatible = "nxp,sysctr-timer";
21 reg = <0x306a0000 0x20000>;/* system-counter-rd & compare */
22 clocks = <&clk_8m>;
23 clock-names = "per";
24 interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>;
25 };