| 1 |
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/ezchip,nps400-timer.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: EZChip NPS400 Timers |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Noam Camus <[email protected]> |
| 11 |
|
| 12 |
properties: |
| 13 |
compatible: |
| 14 |
enum: |
| 15 |
- ezchip,nps400-timer0 |
| 16 |
- ezchip,nps400-timer1 |
| 17 |
|
| 18 |
interrupts: |
| 19 |
maxItems: 1 |
| 20 |
|
| 21 |
clocks: |
| 22 |
maxItems: 1 |
| 23 |
|
| 24 |
required: |
| 25 |
- compatible |
| 26 |
- clocks |
| 27 |
|
| 28 |
additionalProperties: false |
| 29 |
|
| 30 |
allOf: |
| 31 |
- if: |
| 32 |
properties: |
| 33 |
compatible: |
| 34 |
contains: |
| 35 |
const: ezchip,nps400-timer0 |
| 36 |
then: |
| 37 |
required: [ interrupts ] |
| 38 |
|
| 39 |
examples: |
| 40 |
- | |
| 41 |
timer { |
| 42 |
compatible = "ezchip,nps400-timer0"; |
| 43 |
interrupts = <3>; |
| 44 |
clocks = <&sysclk>; |
| 45 |
}; |