| 1 |
# SPDX-License-Identifier: GPL-2.0 |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/rtc/allwinner,sun4i-a10-rtc.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Allwinner A10 RTC |
| 8 |
|
| 9 |
allOf: |
| 10 |
- $ref: rtc.yaml# |
| 11 |
|
| 12 |
maintainers: |
| 13 |
- Chen-Yu Tsai <[email protected]> |
| 14 |
- Maxime Ripard <[email protected]> |
| 15 |
|
| 16 |
properties: |
| 17 |
compatible: |
| 18 |
enum: |
| 19 |
- allwinner,sun4i-a10-rtc |
| 20 |
- allwinner,sun7i-a20-rtc |
| 21 |
|
| 22 |
reg: |
| 23 |
maxItems: 1 |
| 24 |
|
| 25 |
interrupts: |
| 26 |
maxItems: 1 |
| 27 |
|
| 28 |
required: |
| 29 |
- compatible |
| 30 |
- reg |
| 31 |
- interrupts |
| 32 |
|
| 33 |
additionalProperties: false |
| 34 |
|
| 35 |
examples: |
| 36 |
- | |
| 37 |
rtc: rtc@1c20d00 { |
| 38 |
compatible = "allwinner,sun4i-a10-rtc"; |
| 39 |
reg = <0x01c20d00 0x20>; |
| 40 |
interrupts = <24>; |
| 41 |
}; |
| 42 |
|
| 43 |
... |