59 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2# Copyright 2022 Linaro Ltd.3%YAML 1.24---5$id: http://devicetree.org/schemas/timer/st,nomadik-mtu.yaml#6$schema: http://devicetree.org/meta-schemas/core.yaml#7 8title: ST Microelectronics Nomadik Multi-Timer Unit MTU Timer9 10maintainers:11 - Linus Walleij <linus.walleij@linaro.org>12 13description: This timer is found in the ST Microelectronics Nomadik14 SoCs STn8800, STn8810 and STn8815 as well as in ST-Ericsson DB8500.15 16properties:17 compatible:18 items:19 - const: st,nomadik-mtu20 21 reg:22 maxItems: 123 24 interrupts:25 maxItems: 126 27 clocks:28 description: The first clock named TIMCLK clocks the actual timers and29 the second clock clocks the digital interface to the interconnect.30 maxItems: 231 32 clock-names:33 items:34 - const: timclk35 - const: apb_pclk36 37required:38 - compatible39 - reg40 - interrupts41 - clocks42 - clock-names43 44additionalProperties: false45 46examples:47 - |48 #include <dt-bindings/interrupt-controller/irq.h>49 #include <dt-bindings/interrupt-controller/arm-gic.h>50 #include <dt-bindings/mfd/dbx500-prcmu.h>51 timer@a03c6000 {52 compatible = "st,nomadik-mtu";53 reg = <0xa03c6000 0x1000>;54 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;55 56 clocks = <&prcmu_clk PRCMU_TIMCLK>, <&prcc_pclk 6 6>;57 clock-names = "timclk", "apb_pclk";58 };59