0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/timer/renesas,em-sti.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Renesas EMMA Mobile System Timer
0008
0009 maintainers:
0010 - Magnus Damm <magnus.damm@gmail.com>
0011
0012 properties:
0013 compatible:
0014 const: renesas,em-sti
0015
0016 reg:
0017 maxItems: 1
0018
0019 interrupts:
0020 maxItems: 1
0021
0022 clocks:
0023 maxItems: 1
0024
0025 clock-names:
0026 const: sclk
0027
0028 required:
0029 - compatible
0030 - reg
0031 - interrupts
0032 - clocks
0033 - clock-names
0034
0035 additionalProperties: false
0036
0037 examples:
0038 - |
0039 #include <dt-bindings/interrupt-controller/arm-gic.h>
0040 timer@e0180000 {
0041 compatible = "renesas,em-sti";
0042 reg = <0xe0180000 0x54>;
0043 interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>;
0044 clocks = <&sti_sclk>;
0045 clock-names = "sclk";
0046 };