Apple SMC RTC

Schema identifier ($id): "http://devicetree.org/schemas/rtc/apple,smc-rtc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Apple Silicon Macs (M1, etc.) have an RTC that is part of the PMU IC, but most of the PMU functionality is abstracted out by the SMC. An additional RTC offset stored inside NVMEM is required to compute the current date/time.

Maintainers (maintainers): "Sven Peter <sven@kernel.org>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "apple,smc-rtc"

nvmem-cells — required here #

Array item rules (items) #

Item 1

48bit RTC offset, specified in 32768 (2^15) Hz clock ticks

nvmem-cell-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "rtc_offset"

Required in this object (required): "compatible", "nvmem-cells", "nvmem-cell-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page