1cfff96e6SJohannes ThumshirnBindings for MEN A21 Watchdog device connected to GPIO lines 2cfff96e6SJohannes Thumshirn 3cfff96e6SJohannes ThumshirnRequired properties: 4cfff96e6SJohannes Thumshirn- compatible: "men,a021-wdt" 5cfff96e6SJohannes Thumshirn- gpios: Specifies the pins that control the Watchdog, order: 6cfff96e6SJohannes Thumshirn 1: Watchdog enable 7cfff96e6SJohannes Thumshirn 2: Watchdog fast-mode 8cfff96e6SJohannes Thumshirn 3: Watchdog trigger 9cfff96e6SJohannes Thumshirn 4: Watchdog reset cause bit 0 10cfff96e6SJohannes Thumshirn 5: Watchdog reset cause bit 1 11cfff96e6SJohannes Thumshirn 6: Watchdog reset cause bit 2 12cfff96e6SJohannes Thumshirn 13cfff96e6SJohannes ThumshirnOptional properties: 14cfff96e6SJohannes Thumshirn- None 15cfff96e6SJohannes Thumshirn 16cfff96e6SJohannes ThumshirnExample: 17cfff96e6SJohannes Thumshirn watchdog { 18cfff96e6SJohannes Thumshirn compatible ="men,a021-wdt"; 19cfff96e6SJohannes Thumshirn gpios = <&gpio3 9 1 /* WD_EN */ 20cfff96e6SJohannes Thumshirn &gpio3 10 1 /* WD_FAST */ 21cfff96e6SJohannes Thumshirn &gpio3 11 1 /* WD_TRIG */ 22cfff96e6SJohannes Thumshirn &gpio3 6 1 /* RST_CAUSE[0] */ 23cfff96e6SJohannes Thumshirn &gpio3 7 1 /* RST_CAUSE[1] */ 24cfff96e6SJohannes Thumshirn &gpio3 8 1>; /* RST_CAUSE[2] */ 25cfff96e6SJohannes Thumshirn }; 26