xref: /freebsd/sys/contrib/device-tree/Bindings/hwlock/qcom-hwspinlock.yaml (revision 6be3386466ab79a84b48429ae66244f21526d3df)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/hwlock/qcom-hwspinlock.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm Hardware Mutex Block
8
9maintainers:
10  - Bjorn Andersson <bjorn.andersson@linaro.org>
11
12description:
13  The hardware block provides mutexes utilized between different processors on
14  the SoC as part of the communication protocol used by these processors.
15
16properties:
17  compatible:
18    enum:
19      - qcom,sfpb-mutex
20      - qcom,tcsr-mutex
21
22  reg:
23    maxItems: 1
24
25  '#hwlock-cells':
26    const: 1
27
28required:
29  - compatible
30  - reg
31  - '#hwlock-cells'
32
33additionalProperties: false
34
35examples:
36  - |
37        tcsr_mutex: hwlock@1f40000 {
38                compatible = "qcom,tcsr-mutex";
39                reg = <0x01f40000 0x40000>;
40                #hwlock-cells = <1>;
41        };
42...
43