qcom,adm.yaml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/dma/qcom,adm.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Qualcomm ADM DMA Controller
  7. maintainers:
  8. - Christian Marangi <ansuelsmth@gmail.com>
  9. - Bjorn Andersson <bjorn.andersson@linaro.org>
  10. description: |
  11. QCOM ADM DMA controller provides DMA capabilities for
  12. peripheral buses such as NAND and SPI.
  13. properties:
  14. compatible:
  15. const: qcom,adm
  16. reg:
  17. maxItems: 1
  18. interrupts:
  19. maxItems: 1
  20. "#dma-cells":
  21. const: 1
  22. clocks:
  23. items:
  24. - description: phandle to the core clock
  25. - description: phandle to the iface clock
  26. clock-names:
  27. items:
  28. - const: core
  29. - const: iface
  30. resets:
  31. items:
  32. - description: phandle to the clk reset
  33. - description: phandle to the pbus reset
  34. - description: phandle to the c0 reset
  35. - description: phandle to the c1 reset
  36. - description: phandle to the c2 reset
  37. reset-names:
  38. items:
  39. - const: clk
  40. - const: pbus
  41. - const: c0
  42. - const: c1
  43. - const: c2
  44. qcom,ee:
  45. $ref: /schemas/types.yaml#/definitions/uint32
  46. description: indicates the security domain identifier used in the secure world.
  47. minimum: 0
  48. maximum: 255
  49. required:
  50. - compatible
  51. - reg
  52. - interrupts
  53. - "#dma-cells"
  54. - clocks
  55. - clock-names
  56. - resets
  57. - reset-names
  58. - qcom,ee
  59. additionalProperties: false
  60. examples:
  61. - |
  62. #include <dt-bindings/clock/qcom,gcc-ipq806x.h>
  63. #include <dt-bindings/reset/qcom,gcc-ipq806x.h>
  64. adm_dma: dma-controller@18300000 {
  65. compatible = "qcom,adm";
  66. reg = <0x18300000 0x100000>;
  67. interrupts = <0 170 0>;
  68. #dma-cells = <1>;
  69. clocks = <&gcc ADM0_CLK>,
  70. <&gcc ADM0_PBUS_CLK>;
  71. clock-names = "core", "iface";
  72. resets = <&gcc ADM0_RESET>,
  73. <&gcc ADM0_PBUS_RESET>,
  74. <&gcc ADM0_C0_RESET>,
  75. <&gcc ADM0_C1_RESET>,
  76. <&gcc ADM0_C2_RESET>;
  77. reset-names = "clk", "pbus", "c0", "c1", "c2";
  78. qcom,ee = <0>;
  79. };
  80. ...