mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 11:56:58 +07:00
f0d9d0f4b4
Commit 0dfd582e02
("watchdog: qcom: use timer devicetree
binding") moved to use the watchdog as a subset timer
register block. Some devices have the watchdog completely
standalone with slightly different register offsets as
well so let's account for the differences here.
The existing "kpss-standalone" compatible string doesn't
make it entirely clear exactly what the device is so
rename to "kpss-wdt" to reflect watchdog timer
functionality. Also update ipq4019 DTS with an SoC
specific compatible.
Signed-off-by: Matthew McClintock <mmcclint@codeaurora.org>
Signed-off-by: Thomas Pedersen <twp@codeaurora.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
29 lines
753 B
Plaintext
29 lines
753 B
Plaintext
Qualcomm Krait Processor Sub-system (KPSS) Watchdog
|
|
---------------------------------------------------
|
|
|
|
Required properties :
|
|
- compatible : shall contain only one of the following:
|
|
|
|
"qcom,kpss-wdt-msm8960"
|
|
"qcom,kpss-wdt-apq8064"
|
|
"qcom,kpss-wdt-ipq8064"
|
|
"qcom,kpss-wdt-ipq4019"
|
|
"qcom,kpss-timer"
|
|
"qcom,scss-timer"
|
|
"qcom,kpss-wdt"
|
|
|
|
- reg : shall contain base register location and length
|
|
- clocks : shall contain the input clock
|
|
|
|
Optional properties :
|
|
- timeout-sec : shall contain the default watchdog timeout in seconds,
|
|
if unset, the default timeout is 30 seconds
|
|
|
|
Example:
|
|
watchdog@208a038 {
|
|
compatible = "qcom,kpss-wdt-ipq8064";
|
|
reg = <0x0208a038 0x40>;
|
|
clocks = <&sleep_clk>;
|
|
timeout-sec = <10>;
|
|
};
|