Hi @Amoon ,
The device tree generator tool(sopc2dts) is a very old tool and supports only the Linux kernel version targeted by the associated v18.0 or earlier GSRD. And the tool supports only Cyclone V, Arria V and Arria 10 HPS devices, not Agilex 7.
It is recommended to manage the Device Tree manually by using the Device Tree files provided by the kernel as a baseline, and by adding the FPGA IP and board information manually. Just like a normal Linux development flow.
If you are new to device tree, I'd to read this article once:
https://community.intel.com/t5/Intel-SoC-FPGA-Embedded/Investigating-Device-Trees/td-p/1610544
Regarding this question:
> is it mandatory to add some blocks in the .dts ?
It depends on what kernel driver you use in your design. Which hardware modules do you want to add? Maybe I can help you write the device tree node you should add.
Thanks,