162306a36Sopenharmony_ciAspeed Watchdog Timer 262306a36Sopenharmony_ci 362306a36Sopenharmony_ciRequired properties: 462306a36Sopenharmony_ci - compatible: must be one of: 562306a36Sopenharmony_ci - "aspeed,ast2400-wdt" 662306a36Sopenharmony_ci - "aspeed,ast2500-wdt" 762306a36Sopenharmony_ci - "aspeed,ast2600-wdt" 862306a36Sopenharmony_ci 962306a36Sopenharmony_ci - reg: physical base address of the controller and length of memory mapped 1062306a36Sopenharmony_ci region 1162306a36Sopenharmony_ci 1262306a36Sopenharmony_ciOptional properties: 1362306a36Sopenharmony_ci 1462306a36Sopenharmony_ci - aspeed,reset-type = "cpu|soc|system|none" 1562306a36Sopenharmony_ci 1662306a36Sopenharmony_ci Reset behavior - Whenever a timeout occurs the watchdog can be programmed 1762306a36Sopenharmony_ci to generate one of three different, mutually exclusive, types of resets. 1862306a36Sopenharmony_ci 1962306a36Sopenharmony_ci Type "none" can be specified to indicate that no resets are to be done. 2062306a36Sopenharmony_ci This is useful in situations where another watchdog engine on chip is 2162306a36Sopenharmony_ci to perform the reset. 2262306a36Sopenharmony_ci 2362306a36Sopenharmony_ci If 'aspeed,reset-type=' is not specified the default is to enable system 2462306a36Sopenharmony_ci reset. 2562306a36Sopenharmony_ci 2662306a36Sopenharmony_ci Reset types: 2762306a36Sopenharmony_ci 2862306a36Sopenharmony_ci - cpu: Reset CPU on watchdog timeout 2962306a36Sopenharmony_ci 3062306a36Sopenharmony_ci - soc: Reset 'System on Chip' on watchdog timeout 3162306a36Sopenharmony_ci 3262306a36Sopenharmony_ci - system: Reset system on watchdog timeout 3362306a36Sopenharmony_ci 3462306a36Sopenharmony_ci - none: No reset is performed on timeout. Assumes another watchdog 3562306a36Sopenharmony_ci engine is responsible for this. 3662306a36Sopenharmony_ci 3762306a36Sopenharmony_ci - aspeed,alt-boot: If property is present then boot from alternate block. 3862306a36Sopenharmony_ci - aspeed,external-signal: If property is present then signal is sent to 3962306a36Sopenharmony_ci external reset counter (only WDT1 and WDT2). If not 4062306a36Sopenharmony_ci specified no external signal is sent. 4162306a36Sopenharmony_ci - aspeed,ext-pulse-duration: External signal pulse duration in microseconds 4262306a36Sopenharmony_ci 4362306a36Sopenharmony_ciOptional properties for AST2500-compatible watchdogs: 4462306a36Sopenharmony_ci - aspeed,ext-push-pull: If aspeed,external-signal is present, set the pin's 4562306a36Sopenharmony_ci drive type to push-pull. The default is open-drain. 4662306a36Sopenharmony_ci - aspeed,ext-active-high: If aspeed,external-signal is present and and the pin 4762306a36Sopenharmony_ci is configured as push-pull, then set the pulse 4862306a36Sopenharmony_ci polarity to active-high. The default is active-low. 4962306a36Sopenharmony_ci 5062306a36Sopenharmony_ciExample: 5162306a36Sopenharmony_ci 5262306a36Sopenharmony_ci wdt1: watchdog@1e785000 { 5362306a36Sopenharmony_ci compatible = "aspeed,ast2400-wdt"; 5462306a36Sopenharmony_ci reg = <0x1e785000 0x1c>; 5562306a36Sopenharmony_ci aspeed,reset-type = "system"; 5662306a36Sopenharmony_ci aspeed,external-signal; 5762306a36Sopenharmony_ci }; 58