| 1 |
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/timer/cirrus,clps711x-timer.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Cirrus Logic CLPS711X Timer Counter |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Alexander Shiyan <[email protected]> |
| 11 |
|
| 12 |
properties: |
| 13 |
compatible: |
| 14 |
oneOf: |
| 15 |
- items: |
| 16 |
- enum: |
| 17 |
- cirrus,ep7312-timer |
| 18 |
- const: cirrus,ep7209-timer |
| 19 |
- const: cirrus,ep7209-timer |
| 20 |
|
| 21 |
reg: |
| 22 |
maxItems: 1 |
| 23 |
|
| 24 |
clocks: |
| 25 |
maxItems: 1 |
| 26 |
|
| 27 |
interrupts: |
| 28 |
maxItems: 1 |
| 29 |
|
| 30 |
required: |
| 31 |
- compatible |
| 32 |
- reg |
| 33 |
- clocks |
| 34 |
- interrupts |
| 35 |
|
| 36 |
additionalProperties: false |
| 37 |
|
| 38 |
examples: |
| 39 |
- | |
| 40 |
timer@80000300 { |
| 41 |
compatible = "cirrus,ep7312-timer", "cirrus,ep7209-timer"; |
| 42 |
reg = <0x80000300 0x4>; |
| 43 |
interrupts = <8>; |
| 44 |
clocks = <&clks 5>; |
| 45 |
}; |