xref: /freebsd/sys/contrib/device-tree/Bindings/watchdog/qcom-wdt.yaml (revision 7ef62cebc2f965b0f640263e179276928885e33d)
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,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
48required:
49  - compatible
50  - reg
51  - clocks
52
53unevaluatedProperties: false
54
55examples:
56  - |
57    watchdog@208a038 {
58      compatible = "qcom,kpss-wdt-ipq8064";
59      reg = <0x0208a038 0x40>;
60      clocks = <&sleep_clk>;
61      timeout-sec = <10>;
62    };
63