Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 | %YAML 1.2 |
| 3 | --- |
| 4 | $id: http://devicetree.org/schemas/timer/renesas,em-sti.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Renesas EMMA Mobile System Timer |
| 8 | |
| 9 | maintainers: |
| 10 | - Magnus Damm <magnus.damm@gmail.com> |
| 11 | |
| 12 | properties: |
| 13 | compatible: |
| 14 | const: renesas,em-sti |
| 15 | |
| 16 | reg: |
| 17 | maxItems: 1 |
| 18 | |
| 19 | interrupts: |
| 20 | maxItems: 1 |
| 21 | |
| 22 | clocks: |
| 23 | maxItems: 1 |
| 24 | |
| 25 | clock-names: |
| 26 | const: sclk |
| 27 | |
| 28 | required: |
| 29 | - compatible |
| 30 | - reg |
| 31 | - interrupts |
| 32 | - clocks |
| 33 | - clock-names |
| 34 | |
| 35 | additionalProperties: false |
| 36 | |
| 37 | examples: |
| 38 | - | |
| 39 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
| 40 | timer@e0180000 { |
| 41 | compatible = "renesas,em-sti"; |
| 42 | reg = <0xe0180000 0x54>; |
| 43 | interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>; |
| 44 | clocks = <&sti_sclk>; |
| 45 | clock-names = "sclk"; |
| 46 | }; |