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
43 Value type: <prop-encoded-array>
44 Definition: PAMU property used for static LIODN assignment
49 Definition: PAMU property used for dynamic LIODN assignment
51 For additional details about the PAMU/LIODN binding(s) see pamu.txt
54 Usage: See clock-bindings.txt and qoriq-clock.txt
55 Value type: <prop-encoded-array>
56 Definition: Reference input clock. Its frequency is half of the
59 Devices connected to a QMan instance via Direct Connect Portals (DCP) must link
60 to the respective QMan instance
64 Value type: <prop-encoded-array>
65 Description: List of phandle and DCP index pairs, to the QMan instance
66 to which this device is connected via the DCP
68 QMan Private Memory Nodes
70 QMan requires two contiguous range of physical memory used for the backing store
71 for QMan Frame Queue Descriptor (FQD) and Packed Frame Descriptor Record (PFDR).
72 This memory is reserved/allocated as a nodes under the /reserved-memory node
74 The QMan FQD memory node must be named "qman-fqd"
80 Value type: <stringlist>
81 Definition: Must inclide "fsl,qman-fqd"
83 The QMan PFDR memory node must be named "qman-pfdr"
89 Value type: <stringlist>
90 Definition: Must inclide "fsl,qman-pfdr"
92 The following constraints are relevant to the FQD and PFDR private memory:
93 - The size must be 2^(size + 1), with size = 11..29. That is 4 KiB to
95 - The alignment must be a muliptle of the memory size
97 The size of the FQD and PFDP must be chosen by observing the hardware features
98 configured via the Reset Configuration Word (RCW) and that are relevant to a
99 specific board (e.g. number of MAC(s) pinned-out, number of offline/host command
100 FMan ports, etc.). The size configured in the DT must reflect the hardware
101 capabilities and not the specific needs of an application
103 For additional details about reserved memory regions see reserved-memory.txt
107 The example below shows a QMan FQD and a PFDR dynamic allocation memory nodes
110 #address-cells = <2>;
115 compatible = "fsl,qman-fqd";
116 alloc-ranges = <0 0 0xf 0xffffffff>;
118 alignment = <0 0x400000>;
120 qman_pfdr: qman-pfdr {
121 compatible = "fsl,qman-pfdr";
122 alloc-ranges = <0 0 0xf 0xffffffff>;
123 size = <0 0x2000000>;
124 alignment = <0 0x2000000>;
128 The example below shows a (P4080) QMan CCSR-space node
130 clockgen: global-utilities@e1000 {
136 platform_pll: platform-pll@c00 {
139 compatible = "fsl,qoriq-platform-pll-1.0";
141 clock-output-names = "platform-pll", "platform-pll-div2";
148 fsl,qman = <&qman, 2>;
153 compatible = "fsl,qman";
154 reg = <0x318000 0x1000>;
155 interrupts = <16 2 1 3>
157 memory-region = <&qman_fqd &qman_pfdr>;
158 clocks = <&platform_pll 1>;
163 fsl,qman = <&qman, 0>;