Commit d93f191b authored by MD Danish Anwar's avatar MD Danish Anwar Committed by Bjorn Andersson

dt-bindings: remoteproc: pru: Add Interrupt property

Add interrupts and interrupt-names protperties for PRU and RTU cores.
Signed-off-by: default avatarMD Danish Anwar <danishanwar@ti.com>
Reviewed-by: default avatarConor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20230814095141.3526684-1-danishanwar@ti.comSigned-off-by: default avatarBjorn Andersson <andersson@kernel.org>
parent 8de60bba
...@@ -66,6 +66,17 @@ properties: ...@@ -66,6 +66,17 @@ properties:
Should contain the name of the default firmware image Should contain the name of the default firmware image
file located on the firmware search path. file located on the firmware search path.
interrupts:
maxItems: 1
description:
Interrupt specifiers enable the virtio/rpmsg communication between MPU
and the PRU/RTU cores. For the values of the interrupt cells please refer
to interrupt-controller/ti,pruss-intc.yaml schema.
interrupt-names:
items:
- const: vring
if: if:
properties: properties:
compatible: compatible:
...@@ -171,6 +182,9 @@ examples: ...@@ -171,6 +182,9 @@ examples:
<0x22400 0x100>; <0x22400 0x100>;
reg-names = "iram", "control", "debug"; reg-names = "iram", "control", "debug";
firmware-name = "am65x-pru0_0-fw"; firmware-name = "am65x-pru0_0-fw";
interrupt-parent = <&icssg0_intc>;
interrupts = <16 2 2>;
interrupt-names = "vring";
}; };
rtu0_0: rtu@4000 { rtu0_0: rtu@4000 {
...@@ -180,6 +194,9 @@ examples: ...@@ -180,6 +194,9 @@ examples:
<0x23400 0x100>; <0x23400 0x100>;
reg-names = "iram", "control", "debug"; reg-names = "iram", "control", "debug";
firmware-name = "am65x-rtu0_0-fw"; firmware-name = "am65x-rtu0_0-fw";
interrupt-parent = <&icssg0_intc>;
interrupts = <20 4 4>;
interrupt-names = "vring";
}; };
tx_pru0_0: txpru@a000 { tx_pru0_0: txpru@a000 {
...@@ -198,6 +215,9 @@ examples: ...@@ -198,6 +215,9 @@ examples:
<0x24400 0x100>; <0x24400 0x100>;
reg-names = "iram", "control", "debug"; reg-names = "iram", "control", "debug";
firmware-name = "am65x-pru0_1-fw"; firmware-name = "am65x-pru0_1-fw";
interrupt-parent = <&icssg0_intc>;
interrupts = <18 3 3>;
interrupt-names = "vring";
}; };
rtu0_1: rtu@6000 { rtu0_1: rtu@6000 {
...@@ -207,6 +227,9 @@ examples: ...@@ -207,6 +227,9 @@ examples:
<0x23c00 0x100>; <0x23c00 0x100>;
reg-names = "iram", "control", "debug"; reg-names = "iram", "control", "debug";
firmware-name = "am65x-rtu0_1-fw"; firmware-name = "am65x-rtu0_1-fw";
interrupt-parent = <&icssg0_intc>;
interrupts = <22 5 5>;
interrupt-names = "vring";
}; };
tx_pru0_1: txpru@c000 { tx_pru0_1: txpru@c000 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment