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-mdm9615
44              - qcom,kpss-wdt-msm8960
45          - const: qcom,kpss-timer
46          - const: qcom,msm-timer
47
48  reg:
49    maxItems: 1
50
51  clocks:
52    maxItems: 1
53
54required:
55  - compatible
56  - reg
57  - clocks
58
59unevaluatedProperties: false
60
61examples:
62  - |
63    #include <dt-bindings/interrupt-controller/arm-gic.h>
64
65    watchdog@17c10000 {
66      compatible = "qcom,apss-wdt-sm8150", "qcom,kpss-wdt";
67      reg = <0x17c10000 0x1000>;
68      clocks = <&sleep_clk>;
69      timeout-sec = <10>;
70    };
71