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.

AM335x and Pinmux v.4

Other Parts Discussed in Thread: AM3358

hi, everyone.

i'm working on BBB platform, AM3358, and use ti-processor-sdk-linux-am335x-evm-02.00.02.11-Linux-x86-Install.bin in ubuntu os.

when i use ti pinmux v4.0, it generate 4 files: am335x_gpevm_pinmux_data.c, am335x_pinmux.h, devicetree.txt, PinmuxConfigSummary.csv.

i'm  so confused about how to use these files. i cannot find relative articals in wiki, so  i seek help here.

  • I will ask the Pinmux team to comment.
  • Hi,

    The devicetree.txt should contain pinmux configuration you should use in your kernel pin mux settings. they are located in:
    1. am335x-bone-common.dtsi
    2. am335x-boneblack.dts

    Search for &am33xx_pinmux in the above files. They are located in ti-processor-sdk-linux-am57xx-evm-02.00.02.11/board-support/linux-4.1.18+gitAUTOINC+bbe8cfc1da-gbbe8cfc/arch/arm/boot/dts

    The other two files contain the u-boot settings. The relevant file in u-boot source code is ti-processor-sdk-linux-am57xx-evm-02.00.02.11/board-support/u-boot-2015.07+gitAUTOINC+46c915c963/board/ti/am335x/mux.c

    As far as I remember devicetree.txt file generated from the pinmux tool CANNOT be used directly in the kernel. You should see the configuration it suggests & add them in your devicetree pinmux settings youself. Same thing applies for the u-boot files.

    Hope this helps.

    Best Regards,
    Yordan
  • thank you very much, that's very helpful.