brintos

brintos / linux-shallow public Read only

0
0
Text · 1.2 KiB · 8381a54 Raw
55 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/timer/amlogic,meson6-timer.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Amlogic Meson6 SoCs Timer Controller8 9maintainers:10  - Neil Armstrong <neil.armstrong@linaro.org>11  - Martin Blumenstingl <martin.blumenstingl@googlemail.com>12 13properties:14  compatible:15    const: amlogic,meson6-timer16 17  reg:18    maxItems: 119 20  interrupts:21    maxItems: 422    description: per-timer event interrupts23 24  clocks:25    maxItems: 226 27  clock-names:28    items:29      - const: xtal30      - const: pclk31 32required:33  - compatible34  - reg35  - interrupts36  - clocks37  - clock-names38 39additionalProperties: false40 41examples:42  - |43    #include <dt-bindings/interrupt-controller/irq.h>44    #include <dt-bindings/interrupt-controller/arm-gic.h>45    timer@c1109940 {46        compatible = "amlogic,meson6-timer";47        reg = <0xc1109940 0x14>;48        interrupts = <GIC_SPI 10 IRQ_TYPE_EDGE_RISING>,49                     <GIC_SPI 11 IRQ_TYPE_EDGE_RISING>,50                     <GIC_SPI 6 IRQ_TYPE_EDGE_RISING>,51                     <GIC_SPI 29 IRQ_TYPE_EDGE_RISING>;52        clocks = <&xtal>, <&clk81>;53        clock-names = "xtal", "pclk";54    };55