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.

Linux/AM5728: device tree node description

Part Number: AM5728


Tool/software: Linux

Hai,

i am uable understand the device tree node structures in a dtb file.

i want to know what are the available files in SDK that can guide me to add a new node to device tree.

Also i want to know how pinmuxing can be done for McASP in AM5728 GP EVM in device tree files(i mean how to use pinmux tool generated code and which device tree file among the availabe files in /boot/dts/ folder in SDK(ti-processor-sdk-linux-am57xx-evm-05.00.00.15) should be used to include the pinmux tool generated code)

Is it possible to list what are the device tree nodes that are included in device tree files  in AM5728 GP EVM board, as there are multiple files in dts/ folder i am unable to pick what files are to be referred to check for the included nodes in it. 

please be specific to this board while answering the steps for this.

Thanks & Regards,

Venkatesh R.

  • Hello Venkatesh,

    rav venkat said:
    i want to know what are the available files in SDK that can guide me to add a new node to device tree.

    All the available files to add a new node to device tree are located in <Processor SDK>/board-support/linux-<version>/Documentation/devicetree/bindings/ directory.


    rav venkat said:
    Also i want to know how pinmuxing can be done for McASP in AM5728 GP EVM in device tree files(i mean how to use pinmux tool generated code and which device tree file among the available files in /boot/dts/ folder in SDK(ti-processor-sdk-linux-am57xx-evm-05.00.00.15) should be used to include the pinmux tool generated code)

    All the McASP pinmuxing is done here <Processor SDK>/board-support/u-boot-<version>/board/ti/am57xx/mux_data.h in U-Boot. Please, read this guide.


    rav venkat said:
    Is it possible to list what are the device tree nodes that are included in device tree files in AM5728 GP EVM board, as there are multiple files in dts/ folder i am unable to pick what files are to be referred to check for the included nodes in it. 

    These are the exact device tree source files which includes am57xx-evm-reva3.dtb.
    <Processor SDK>/board-support/linux-<version>/arch/arm/boot/dts/ti/am57xx-evm-reva3.dtso
    <Processor SDK>/board-support/linux-<version>/arch/arm/boot/dts/ti/am57xx-evm-common.dtso
    <Processor SDK>/board-support/linux-<version>/arch/arm/boot/dts/dra74x.dtsi
    <Processor SDK>/board-support/linux-<version>/arch/arm/boot/dts/dra7.dtsi


    rav venkat said:
    please be specific to this board while answering the steps for this.

    I've been as much specific as I can, and expect from you the same and mark the thread as resolved.

    Best regards,
    Kemal