1 # SPDX-License-Identifier: (GPL-2.0-only or BSD-2-Clause)
4 $id: http://devicetree.org/schemas/remoteproc/ti,pru-rproc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: TI Programmable Realtime Unit (PRU) cores
10 - Suman Anna <s-anna@ti.com>
13 Each Programmable Real-Time Unit and Industrial Communication Subsystem
14 (PRU-ICSS or PRUSS) has two 32-bit load/store RISC CPU cores called
15 Programmable Real-Time Units (PRUs), each represented by a node. Each PRU
16 core has a dedicated Instruction RAM, Control and Debug register sets, and
17 use the Data RAMs present within the PRU-ICSS for code execution.
19 The K3 SoCs containing ICSSG v1.0 (eg: AM65x SR1.0) also have two Auxiliary
20 PRU cores called RTUs with slightly different IP integration. The K3 SoCs
21 containing the revised ICSSG v1.1 (eg: J721E, AM65x SR2.0) have an extra two
22 auxiliary Transmit PRU cores called Tx_PRUs that augment the PRUs. Each RTU
23 or Tx_PRU core can also be used independently like a PRU, or alongside a
24 corresponding PRU core to provide/implement auxiliary functionality/support.
26 Each PRU, RTU or Tx_PRU core node should be defined as a child node of the
27 corresponding PRU-ICSS node. Each node can optionally be rendered inactive by
28 using the standard DT string property, "status".
30 Please see the overall PRU-ICSS bindings document for additional details
31 including a complete example,
32 Documentation/devicetree/bindings/soc/ti/ti,pruss.yaml
37 - ti,am3356-pru # for AM335x SoC family (AM3356+ SoCs only)
38 - ti,am4376-pru # for AM437x SoC family (AM4376+ SoCs only)
39 - ti,am642-pru # for PRUs in K3 AM64x SoC family
40 - ti,am642-rtu # for RTUs in K3 AM64x SoC family
41 - ti,am642-tx-pru # for Tx_PRUs in K3 AM64x SoC family
42 - ti,am5728-pru # for AM57xx SoC family
43 - ti,k2g-pru # for 66AK2G SoC family
44 - ti,am654-pru # for PRUs in K3 AM65x SoC family
45 - ti,am654-rtu # for RTUs in K3 AM65x SoC family
46 - ti,am654-tx-pru # for Tx_PRUs in K3 AM65x SR2.0 SoCs
47 - ti,j721e-pru # for PRUs in K3 J721E SoC family
48 - ti,j721e-rtu # for RTUs in K3 J721E SoC family
49 - ti,j721e-tx-pru # for Tx_PRUs in K3 J721E SoC family
53 - description: Address and Size of the PRU Instruction RAM
54 - description: Address and Size of the PRU CTRL sub-module registers
55 - description: Address and Size of the PRU Debug sub-module registers
65 Should contain the name of the default firmware image
66 file located on the firmware search path.
78 pattern: "^rtu@[0-9a-f]+$"
90 pattern: "^txpru@[0-9a-f]+"
94 pattern: "^pru@[0-9a-f]+$"
102 additionalProperties: false
106 /* AM33xx PRU-ICSS */
107 pruss_tm: target-module@300000 { /* 0x4a300000, ap 9 04.0 */
108 compatible = "ti,sysc-pruss", "ti,sysc";
109 #address-cells = <1>;
111 ranges = <0x0 0x300000 0x80000>;
114 compatible = "ti,am3356-pruss";
116 #address-cells = <1>;
120 pruss_mem: memories@0 {
124 reg-names = "dram0", "dram1", "shrdram2";
128 compatible = "ti,am3356-pru";
129 reg = <0x34000 0x2000>,
132 reg-names = "iram", "control", "debug";
133 firmware-name = "am335x-pru0-fw";
137 compatible = "ti,am3356-pru";
138 reg = <0x38000 0x2000>,
141 reg-names = "iram", "control", "debug";
142 firmware-name = "am335x-pru1-fw";
148 /* AM65x SR2.0 ICSSG */
149 #include <dt-bindings/soc/ti,sci_pm_domain.h>
151 icssg0: icssg@b000000 {
152 compatible = "ti,am654-icssg";
153 reg = <0xb000000 0x80000>;
154 power-domains = <&k3_pds 62 TI_SCI_PD_EXCLUSIVE>;
155 #address-cells = <1>;
157 ranges = <0x0 0xb000000 0x80000>;
159 icssg0_mem: memories@0 {
163 reg-names = "dram0", "dram1", "shrdram2";
167 compatible = "ti,am654-pru";
168 reg = <0x34000 0x4000>,
171 reg-names = "iram", "control", "debug";
172 firmware-name = "am65x-pru0_0-fw";
176 compatible = "ti,am654-rtu";
177 reg = <0x4000 0x2000>,
180 reg-names = "iram", "control", "debug";
181 firmware-name = "am65x-rtu0_0-fw";
184 tx_pru0_0: txpru@a000 {
185 compatible = "ti,am654-tx-pru";
186 reg = <0xa000 0x1800>,
189 reg-names = "iram", "control", "debug";
190 firmware-name = "am65x-txpru0_0-fw";
194 compatible = "ti,am654-pru";
195 reg = <0x38000 0x4000>,
198 reg-names = "iram", "control", "debug";
199 firmware-name = "am65x-pru0_1-fw";
203 compatible = "ti,am654-rtu";
204 reg = <0x6000 0x2000>,
207 reg-names = "iram", "control", "debug";
208 firmware-name = "am65x-rtu0_1-fw";
211 tx_pru0_1: txpru@c000 {
212 compatible = "ti,am654-tx-pru";
213 reg = <0xc000 0x1800>,
216 reg-names = "iram", "control", "debug";
217 firmware-name = "am65x-txpru0_1-fw";