1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2# Copyright 2022 Linaro Ltd. 3%YAML 1.2 4--- 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 Timer 9 10maintainers: 11 - Linus Walleij <linus.walleij@linaro.org> 12 13description: This timer is found in the ST Microelectronics Nomadik 14 SoCs STn8800, STn8810 and STn8815 as well as in ST-Ericsson DB8500. 15 16properties: 17 compatible: 18 items: 19 - const: st,nomadik-mtu 20 21 reg: 22 maxItems: 1 23 24 interrupts: 25 maxItems: 1 26 27 clocks: 28 description: The first clock named TIMCLK clocks the actual timers and 29 the second clock clocks the digital interface to the interconnect. 30 maxItems: 2 31 32 clock-names: 33 items: 34 - const: timclk 35 - const: apb_pclk 36 37required: 38 - compatible 39 - reg 40 - interrupts 41 - clocks 42 - clock-names 43 44additionalProperties: false 45 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