mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-24 23:39:49 +07:00
463f96e0cd
Using the added infrastructure for handling SoC differences, this commit adds support for the watchdog controller available in Armada 370 and Armada XP SoCs. Also, and because the AXP clock initialization uses of_clk_get_by_name, this commit changes the orion clock initialization to use clk_get() and adds a proper clk_put() on the common exit/error paths. Reviewed-by: Guenter Roeck <linux@roeck-us.net> Tested-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Tested-by: Willy Tarreau <w@1wt.eu> Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com> Acked-by: Wim Van Sebroeck <wim@iguana.be> Tested-By: Jason Gunthorpe <jgunthorpe@obsidianresearch.com> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
27 lines
579 B
Plaintext
27 lines
579 B
Plaintext
* Marvell Orion Watchdog Time
|
|
|
|
Required Properties:
|
|
|
|
- Compatibility : "marvell,orion-wdt"
|
|
"marvell,armada-370-wdt"
|
|
"marvell,armada-xp-wdt"
|
|
|
|
- reg : Should contain two entries: first one with the
|
|
timer control address, second one with the
|
|
rstout enable address.
|
|
|
|
Optional properties:
|
|
|
|
- interrupts : Contains the IRQ for watchdog expiration
|
|
- timeout-sec : Contains the watchdog timeout in seconds
|
|
|
|
Example:
|
|
|
|
wdt@20300 {
|
|
compatible = "marvell,orion-wdt";
|
|
reg = <0x20300 0x28>, <0x20108 0x4>;
|
|
interrupts = <3>;
|
|
timeout-sec = <10>;
|
|
status = "okay";
|
|
};
|