Debian Codegraph @

Documentation/devicetree/bindings/power/reset/apple,smc-reboot.yaml

raw
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/power/reset/apple,smc-reboot.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Apple SMC Reboot Controller
8
9 description:
10 The Apple System Management Controller (SMC) provides reboot functionality
11 on Apple Silicon SoCs. It uses NVMEM cells to store and track various
12 system state information related to boot, shutdown, and panic events.
13
14 maintainers:
15 - Sven Peter <[email protected]>
16
17 properties:
18 compatible:
19 const: apple,smc-reboot
20
21 nvmem-cells:
22 items:
23 - description: Flag indicating shutdown (as opposed to reboot)
24 - description: Stage at which the boot process stopped (0x30 for normal boot)
25 - description: Counter for boot errors
26 - description: Counter for system panics
27
28 nvmem-cell-names:
29 items:
30 - const: shutdown_flag
31 - const: boot_stage
32 - const: boot_error_count
33 - const: panic_count
34
35 required:
36 - compatible
37 - nvmem-cells
38 - nvmem-cell-names
39
40 additionalProperties: false