cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Visitor
Visitor
327 Views
Registered: ‎09-25-2018

Meaning "xlnx,ipi-id" property for device tree binding in ZynqMP IPI mailbox

Jump to solution

I'm trying to set up the inter-processor communication between the APU (running PetaLinux) and RPU0 for the Zynq UltraScale+.

I use the example in the documentation below to create a device tree fragment. But where can I find the "xlnx,ipi-id" for the APU and RPU0 IPI agents?

https://github.com/Xilinx/linux-xlnx/blob/master/Documentation/devicetree/bindings/mailbox/xlnx%2Czynqmp-ipi-mailbox.txt

Regards,

Joris

 

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Moderator
Moderator
280 Views
Registered: ‎05-10-2017

Please refer to UG1085, Chapter 13 - Interrupts

https://www.xilinx.com/support/documentation/user_guides/ug1085-zynq-ultrascale-trm.pdf

Figure 13-5 on page 322 shows the IPI channel assignments 

If you look at the node in the device-tree bindings that you are referring,

apu node has ipi-id of 0 which is the default channel assignment for apu and rpu-node has ipi-id set to 1

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------

View solution in original post

ipi.PNG
3 Replies
Highlighted
283 Views
Registered: ‎05-17-2018

Hi Joris,

You can find "xlnx,ipi-id" (Channel Number) in ZynqMPSOC TRM pg. 324. Also you can change channels in Vivado by configuring ZynqMPSOC in Advanced settings.

Highlighted
282 Views
Registered: ‎05-17-2018

Also Petalinux uses channel 0 for communication with PMU so I suggest you to use other channel for APU (Channels from 7 to 10 should be free if you have not changed ZynqMPSOC configuration in Vivado).

Highlighted
Moderator
Moderator
281 Views
Registered: ‎05-10-2017

Please refer to UG1085, Chapter 13 - Interrupts

https://www.xilinx.com/support/documentation/user_guides/ug1085-zynq-ultrascale-trm.pdf

Figure 13-5 on page 322 shows the IPI channel assignments 

If you look at the node in the device-tree bindings that you are referring,

apu node has ipi-id of 0 which is the default channel assignment for apu and rpu-node has ipi-id set to 1

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------

View solution in original post

ipi.PNG