GNU Linux-libre 6.1.90-gnu
[releases.git] / Documentation / devicetree / bindings / watchdog / qcom-wdt.yaml
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/watchdog/qcom-wdt.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Qualcomm Krait Processor Sub-system (KPSS) Watchdog timer
8
9 maintainers:
10   - Sai Prakash Ranjan <saiprakash.ranjan@codeaurora.org>
11
12 allOf:
13   - $ref: watchdog.yaml#
14
15 properties:
16   compatible:
17     oneOf:
18       - items:
19           - enum:
20               - qcom,apss-wdt-qcs404
21               - qcom,apss-wdt-sc7180
22               - qcom,apss-wdt-sc7280
23               - qcom,apss-wdt-sc8180x
24               - qcom,apss-wdt-sc8280xp
25               - qcom,apss-wdt-sdm845
26               - qcom,apss-wdt-sdx55
27               - qcom,apss-wdt-sdx65
28               - qcom,apss-wdt-sm6350
29               - qcom,apss-wdt-sm8150
30               - qcom,apss-wdt-sm8250
31           - const: qcom,kpss-wdt
32       - items:
33           - enum:
34               - qcom,kpss-wdt
35               - qcom,kpss-timer
36               - qcom,kpss-wdt-apq8064
37               - qcom,kpss-wdt-ipq4019
38               - qcom,kpss-wdt-ipq8064
39               - qcom,kpss-wdt-msm8960
40               - qcom,scss-timer
41
42   reg:
43     maxItems: 1
44
45   clocks:
46     maxItems: 1
47
48 required:
49   - compatible
50   - reg
51   - clocks
52
53 unevaluatedProperties: false
54
55 examples:
56   - |
57     watchdog@208a038 {
58       compatible = "qcom,kpss-wdt-ipq8064";
59       reg = <0x0208a038 0x40>;
60       clocks = <&sleep_clk>;
61       timeout-sec = <10>;
62     };