| 1 |
# SPDX-License-Identifier: GPL-2.0 |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/rtc/nxp,pcf8563.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Philips PCF8563/Epson RTC8564 Real Time Clock |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Alexandre Belloni <[email protected]> |
| 11 |
|
| 12 |
allOf: |
| 13 |
- $ref: rtc.yaml# |
| 14 |
|
| 15 |
properties: |
| 16 |
compatible: |
| 17 |
enum: |
| 18 |
- epson,rtc8564 |
| 19 |
- microcrystal,rv8564 |
| 20 |
- nxp,pca8565 |
| 21 |
- nxp,pcf8563 |
| 22 |
|
| 23 |
reg: |
| 24 |
maxItems: 1 |
| 25 |
|
| 26 |
"#clock-cells": |
| 27 |
const: 0 |
| 28 |
|
| 29 |
clock-output-names: |
| 30 |
maxItems: 1 |
| 31 |
|
| 32 |
interrupts: |
| 33 |
maxItems: 1 |
| 34 |
|
| 35 |
start-year: true |
| 36 |
wakeup-source: true |
| 37 |
|
| 38 |
required: |
| 39 |
- compatible |
| 40 |
- reg |
| 41 |
|
| 42 |
additionalProperties: false |
| 43 |
|
| 44 |
examples: |
| 45 |
- | |
| 46 |
i2c { |
| 47 |
#address-cells = <1>; |
| 48 |
#size-cells = <0>; |
| 49 |
|
| 50 |
rtc@51 { |
| 51 |
compatible = "nxp,pcf8563"; |
| 52 |
reg = <0x51>; |
| 53 |
#clock-cells = <0>; |
| 54 |
}; |
| 55 |
}; |
| 56 |
... |