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.

AM5728: Pin Muxing question

Part Number: AM5728

Hello,

We are designing a custom AM5728-based board. The question is how do we do the pin-muxing for this board?

Various forum posts indicate that this should be done in u-boot in the board/ti/am57xx/mux_data.h file. Can someone confirm that this is the right place?

How do I generate the code that goes into this file? For earlier AM4378-based designs, we used to enter our design into the PINMUX-V4-CLOUD tool and get the device tree which has the pinctrl settings. Now, I don't see anything useful there for AM5728. I'm hoping to see code that looks like this -

```

{GPMC_AD0, (M2 | PIN_INPUT | MANUAL_MODE)},    /* gpmc_ad0.vin3a_d0 */

```

containing the pin name, the mux setting, input/output.