This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM623: [DTS] Device Tree files in U-boot and Kernel

Part Number: AM623

Tool/software:

Hi,

We are using the processor AM6232ATGGHIALWR with the TI SDK version of ti-processor-sdk-linux-am62xx-evm-11.00.09.04. I want to know what are the dts/dtsi files used for this platform in U-boot and Linux Kernel.
Also I'm seeing there are two directories in U-boot which contains dts/dtsi files as below:

dts/upstream/src/arm64/ti/
arch/arm/dts/

I want to do my customization like pin mux changes and other configuration for my Design board. Which directory and what are the files should I use for this platform

Thanks in advance.


Thank you,
Regards,
Salih

  • Hi Bin Liu,

    Thanks for your inputs. I have gone through the above thread. Still I'm not cleared with the modifications.
    Please give me the solution for my above specific questions. 

    We need to do pin mux changes for UART, DDR, eMMC and USB also.

    More over, by default, I'm seeing the files k3-am62-r5-sk.dts & k3-am62-r5-lp-sk.dts under dts/upstream/src/arm64/ti/ and not available under arch/arm.
    How its working for the Eval board?. If so, why should I copy those files from dts/upstream to arch/arm/dts. Instead I can modify my changes in the dts/upstream folder itself right?

    Please clarify me on this. I have bit confused with this two directories.

    Regards,
    Salih

  • Hi Salih,

    More over, by default, I'm seeing the files k3-am62-r5-sk.dts & k3-am62-r5-lp-sk.dts under dts/upstream/src/arm64/ti/ and not available under arch/arm.

    I think you got another way around. k3-am625-r5-sk.dts and k3-am625-r5-lp-sk.dts are under arch/arm/dts/, not dts/upstream/src/arm64/ti/.

    How its working for the Eval board?. 

    For the EVM, in the U-Boot under arch/arm/dts/, k3-am625-sk-u-boot.dtsi is for tispl.bin and u-boot.img, while k3-am625-r5-sk.dts is for tiboot3.bin. k3-am625-r5-sk.dts includes k3-am625-sk-u-boot.dtsi.

    So if the DT change apply to all the 3 u-boot binaries, add those changes to k3-am625-sk-u-boot.dtsi.

    If the DT change only apply to tiboot3.bin, add those changes to k3-am625-r5-sk.dts.