1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/mfd/qcom,tcsr.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm Top Control and Status Register
8
9maintainers:
10  - Bjorn Andersson <bjorn.andersson@linaro.org>
11
12description:
13  Qualcomm devices have a set of registers that provide various control and
14  status functions for their peripherals.
15
16properties:
17  compatible:
18    oneOf:
19      - items:
20          - enum:
21              - qcom,tcsr-apq8064
22              - qcom,tcsr-apq8084
23              - qcom,tcsr-ipq8064
24              - qcom,tcsr-msm8660
25              - qcom,tcsr-msm8916
26              - qcom,tcsr-msm8953
27              - qcom,tcsr-msm8960
28              - qcom,tcsr-msm8974
29          - const: syscon
30      - items:
31          - const: qcom,tcsr-ipq6018
32          - const: syscon
33          - const: simple-mfd
34
35  reg:
36    maxItems: 1
37
38required:
39  - compatible
40  - reg
41
42additionalProperties: false
43
44examples:
45  - |
46    syscon@1a400000 {
47        compatible = "qcom,tcsr-msm8960", "syscon";
48        reg = <0x1a400000 0x100>;
49    };
50