mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 02:58:57 +07:00
2b77f0083a
By following best practice described in Documentation/watchdog/watchdog-kernel-api.txt, it also let us to set timout-sec property in devicetree. Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
25 lines
817 B
Plaintext
25 lines
817 B
Plaintext
* Freescale i.MX Watchdog Timer (WDT) Controller
|
|
|
|
Required properties:
|
|
- compatible : Should be "fsl,<soc>-wdt"
|
|
- reg : Should contain WDT registers location and length
|
|
- interrupts : Should contain WDT interrupt
|
|
|
|
Optional properties:
|
|
- big-endian: If present the watchdog device's registers are implemented
|
|
in big endian mode, otherwise in native mode(same with CPU), for more
|
|
detail please see: Documentation/devicetree/bindings/regmap/regmap.txt.
|
|
- fsl,ext-reset-output: If present the watchdog device is configured to
|
|
assert its external reset (WDOG_B) instead of issuing a software reset.
|
|
- timeout-sec : Contains the watchdog timeout in seconds
|
|
|
|
Examples:
|
|
|
|
wdt@73f98000 {
|
|
compatible = "fsl,imx51-wdt", "fsl,imx21-wdt";
|
|
reg = <0x73f98000 0x4000>;
|
|
interrupts = <58>;
|
|
big-endian;
|
|
timeout-sec = <20>;
|
|
};
|