1 SYSCON reboot mode driver
3 This driver gets reboot mode magic value form reboot-mode driver
4 and stores it in a SYSCON mapped register. Then the bootloader
5 can read it and take different action according to the magic
8 This DT node should be represented as a sub-node of a "syscon", "simple-mfd"
12 - compatible: should be "syscon-reboot-mode"
13 - offset: offset in the register map for the storage register (in bytes)
16 - mask: bits mask of the bits in the register to store the reboot mode magic value,
17 default set to 0xffffffff if missing.
19 The rest of the properties should follow the generic reboot-mode description
20 found in reboot-mode.txt
24 compatible = "rockchip,rk3066-pmu", "syscon", "simple-mfd";
25 reg = <0x20004000 0x100>;
28 compatible = "syscon-reboot-mode";
30 mode-normal = <BOOT_NORMAL>;
31 mode-recovery = <BOOT_RECOVERY>;
32 mode-bootloader = <BOOT_FASTBOOT>;
33 mode-loader = <BOOT_BL_DOWNLOAD>;