1 QorIQ DPAA Queue Manager Device Tree Binding
3 Copyright (C) 2008 - 2014 Freescale Semiconductor Inc.
8 - QMan Private Memory Nodes
13 The Queue Manager is part of the Data-Path Acceleration Architecture (DPAA). QMan
14 supports queuing and QoS scheduling of frames to CPUs, network interfaces and
15 DPAA logic modules, maintains packet ordering within flows. Besides providing
16 flow-level queuing, is also responsible for congestion management functions such
17 as RED/WRED, congestion notifications and tail discards. This binding covers the
18 CCSR space programming model
24 Value type: <stringlist>
25 Definition: Must include "fsl,qman"
26 May include "fsl,<SoC>-qman"
30 Value type: <prop-encoded-array>
31 Definition: Registers region within the CCSR address space
33 The QMan revision information is located in the QMAN_IP_REV_1/2 registers which
34 are located at offsets 0xbf8 and 0xbfc
38 Value type: <prop-encoded-array>
39 Definition: Standard property. The error interrupt
44 Definition: Phandle to this QMan instance's portals
48 Value type: <prop-encoded-array>
49 Definition: PAMU property used for static LIODN assignment
54 Definition: PAMU property used for dynamic LIODN assignment
56 For additional details about the PAMU/LIODN binding(s) see pamu.txt
59 Usage: See clock-bindings.txt and qoriq-clock.txt
60 Value type: <prop-encoded-array>
61 Definition: Reference input clock. Its frequency is half of the
64 Usage: Required for ARM
65 Value type: <phandle array>
66 Definition: List of phandles referencing the QMan private memory
67 nodes (described below). The qman-fqd node must be
68 first followed by qman-pfdr node. Only used on ARM
70 Devices connected to a QMan instance via Direct Connect Portals (DCP) must link
71 to the respective QMan instance
75 Value type: <prop-encoded-array>
76 Description: List of phandle and DCP index pairs, to the QMan instance
77 to which this device is connected via the DCP
79 QMan Private Memory Nodes
81 QMan requires two contiguous range of physical memory used for the backing store
82 for QMan Frame Queue Descriptor (FQD) and Packed Frame Descriptor Record (PFDR).
83 This memory is reserved/allocated as a node under the /reserved-memory node.
85 For additional details about reserved memory regions see reserved-memory.txt
87 The QMan FQD memory node must be named "qman-fqd"
93 Value type: <stringlist>
94 Definition: PPC platforms: Must include "fsl,qman-fqd"
95 ARM platforms: Must include "shared-dma-pool"
96 as well as the "no-map" property
98 The QMan PFDR memory node must be named "qman-pfdr"
104 Value type: <stringlist>
105 Definition: PPC platforms: Must include "fsl,qman-pfdr"
106 ARM platforms: Must include "shared-dma-pool"
107 as well as the "no-map" property
109 The following constraints are relevant to the FQD and PFDR private memory:
110 - The size must be 2^(size + 1), with size = 11..29. That is 4 KiB to
112 - The alignment must be a muliptle of the memory size
114 The size of the FQD and PFDP must be chosen by observing the hardware features
115 configured via the Reset Configuration Word (RCW) and that are relevant to a
116 specific board (e.g. number of MAC(s) pinned-out, number of offline/host command
117 FMan ports, etc.). The size configured in the DT must reflect the hardware
118 capabilities and not the specific needs of an application
120 For additional details about reserved memory regions see reserved-memory.txt
124 The example below shows a QMan FQD and a PFDR dynamic allocation memory nodes
127 #address-cells = <2>;
132 compatible = "shared-dma-pool";
134 alignment = <0 0x400000>;
137 qman_pfdr: qman-pfdr {
138 compatible = "shared-dma-pool";
139 size = <0 0x2000000>;
140 alignment = <0 0x2000000>;
145 The example below shows a (P4080) QMan CCSR-space node
147 qportals: qman-portals@ff4200000 {
151 clockgen: global-utilities@e1000 {
157 platform_pll: platform-pll@c00 {
160 compatible = "fsl,qoriq-platform-pll-1.0";
162 clock-output-names = "platform-pll", "platform-pll-div2";
169 fsl,qman = <&qman, 2>;
174 compatible = "fsl,qman";
175 reg = <0x318000 0x1000>;
176 interrupts = <16 2 1 3>
178 fsl,qman-portals = <&qportals>;
179 memory-region = <&qman_fqd &qman_pfdr>;
180 clocks = <&platform_pll 1>;
185 fsl,qman = <&qman, 0>;