| 1 |
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/rtc/nuvoton,nct3018y.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: NUVOTON NCT3018Y Real Time Clock |
| 8 |
|
| 9 |
allOf: |
| 10 |
- $ref: rtc.yaml# |
| 11 |
|
| 12 |
maintainers: |
| 13 |
- Medad CChien <[email protected]> |
| 14 |
- Mia Lin <[email protected]> |
| 15 |
|
| 16 |
properties: |
| 17 |
compatible: |
| 18 |
const: nuvoton,nct3018y |
| 19 |
|
| 20 |
reg: |
| 21 |
maxItems: 1 |
| 22 |
|
| 23 |
start-year: true |
| 24 |
|
| 25 |
reset-source: true |
| 26 |
|
| 27 |
required: |
| 28 |
- compatible |
| 29 |
- reg |
| 30 |
|
| 31 |
additionalProperties: false |
| 32 |
|
| 33 |
examples: |
| 34 |
- | |
| 35 |
i2c { |
| 36 |
#address-cells = <1>; |
| 37 |
#size-cells = <0>; |
| 38 |
|
| 39 |
rtc@6f { |
| 40 |
compatible = "nuvoton,nct3018y"; |
| 41 |
reg = <0x6f>; |
| 42 |
}; |
| 43 |
}; |
| 44 |
|
| 45 |
... |