Amlogic Meson6 SoCs Timer Controller

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

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

Maintainers (maintainers): "Neil Armstrong <neil.armstrong@linaro.org>", "Martin Blumenstingl <martin.blumenstingl@googlemail.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "amlogic,meson6-timer"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 4

per-timer event interrupts

clocks — required here #

Maximum number of items (maxItems): 2

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "xtal"

Item 2

Exact value (const): "pclk"

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/irq.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
timer@c1109940 {
    compatible = "amlogic,meson6-timer";
    reg = <0xc1109940 0x14>;
    interrupts = <GIC_SPI 10 IRQ_TYPE_EDGE_RISING>,
                 <GIC_SPI 11 IRQ_TYPE_EDGE_RISING>,
                 <GIC_SPI 6 IRQ_TYPE_EDGE_RISING>,
                 <GIC_SPI 29 IRQ_TYPE_EDGE_RISING>;
    clocks = <&xtal>, <&clk81>;
    clock-names = "xtal", "pclk";
};

Source notes #

Annotations retained from the schema source

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

Edit this page