fsl,qman.yaml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/soc/fsl/fsl,qman.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: QorIQ DPAA Queue Manager
  7. maintainers:
  8. - Frank Li <Frank.Li@nxp.com>
  9. description:
  10. The Queue Manager is part of the Data-Path Acceleration Architecture (DPAA). QMan
  11. supports queuing and QoS scheduling of frames to CPUs, network interfaces and
  12. DPAA logic modules, maintains packet ordering within flows. Besides providing
  13. flow-level queuing, is also responsible for congestion management functions such
  14. as RED/WRED, congestion notifications and tail discards. This binding covers the
  15. CCSR space programming model
  16. properties:
  17. compatible:
  18. oneOf:
  19. - const: fsl,qman
  20. - items:
  21. - enum:
  22. - fsl,ls1043a-qman
  23. - fsl,ls1046a-qman
  24. - const: fsl,qman
  25. reg:
  26. items:
  27. - description: |
  28. Registers region within the CCSR address space
  29. The QMan revision information is located in the QMAN_IP_REV_1/2
  30. registers which are located at offsets 0xbf8 and 0xbfc
  31. interrupts:
  32. items:
  33. - description: The error interrupt
  34. fsl,qman-portals:
  35. $ref: /schemas/types.yaml#/definitions/phandle
  36. description: ref fsl,qman-port.yaml
  37. fsl,liodn:
  38. $ref: /schemas/types.yaml#/definitions/uint32-array
  39. description:
  40. See pamu.txt, PAMU property used for static LIODN assignment
  41. fsl,iommu-parent:
  42. $ref: /schemas/types.yaml#/definitions/phandle
  43. description:
  44. See pamu.txt, PAMU property used for dynamic LIODN assignment
  45. clocks:
  46. maxItems: 1
  47. description:
  48. Reference input clock. Its frequency is half of the platform clock
  49. memory-region:
  50. maxItems: 2
  51. description:
  52. List of phandles referencing the QMan private memory nodes (described
  53. below). The qman-fqd node must be first followed by qman-pfdr node.
  54. Only used on ARM Devices connected to a QMan instance via Direct Connect
  55. Portals (DCP) must link to the respective QMan instance.
  56. fsl,qman:
  57. $ref: /schemas/types.yaml#/definitions/uint32-array
  58. description:
  59. List of phandle and DCP index pairs, to the QMan instance
  60. to which this device is connected via the DCP
  61. required:
  62. - compatible
  63. - reg
  64. - interrupts
  65. additionalProperties: false
  66. examples:
  67. - |
  68. #include <dt-bindings/interrupt-controller/irq.h>
  69. qman: qman@318000 {
  70. compatible = "fsl,qman";
  71. reg = <0x318000 0x1000>;
  72. interrupts = <16 IRQ_TYPE_EDGE_FALLING 1 3>;
  73. fsl,liodn = <0x16>;
  74. fsl,qman-portals = <&qportals>;
  75. memory-region = <&qman_fqd &qman_pfdr>;
  76. clocks = <&platform_pll 1>;
  77. };