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
7title: Qualcomm Krait Processor Sub-system (KPSS) Watchdog timer
8
9maintainers:
10  - Sai Prakash Ranjan <saiprakash.ranjan@codeaurora.org>
11
12allOf:
13  - $ref: watchdog.yaml#
14
15properties:
16  compatible:
17    oneOf:
18      - items:
19          - enum:
20              - qcom,kpss-wdt-ipq4019
21              - qcom,apss-wdt-msm8994
22              - qcom,apss-wdt-qcs404
23              - qcom,apss-wdt-sc7180
24              - qcom,apss-wdt-sc7280
25              - qcom,apss-wdt-sc8180x
26              - qcom,apss-wdt-sc8280xp
27              - qcom,apss-wdt-sdm845
28              - qcom,apss-wdt-sdx55
29              - qcom,apss-wdt-sdx65
30              - qcom,apss-wdt-sm6350
31              - qcom,apss-wdt-sm8150
32              - qcom,apss-wdt-sm8250
33          - const: qcom,kpss-wdt
34      - const: qcom,kpss-wdt
35        deprecated: true
36      - items:
37          - const: qcom,scss-timer
38          - const: qcom,msm-timer
39      - items:
40          - enum:
41              - qcom,kpss-wdt-apq8064
42              - qcom,kpss-wdt-ipq8064
43              - qcom,kpss-wdt-msm8960
44          - const: qcom,kpss-timer
45          - const: qcom,msm-timer
46
47  reg:
48    maxItems: 1
49
50  clocks:
51    maxItems: 1
52
53required:
54  - compatible
55  - reg
56  - clocks
57
58unevaluatedProperties: false
59
60examples:
61  - |
62    #include <dt-bindings/interrupt-controller/arm-gic.h>
63
64    watchdog@17c10000 {
65      compatible = "qcom,apss-wdt-sm8150", "qcom,kpss-wdt";
66      reg = <0x17c10000 0x1000>;
67      clocks = <&sleep_clk>;
68      timeout-sec = <10>;
69    };
70