qcom-hwspinlock.yaml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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. title: Qualcomm Hardware Mutex Block
  7. maintainers:
  8. - Bjorn Andersson <bjorn.andersson@linaro.org>
  9. description:
  10. The hardware block provides mutexes utilized between different processors on
  11. the SoC as part of the communication protocol used by these processors.
  12. properties:
  13. compatible:
  14. oneOf:
  15. - enum:
  16. - qcom,sfpb-mutex
  17. - qcom,tcsr-mutex
  18. - items:
  19. - enum:
  20. - qcom,apq8084-tcsr-mutex
  21. - qcom,ipq6018-tcsr-mutex
  22. - qcom,msm8226-tcsr-mutex
  23. - qcom,msm8994-tcsr-mutex
  24. - const: qcom,tcsr-mutex
  25. - items:
  26. - enum:
  27. - qcom,msm8974-tcsr-mutex
  28. - const: qcom,tcsr-mutex
  29. - const: syscon
  30. reg:
  31. maxItems: 1
  32. '#hwlock-cells':
  33. const: 1
  34. required:
  35. - compatible
  36. - reg
  37. - '#hwlock-cells'
  38. additionalProperties: false
  39. examples:
  40. - |
  41. hwlock@1f40000 {
  42. compatible = "qcom,tcsr-mutex";
  43. reg = <0x01f40000 0x40000>;
  44. #hwlock-cells = <1>;
  45. };
  46. ...