| 1 |
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/rtc/apple,smc-rtc.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Apple SMC RTC |
| 8 |
|
| 9 |
description: |
| 10 |
Apple Silicon Macs (M1, etc.) have an RTC that is part of the PMU IC, |
| 11 |
but most of the PMU functionality is abstracted out by the SMC. |
| 12 |
An additional RTC offset stored inside NVMEM is required to compute |
| 13 |
the current date/time. |
| 14 |
|
| 15 |
maintainers: |
| 16 |
- Sven Peter <[email protected]> |
| 17 |
|
| 18 |
properties: |
| 19 |
compatible: |
| 20 |
const: apple,smc-rtc |
| 21 |
|
| 22 |
nvmem-cells: |
| 23 |
items: |
| 24 |
- description: 48bit RTC offset, specified in 32768 (2^15) Hz clock ticks |
| 25 |
|
| 26 |
nvmem-cell-names: |
| 27 |
items: |
| 28 |
- const: rtc_offset |
| 29 |
|
| 30 |
required: |
| 31 |
- compatible |
| 32 |
- nvmem-cells |
| 33 |
- nvmem-cell-names |
| 34 |
|
| 35 |
additionalProperties: false |