Apple SMC Reboot Controller

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

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

The Apple System Management Controller (SMC) provides reboot functionality on Apple Silicon SoCs. It uses NVMEM cells to store and track various system state information related to boot, shutdown, and panic events.

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

Properties and child nodes (properties) #

compatible — required here #

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

nvmem-cells — required here #

Array item rules (items) #

Item 1

Flag indicating shutdown (as opposed to reboot)

Item 2

Stage at which the boot process stopped (0x30 for normal boot)

Item 3

Counter for boot errors

Item 4

Counter for system panics

nvmem-cell-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "shutdown_flag"

Item 2

Exact value (const): "boot_stage"

Item 3

Exact value (const): "boot_error_count"

Item 4

Exact value (const): "panic_count"

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