Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | Zodiac Inflight Innovations RAVE Supervisory Processor Watchdog Bindings |
| 2 | |
| 3 | RAVE SP watchdog device is a "MFD cell" device corresponding to |
| 4 | watchdog functionality of RAVE Supervisory Processor. It is expected |
| 5 | that its Device Tree node is specified as a child of the node |
| 6 | corresponding to the parent RAVE SP device (as documented in |
| 7 | Documentation/devicetree/bindings/mfd/zii,rave-sp.txt) |
| 8 | |
| 9 | Required properties: |
| 10 | |
| 11 | - compatible: Depending on wire protocol implemented by RAVE SP |
| 12 | firmware, should be one of: |
| 13 | - "zii,rave-sp-watchdog" |
| 14 | - "zii,rave-sp-watchdog-legacy" |
| 15 | |
| 16 | Optional properties: |
| 17 | |
| 18 | - wdt-timeout: Two byte nvmem cell specified as per |
| 19 | Documentation/devicetree/bindings/nvmem/nvmem.txt |
| 20 | |
| 21 | Example: |
| 22 | |
| 23 | rave-sp { |
| 24 | compatible = "zii,rave-sp-rdu1"; |
| 25 | current-speed = <38400>; |
| 26 | |
| 27 | eeprom { |
| 28 | wdt_timeout: wdt-timeout@8E { |
| 29 | reg = <0x8E 2>; |
| 30 | }; |
| 31 | }; |
| 32 | |
| 33 | watchdog { |
| 34 | compatible = "zii,rave-sp-watchdog"; |
| 35 | nvmem-cells = <&wdt_timeout>; |
| 36 | nvmem-cell-names = "wdt-timeout"; |
| 37 | }; |
| 38 | } |
| 39 | |