Where to find the SoC Devicetree .dts/.dtsi file for nRF Connect SDK Fundamentals Lesson 2 (section: SoC variant devicetree file)

Hiya,

I am currently going through the nRF Connect SDK Fundamentals Lesson 2 (section: SoC variant devicetree file)  and I am stuck. In the example given, it says: 

" Now, examine the SoC variant devicetree nrf52833_qiaa.dtsi available in the directory <install_path>\zephyr\dts\arm\nordic."

Im using the nrf54L15 so I assumed I would perhaps locate the dtsi file in the path given. I found the following DTSI files in the folder (hopefully you can see the image):

I checked the nrf54L_05_10_15_cpuapp.dtsi  and did not see the &flash node or &sram(seems to have been deleted). Perhaps I am looking at the wrong file. 

There is alsoo an include file in the nrf54L15_cpuapp.dtsi devicetree file that includes a device tree file called nordic/nrf54l15.dtsi. I seem to not be able to locate that file.

Any assistance or clue as to where to locate the the SoC devicetree file would be appreciated as I would like to continue the lesson. Slight smile

Or perhaps the file is broken up into multiple files?

Thank you all!

Parents
  • Hi,

    Devicetree nodes are spread across multiple files. The BOARD.dts file includes a number of .dtsi files.

    The nrf52833_qiaa.dtsi file should be at the path <install_path>/zephyr/dts/arm/nordic/nrf52833_qiaa.dtsi and contains a flash and sram node. Don't you see those?

    The other file (nrf54l15.dtsi) is located at:

    <install_path>/zephyr/dts/vendor/nordic/nrf54l15.dtsi

    Did you try searching for these files? What NCS version are you using? You may need to reinstall the SDK if you have missing or corrupted files.

    For more background on how Devicetree works it worth checking out the Zephyr devicetree docs.

    Best regards,

    Benjamin

Reply
  • Hi,

    Devicetree nodes are spread across multiple files. The BOARD.dts file includes a number of .dtsi files.

    The nrf52833_qiaa.dtsi file should be at the path <install_path>/zephyr/dts/arm/nordic/nrf52833_qiaa.dtsi and contains a flash and sram node. Don't you see those?

    The other file (nrf54l15.dtsi) is located at:

    <install_path>/zephyr/dts/vendor/nordic/nrf54l15.dtsi

    Did you try searching for these files? What NCS version are you using? You may need to reinstall the SDK if you have missing or corrupted files.

    For more background on how Devicetree works it worth checking out the Zephyr devicetree docs.

    Best regards,

    Benjamin

Children
  • Hi Benjamin

    Thank you for your response but it seems you may have misunderstood or misread what I wrote which perhaps is why your response is coming across as suggesting I am stupid.

    Yes, I am aware that the Devicetree node are spread across multiple files. As I mentioned, the file I am looking for specifically is the SoC file just as the SoC of the nrf52833_qiaa.dts can be found according to the given path in the example . ALL the files for the nrf52833 again can be found where they are supposed to be as given in the path in the lesson because I already checked. But I am using the nrf54l15 DK.

    The nrf54l15.dts is not located in that path which you would assume is the path <install_path>/zephyr/dts/vendor/nordic/nrf54l15.dtsi (from common sense). 

    Im using v3.1. Yes I did try to search for the file but as there are many files I just assumed that the support team would know better than myself as to where the SoC file is. 

    And as I am going through the lesson learning about Devicetree, the issue is not how devicetree works but rather where files are.

    There was a nice nordic support guy who helped me in my previous question and already pointed out to me that as the nrf54l has multiple variants, the file names and structures are different from the nrf52833 used in the example.

    Have you followed the lessons using the nrf54L15dk?

  • Hi,

    The devicetree for the SoC used on the nRF52833 DK is zephyr/dts/arm/nordic/nrf52833_qiaa.dtsi as stated in the DevAcademy lesson. The corresponding file for the SoC used in the nRF54L15 would be zephyr/dts/arm/nordic/nrf54l15_cpuapp.dtsi.

    As you can see, this file includes zephyr/dts/arm/nordic/nrf54l_05_10_15_cpuapp.dtsi, which contains everything shared between the 54L variants. It also includes zephyr/dts/vendor/nordic/nrf54l15.dtsi. Since the 54L devices have two cores, one of which is not ARM but a RISC-V core, the devicetree is split and structured a bit differently than compared to the nRF52833.

    Hope this helped find the files you were looking for, if there is any questions about the contents of the files I would be happy to assist!

    Best regards,

    Benjamin

Related