Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 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 | |
| 7 | title: Qualcomm Hardware Mutex Block |
| 8 | |
| 9 | maintainers: |
| 10 | - Bjorn Andersson <bjorn.andersson@linaro.org> |
| 11 | |
| 12 | description: |
| 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 | |
| 16 | properties: |
| 17 | compatible: |
| 18 | oneOf: |
| 19 | - enum: |
| 20 | - qcom,sfpb-mutex |
| 21 | - qcom,tcsr-mutex |
| 22 | - items: |
| 23 | - enum: |
| 24 | - qcom,apq8084-tcsr-mutex |
| 25 | - qcom,ipq6018-tcsr-mutex |
| 26 | - qcom,msm8226-tcsr-mutex |
| 27 | - qcom,msm8994-tcsr-mutex |
| 28 | - const: qcom,tcsr-mutex |
| 29 | - items: |
| 30 | - enum: |
| 31 | - qcom,msm8974-tcsr-mutex |
| 32 | - const: qcom,tcsr-mutex |
| 33 | - const: syscon |
| 34 | |
| 35 | reg: |
| 36 | maxItems: 1 |
| 37 | |
| 38 | '#hwlock-cells': |
| 39 | const: 1 |
| 40 | |
| 41 | required: |
| 42 | - compatible |
| 43 | - reg |
| 44 | - '#hwlock-cells' |
| 45 | |
| 46 | additionalProperties: false |
| 47 | |
| 48 | examples: |
| 49 | - | |
| 50 | hwlock@1f40000 { |
| 51 | compatible = "qcom,tcsr-mutex"; |
| 52 | reg = <0x01f40000 0x40000>; |
| 53 | #hwlock-cells = <1>; |
| 54 | }; |
| 55 | ... |