Nandor Han | c74675b | 2021-06-10 16:56:45 +0300 | [diff] [blame] | 1 | RTC Reboot Mode Configuration |
| 2 | |
| 3 | Required 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 | |
| 9 | Optional 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 | |
| 13 | Example: |
| 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 | }; |