Forum Discussion
Device Tree (.dts) files
- 2 years ago
Hi greenlantern01,
For existing components added into your FPGA design, you will need to consider some settings indication in the device tree. Example for 3-wire spi added into the device tree node, it should indicate the specific connected address in your system design which can be viewed from quartus platform designer. Besides that, the driver being used for that particular component, referring to the compatible part of the device tree node. Other than that will be the normal settings for the IP itself.
Example:
https://www.intel.com/content/www/us/en/support/programmable/articles/000086095.html
You will need to target the specific component in your design in order to consider how the device tree node should be set accordingly. Each component device tree node settings can be very different and is also application specific. Recommend to find reference from other related working projects or the documentation for a particular ip may mentioned how it's ip device tree can be set.
Thanks.
Regards,
Aik Eu
Hi greenlantern01,
May I know which component which you intend to add or removed?
some component need to be defined in the device tree for it to work in uboot or linux kernel. Some of the components for HPS side and some for FPGA side.
Example for Cyclone V Uboot, the device tree has considered some of the components:
https://github.com/altera-opensource/u-boot-socfpga/blob/socfpga_v2023.10/arch/arm/dts/socfpga.dtsi
Thanks.
Regards,
Aik Eu
Hello,
I have HPS, On-Chip Memory, Modular Scatter Gather DMA, SPI (3 wire serial) and "System and SDRAM Clocks for DE-Series Boards" components in my Qsys.
Thanks