Nuvoton NPCM7xx timer

Schema identifier ($id): "http://devicetree.org/schemas/timer/nuvoton,npcm7xx-timer.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Jonathan Neuschäfer <j.neuschaefer@gmx.net>", "Tomer Maimon <tmaimon77@gmail.com>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "nuvoton,wpcm450-timer", "nuvoton,npcm750-timer", "nuvoton,npcm845-timer"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Array item rules (items) #

Item 1

The timer interrupt of timer 0

clocks — required here #

Array item rules (items) #

Item 1

The reference clock for timer 0

Item 2

The reference clock for timer 1

Item 3

The reference clock for timer 2

Item 4

The reference clock for timer 3

Item 5

The reference clock for timer 4

Minimum number of items (minItems): 1

Required in this object (required): "compatible", "reg", "interrupts", "clocks"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/nuvoton,npcm7xx-clock.h>
timer@f0008000 {
    compatible = "nuvoton,npcm750-timer";
    interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
    reg = <0xf0008000 0x50>;
    clocks = <&clk NPCM7XX_CLK_TIMER>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 16: for Hermon WPCM450

Line 17: for Poleg NPCM750

Line 18: for Arbel NPCM845

Edit this page