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