Lines Matching +full:cell +full:- +full:value
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/power/reset/nvmem-reboot-mode.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Bartosz Golaszewski <[email protected]>
13 This driver gets the reboot mode magic value from the reboot-mode driver
14 and stores it in the NVMEM cell named "reboot-mode". The bootloader can
15 then read it and take different action according to the value.
19 const: nvmem-reboot-mode
21 nvmem-cells:
23 A phandle pointing to the nvmem-cells node where the vendor-specific
24 magic value representing the reboot mode is stored.
27 nvmem-cell-names:
29 - const: reboot-mode
32 - $ref: reboot-mode.yaml#
35 "^mode-.*$":
39 - compatible
40 - nvmem-cells
41 - nvmem-cell-names
46 - |
47 reboot-mode {
48 compatible = "nvmem-reboot-mode";
49 nvmem-cells = <&reboot_reason>;
50 nvmem-cell-names = "reboot-mode";
51 mode-recovery = <0x01>;
52 mode-bootloader = <0x02>;