Custom overlay for kv260 problem and question about device tree

Hi,

I just got a kv260 board and want to use pynq. I have confused about how to create a custom overlay, especially when I need to use IIC or SPI IP core. I realized that we need to create the device tree “dtsi” if we want to use IIC IP core, for example. Is it correct?
Is it mandatory to create a device tree for every custom overlay? Because in the internet tutorial, the custom overlay just requires bit, tcl, and hwh files.
How to create the device tree file if we want to create a custom overlay? is there any guide for that?
thank you very much.

best regards,
Muhammad

Hi,

Is it mandatory to create a device tree for every custom overlay?

If the device is not in the existing Linux device tree, then yes. Otherwise no.

How to create the device tree file if we want to create a custom overlay?

This is outside the scope of this forum. I suggest you check out exiting documentation (device tree overlays is generic to any embedded Linux) and post any questions you may have on the Xilinx forums.

Mario