Lines Matching +full:mode +full:- +full:bootloader
1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/power/reset/syscon-reboot-mode.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Generic SYSCON reboot mode driver
10 - Sebastian Reichel <sre@kernel.org>
13 This driver gets reboot mode magic value from reboot-mode driver
14 and stores it in a SYSCON mapped register. Then the bootloader
17 parental dt-node plus the offset. So the SYSCON reboot-mode node
18 should be represented as a sub-node of a "syscon", "simple-mfd" node.
22 const: syscon-reboot-mode
30 description: Offset in the register map for the mode register (in bytes)
33 "^mode-.+":
35 description: Vendor-specific mode value written to the mode register
40 - compatible
41 - offset
44 - |
45 #include <dt-bindings/soc/rockchip,boot-mode.h>
47 reboot-mode {
48 compatible = "syscon-reboot-mode";
50 mode-normal = <BOOT_NORMAL>;
51 mode-recovery = <BOOT_RECOVERY>;
52 mode-bootloader = <BOOT_FASTBOOT>;
53 mode-loader = <BOOT_BL_DOWNLOAD>;