Freescale FlexTimer Module (FTM) Timer
Schema identifier ($id): "http://devicetree.org/schemas/timer/fsl,ftm-timer.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Animesh Agarwal <animeshagarwal28@gmail.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "fsl,ftm-timer"
reg — required here #
Array item rules (items) #
Item 1
clock event device
Item 2
clock source device
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
The clocks provided by the SoC to drive the timer, must contain an entry for each entry in clock-names.
Minimum number of items (minItems): 4
Maximum number of items (maxItems): 4
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"ftm-evt"
Item 2
Exact value (
const):"ftm-src"
Item 3
Exact value (
const):"ftm-evt-counter-en"
Item 4
Exact value (
const):"ftm-src-counter-en"
big-endian — not listed as required here #
true — No constraints added by this property rule.
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/clock/vf610-clock.h>
#include <dt-bindings/interrupt-controller/irq.h>
ftm@400b8000 {
compatible = "fsl,ftm-timer";
reg = <0x400b8000 0x1000>,
<0x400b9000 0x1000>;
interrupts = <0 44 IRQ_TYPE_LEVEL_HIGH>;
clock-names = "ftm-evt", "ftm-src", "ftm-evt-counter-en", "ftm-src-counter-en";
clocks = <&clks VF610_CLK_FTM2>, <&clks VF610_CLK_FTM3>,
<&clks VF610_CLK_FTM2_EXT_FIX_EN>, <&clks VF610_CLK_FTM3_EXT_FIX_EN>;
big-endian;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)