1b97ee269SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2b97ee269SEmmanuel Vadot# Copyright 2022 Linaro Ltd. 3b97ee269SEmmanuel Vadot%YAML 1.2 4b97ee269SEmmanuel Vadot--- 5*fac71e4eSEmmanuel Vadot$id: http://devicetree.org/schemas/timer/st,nomadik-mtu.yaml# 6*fac71e4eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 7b97ee269SEmmanuel Vadot 8b97ee269SEmmanuel Vadottitle: ST Microelectronics Nomadik Multi-Timer Unit MTU Timer 9b97ee269SEmmanuel Vadot 10b97ee269SEmmanuel Vadotmaintainers: 11b97ee269SEmmanuel Vadot - Linus Walleij <linus.walleij@linaro.org> 12b97ee269SEmmanuel Vadot 13b97ee269SEmmanuel Vadotdescription: This timer is found in the ST Microelectronics Nomadik 14b97ee269SEmmanuel Vadot SoCs STn8800, STn8810 and STn8815 as well as in ST-Ericsson DB8500. 15b97ee269SEmmanuel Vadot 16b97ee269SEmmanuel Vadotproperties: 17b97ee269SEmmanuel Vadot compatible: 18b97ee269SEmmanuel Vadot items: 19b97ee269SEmmanuel Vadot - const: st,nomadik-mtu 20b97ee269SEmmanuel Vadot 21b97ee269SEmmanuel Vadot reg: 22b97ee269SEmmanuel Vadot maxItems: 1 23b97ee269SEmmanuel Vadot 24b97ee269SEmmanuel Vadot interrupts: 25b97ee269SEmmanuel Vadot maxItems: 1 26b97ee269SEmmanuel Vadot 27b97ee269SEmmanuel Vadot clocks: 28b97ee269SEmmanuel Vadot description: The first clock named TIMCLK clocks the actual timers and 29b97ee269SEmmanuel Vadot the second clock clocks the digital interface to the interconnect. 30b97ee269SEmmanuel Vadot maxItems: 2 31b97ee269SEmmanuel Vadot 32b97ee269SEmmanuel Vadot clock-names: 33b97ee269SEmmanuel Vadot items: 34b97ee269SEmmanuel Vadot - const: timclk 35b97ee269SEmmanuel Vadot - const: apb_pclk 36b97ee269SEmmanuel Vadot 37b97ee269SEmmanuel Vadotrequired: 38b97ee269SEmmanuel Vadot - compatible 39b97ee269SEmmanuel Vadot - reg 40b97ee269SEmmanuel Vadot - interrupts 41b97ee269SEmmanuel Vadot - clocks 42b97ee269SEmmanuel Vadot - clock-names 43b97ee269SEmmanuel Vadot 44b97ee269SEmmanuel VadotadditionalProperties: false 45b97ee269SEmmanuel Vadot 46b97ee269SEmmanuel Vadotexamples: 47b97ee269SEmmanuel Vadot - | 48b97ee269SEmmanuel Vadot #include <dt-bindings/interrupt-controller/irq.h> 49b97ee269SEmmanuel Vadot #include <dt-bindings/interrupt-controller/arm-gic.h> 50b97ee269SEmmanuel Vadot #include <dt-bindings/mfd/dbx500-prcmu.h> 51b97ee269SEmmanuel Vadot timer@a03c6000 { 52b97ee269SEmmanuel Vadot compatible = "st,nomadik-mtu"; 53b97ee269SEmmanuel Vadot reg = <0xa03c6000 0x1000>; 54b97ee269SEmmanuel Vadot interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>; 55b97ee269SEmmanuel Vadot 56b97ee269SEmmanuel Vadot clocks = <&prcmu_clk PRCMU_TIMCLK>, <&prcc_pclk 6 6>; 57b97ee269SEmmanuel Vadot clock-names = "timclk", "apb_pclk"; 58b97ee269SEmmanuel Vadot }; 59