Skip to content

Commit d93f191

Browse files
danish-tiandersson
authored andcommitted
dt-bindings: remoteproc: pru: Add Interrupt property
Add interrupts and interrupt-names protperties for PRU and RTU cores. Signed-off-by: MD Danish Anwar <danishanwar@ti.com> Reviewed-by: Conor Dooley <conor.dooley@microchip.com> Link: https://lore.kernel.org/r/20230814095141.3526684-1-danishanwar@ti.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>
1 parent 8de60bb commit d93f191

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

Documentation/devicetree/bindings/remoteproc/ti,pru-rproc.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,17 @@ properties:
6666
Should contain the name of the default firmware image
6767
file located on the firmware search path.
6868
69+
interrupts:
70+
maxItems: 1
71+
description:
72+
Interrupt specifiers enable the virtio/rpmsg communication between MPU
73+
and the PRU/RTU cores. For the values of the interrupt cells please refer
74+
to interrupt-controller/ti,pruss-intc.yaml schema.
75+
76+
interrupt-names:
77+
items:
78+
- const: vring
79+
6980
if:
7081
properties:
7182
compatible:
@@ -171,6 +182,9 @@ examples:
171182
<0x22400 0x100>;
172183
reg-names = "iram", "control", "debug";
173184
firmware-name = "am65x-pru0_0-fw";
185+
interrupt-parent = <&icssg0_intc>;
186+
interrupts = <16 2 2>;
187+
interrupt-names = "vring";
174188
};
175189
176190
rtu0_0: rtu@4000 {
@@ -180,6 +194,9 @@ examples:
180194
<0x23400 0x100>;
181195
reg-names = "iram", "control", "debug";
182196
firmware-name = "am65x-rtu0_0-fw";
197+
interrupt-parent = <&icssg0_intc>;
198+
interrupts = <20 4 4>;
199+
interrupt-names = "vring";
183200
};
184201
185202
tx_pru0_0: txpru@a000 {
@@ -198,6 +215,9 @@ examples:
198215
<0x24400 0x100>;
199216
reg-names = "iram", "control", "debug";
200217
firmware-name = "am65x-pru0_1-fw";
218+
interrupt-parent = <&icssg0_intc>;
219+
interrupts = <18 3 3>;
220+
interrupt-names = "vring";
201221
};
202222
203223
rtu0_1: rtu@6000 {
@@ -207,6 +227,9 @@ examples:
207227
<0x23c00 0x100>;
208228
reg-names = "iram", "control", "debug";
209229
firmware-name = "am65x-rtu0_1-fw";
230+
interrupt-parent = <&icssg0_intc>;
231+
interrupts = <22 5 5>;
232+
interrupt-names = "vring";
210233
};
211234
212235
tx_pru0_1: txpru@c000 {

0 commit comments

Comments
 (0)