cancel
Showing results for 
Search instead for 
Did you mean: 
278 Views
Registered: ‎09-18-2019

How do you edit a devicetree file to add axi slaves as nodes?

Jump to solution

I am programming a ZC706 eval board and when generating the boot image and kernel the devicetree does not include my axi slaves as nodes.  The slaves in question are 4 axi protocol converters.  What is the format for adding this type of node to the device tree?

I know I need to edit the system-user.dtsi file but this is my first time doing this and I do not know what I would actually need to add.

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Moderator
Moderator
196 Views
Registered: ‎11-09-2015

Re: How do you edit a devicetree file to add axi slaves as nodes?

Jump to solution

HI @stephen.lindeman 

Yes you need to use the system-user.dtsi file.

Then you need to refer to binding for the IP you are using to know the required property. But the way to write is exactly the same way as you would write any device tree file.

Maybe refer to the following video if you want to learn about device trees:

Device Tree for Dummies! - Thomas Petazzoni, Free Electrons

Regards


Florent
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**

View solution in original post

0 Kudos
2 Replies
Highlighted
Mentor
Mentor
270 Views
Registered: ‎06-16-2013

Re: How do you edit a devicetree file to add axi slaves as nodes?

Jump to solution

Hi @stephen.lindeman 

 

Do you use petalinux and create project by it ?

If yes, you already imported hdf file to generate device tree by it.

Don't need anything.

 

Best regards,

0 Kudos
Highlighted
Moderator
Moderator
197 Views
Registered: ‎11-09-2015

Re: How do you edit a devicetree file to add axi slaves as nodes?

Jump to solution

HI @stephen.lindeman 

Yes you need to use the system-user.dtsi file.

Then you need to refer to binding for the IP you are using to know the required property. But the way to write is exactly the same way as you would write any device tree file.

Maybe refer to the following video if you want to learn about device trees:

Device Tree for Dummies! - Thomas Petazzoni, Free Electrons

Regards


Florent
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**

View solution in original post

0 Kudos