NXP System Counter Module(sys_ctr)
Schema identifier ($id): "http://devicetree.org/schemas/timer/nxp,sysctr-timer.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Bai Ping <ping.bai@nxp.com>"
The system counter(sys_ctr) is a programmable system counter which provides a shared time base to Cortex A15, A7, A53, A73, etc. it is intended for use in applications where the counter is always powered and support multiple, unrelated clocks. The compare frame inside can be used for timer purpose.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Allowed values (
enum):"nxp,imx95-sysctr-timer","nxp,sysctr-timer"
Rule 2
Array item rules (
items)Item 1
Item 2
Exact value (
const):"nxp,imx95-sysctr-timer"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Exact value (const): "per"
nxp,no-divider — not listed as required here #
if present, means there is no internal base clk divider.
Value type (type): "boolean"
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
timer@306a0000 {
compatible = "nxp,sysctr-timer";
reg = <0x306a0000 0x20000>;
clocks = <&clk_8m>;
clock-names = "per";
interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)