1 * Freescale QUICC Engine module (QE)
2 This represents qe module that is installed on PowerQUICC II Pro.
4 NOTE: This is an interim binding; it should be updated to fit
5 in with the CPM binding later in this document.
7 Basically, it is a bus of devices, that could act more or less
8 as a complete entity (UCC, USB etc ). All of them should be siblings on
9 the "root" qe node, using the common properties from there.
10 The description below applies to the qe of MPC8360 and
11 more nodes and properties would be extended in the future.
16 - compatible : should be "fsl,qe";
17 - model : precise model of the QE, Can be "QE", "CPM", or "CPM2"
18 - reg : offset and length of the device registers.
19 - bus-frequency : the clock frequency for QUICC Engine.
20 - fsl,qe-num-riscs: define how many RISC engines the QE has.
21 - fsl,qe-snums: This property has to be specified as '/bits/ 8' value,
22 defining the array of serial number (SNUM) values for the virtual
26 - fsl,firmware-phandle:
27 Usage: required only if there is no fsl,qe-firmware child node
29 Definition: Points to a firmware node (see "QE Firmware Node" below)
30 that contains the firmware that should be uploaded for this QE.
31 The compatible property for the firmware node should say,
34 Recommended properties
35 - brg-frequency : the internal clock source frequency for baud-rate
39 - fsl,qe-num-snums: define how many serial number(SNUM) the QE can use
40 for the threads. Use fsl,qe-snums instead to not only specify the
41 number of snums, but also their values.
47 #interrupt-cells = <2>;
48 compatible = "fsl,qe";
49 ranges = <0 e0100000 00100000>;
52 bus-frequency = <179A7B00>;
53 fsl,qe-snums = /bits/ 8 <
54 0x04 0x05 0x0C 0x0D 0x14 0x15 0x1C 0x1D
55 0x24 0x25 0x2C 0x2D 0x34 0x35 0x88 0x89
56 0x98 0x99 0xA8 0xA9 0xB8 0xB9 0xC8 0xC9
60 * Multi-User RAM (MURAM)
63 - compatible : should be "fsl,qe-muram", "fsl,cpm-muram".
64 - mode : the could be "host" or "slave".
65 - ranges : Should be defined as specified in 1) to describe the
66 translation of MURAM addresses.
67 - data-only : sub-node which defines the address area under MURAM
68 bus that can be allocated as data/parameter
73 compatible = "fsl,qe-muram", "fsl,cpm-muram";
74 ranges = <0 00010000 0000c000>;
77 compatible = "fsl,qe-muram-data",
83 * Interrupt Controller (IC)
86 - compatible : should be "fsl,qe-ic".
87 - reg : Address range of IC register set.
88 - interrupts : interrupts generated by the device.
89 - interrupt-controller : this device is a interrupt controller.
93 qeic: interrupt-controller@80 {
95 compatible = "fsl,qe-ic";
97 #interrupt-cells = <1>;
99 interrupts = <95 2 0 0 94 2 0 0>;
102 * Serial Interface Block (SI)
104 The SI manages the routing of eight TDM lines to the QE block serial drivers
105 , the MCC and the UCCs, for receive and transmit.
108 - compatible : must be "fsl,<chip>-qe-si". For t1040, must contain
110 - reg : Address range of SI register set.
115 compatible = "fsl,t1040-qe-si";
119 * Serial Interface Block RAM(SIRAM)
121 store the routing entries of SI
124 - compatible : should be "fsl,<chip>-qe-siram". For t1040, must contain
125 "fsl,t1040-qe-siram".
126 - reg : Address range of SI RAM.
131 compatible = "fsl,t1040-qe-siram";
132 reg = <0x1000 0x800>;
137 This node defines a firmware binary that is embedded in the device tree, for
138 the purpose of passing the firmware from bootloader to the kernel, or from
139 the hypervisor to the guest.
141 The firmware node itself contains the firmware binary contents, a compatible
142 property, and any firmware-specific properties. The node should be placed
143 inside a QE node that needs it. Doing so eliminates the need for a
144 fsl,firmware-phandle property. Other QE nodes that need the same firmware
145 should define an fsl,firmware-phandle property that points to the firmware node
146 in the first QE node.
148 The fsl,firmware property can be specified in the DTS (possibly using incbin)
149 or can be inserted by the boot loader at boot time.
155 Definition: A standard property. Specify a string that indicates what
156 kind of firmware it is. For QE, this should be "fsl,qe-firmware".
160 Value type: <prop-encoded-array>, encoded as an array of bytes
161 Definition: A standard property. This property contains the firmware
166 compatible = "fsl,qe";
167 qe_firmware:qe-firmware {
168 compatible = "fsl,qe-firmware";
169 fsl,firmware = [0x70 0xcd 0x00 0x00 0x01 0x46 0x45 ...];
175 compatible = "fsl,qe";
176 fsl,firmware-phandle = <&qe_firmware>;