reboot-mode-rtc.txt 681 B

12345678910111213141516171819202122
  1. RTC Reboot Mode Configuration
  2. Required Properties:
  3. - compatible: must be "reboot-mode-rtc".
  4. - rtc: reference to the rtc device used.
  5. - reg: start register and the number of bytes used. Maximum 4 bytes supported.
  6. - modes: list of properties that define the modes and associated unique ids.
  7. Optional Properties:
  8. - u-boot,env-variable: used to save the reboot mode (default: reboot-mode).
  9. - big-endian: if the magic value is stored in big-endian. (default: false).
  10. Example:
  11. reboot-mode-rtc {
  12. compatible = "reboot-mode-rtc";
  13. rtc = <&rtc_0>;
  14. reg = <0x14 4>;
  15. u-boot,env-variable = "bootstatus";
  16. big-endian;
  17. modes-test = <0x21969147>;
  18. modes-download = <0x51939147>;
  19. };