mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-23 20:53:53 +08:00
a4f741e3e1
Instead of (partly) open coding watchdog_init_timeout to determine the inital timeout use the core function that exists for exactly this purpose. As a side effect the "timeout-sec" device-tree property is recognized now (though currently unused in the omap device trees). Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
16 lines
370 B
Plaintext
16 lines
370 B
Plaintext
TI Watchdog Timer (WDT) Controller for OMAP
|
|
|
|
Required properties:
|
|
- compatible : "ti,omap3-wdt" for OMAP3 or "ti,omap4-wdt" for OMAP4
|
|
- ti,hwmods : Name of the hwmod associated to the WDT
|
|
|
|
Optional properties:
|
|
- timeout-sec : default watchdog timeout in seconds
|
|
|
|
Examples:
|
|
|
|
wdt2: wdt@4a314000 {
|
|
compatible = "ti,omap4-wdt", "ti,omap3-wdt";
|
|
ti,hwmods = "wd_timer2";
|
|
};
|