1# Copyright (c) 2023, Prevas A/S 2 3description: Watchdog driver for external IC (TPS382x) 4 5compatible: "ti,tps382x" 6 7include: base.yaml 8 9properties: 10 wdi-gpios: 11 type: phandle-array 12 required: true 13 description: 14 WDI gpio. If WDI remains high or low longer than the timeout period, 15 then reset is triggered. The reset has a typical delay time of 200 ms for 16 TPS3823/4/8, TPS3823A. The timer clears when reset is asserted or 17 when WDI sees a rising edge or a falling edge. If unused, the WDI 18 connection must be high impedance to prevent it from causing a reset 19 event. 20 21 timeout-period: 22 type: int 23 default: 1600 24 description: 25 Time-out period in milliseconds. Typical for TPS3823/4/8 and TPS3823A is 26 1.6 seconds but minimum is 0.9. To avoid false positive watchdog reset 27 the watchdog should be kicked within the minimum timeout period. The kick 28 interval also needs to compensate for MCU clock tolerances which means it 29 should be kicked with an interval less than 0.9 seconds. If this device 30 is used as fallback for the task watchdog this can be achieved by setting 31 e.g. TASK_WDT_MIN_TIMEOUT to 850 and TASK_WDT_HW_FALLBACK_DELAY to 750. 32