| 1 |
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/timer/fsl,timrot.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Freescale MXS Timer |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Frank Li <[email protected]> |
| 11 |
|
| 12 |
properties: |
| 13 |
compatible: |
| 14 |
items: |
| 15 |
- enum: |
| 16 |
- fsl,imx23-timrot |
| 17 |
- fsl,imx28-timrot |
| 18 |
- const: fsl,timrot |
| 19 |
|
| 20 |
reg: |
| 21 |
maxItems: 1 |
| 22 |
|
| 23 |
interrupts: |
| 24 |
items: |
| 25 |
- description: irq for timer0 |
| 26 |
- description: irq for timer1 |
| 27 |
- description: irq for timer2 |
| 28 |
- description: irq for timer3 |
| 29 |
|
| 30 |
clocks: |
| 31 |
maxItems: 1 |
| 32 |
|
| 33 |
required: |
| 34 |
- compatible |
| 35 |
- reg |
| 36 |
- interrupts |
| 37 |
- clocks |
| 38 |
|
| 39 |
additionalProperties: false |
| 40 |
|
| 41 |
examples: |
| 42 |
- | |
| 43 |
timer: timer@80068000 { |
| 44 |
compatible = "fsl,imx28-timrot", "fsl,timrot"; |
| 45 |
reg = <0x80068000 0x2000>; |
| 46 |
interrupts = <48>, <49>, <50>, <51>; |
| 47 |
clocks = <&clks 26>; |
| 48 |
}; |