| 1 |
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/rtc/apm,xgene-rtc.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: APM X-Gene Real Time Clock |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Khuong Dinh <[email protected]> |
| 11 |
|
| 12 |
properties: |
| 13 |
compatible: |
| 14 |
const: apm,xgene-rtc |
| 15 |
|
| 16 |
reg: |
| 17 |
maxItems: 1 |
| 18 |
|
| 19 |
interrupts: |
| 20 |
maxItems: 1 |
| 21 |
|
| 22 |
'#clock-cells': |
| 23 |
const: 1 |
| 24 |
|
| 25 |
clocks: |
| 26 |
maxItems: 1 |
| 27 |
|
| 28 |
required: |
| 29 |
- compatible |
| 30 |
- reg |
| 31 |
- interrupts |
| 32 |
- '#clock-cells' |
| 33 |
- clocks |
| 34 |
|
| 35 |
additionalProperties: false |
| 36 |
|
| 37 |
examples: |
| 38 |
- | |
| 39 |
rtc@10510000 { |
| 40 |
compatible = "apm,xgene-rtc"; |
| 41 |
reg = <0x10510000 0x400>; |
| 42 |
interrupts = <0x0 0x46 0x4>; |
| 43 |
#clock-cells = <1>; |
| 44 |
clocks = <&rtcclk 0>; |
| 45 |
}; |