In Orin pinmux python giving key error

We are using Orin AGX module. While generating DTB file getting error like below , even though default pinmux files.
Please somebody suggest solution for error.
-------terminal logs-----------
Linux_for_Tegra/kernel/pinmux/t19x$ python --pinmux addr_info.txt gpio_addr_info.txt por_val.txt --mandatory_pinmux_file mandatory_pinmux.txt /home/xx/pinmux/-pinmux.dtsi /home/xx/pinmux/-gpio-default.dtsi 1.0 > tegra19x-mb1-pinmux-p2888-0000-a04-p2822-0000-b01.cfg
Traceback (most recent call last):
File “”, line 518, in
main(sys.argv[0], sys.argv[1:])
File “”, line 514, in main
gpio_list = process_gpio_file(v.gpio_dts_file, pinmux_gpio_dict, gpio_port_addr_dict, pinmux_non_aon_addr, pinmux_aon_addr, v.mask)
File “”, line 193, in process_gpio_file
port_addr = int(gpio_addr_dict[port][0], 0) # Got port address
KeyError: ‘TEGRA234_MAIN_GPIO(B’
----------log end---------------

Moving this topic to the Jetson category for better exposure.

hello vardhaman.k,

you don’t need to execute python tool to covert them for Orin series.
since Orin is now reading *dtsi formats for pinmux configurations.

please see-also AGX Orin’s flash configuration file, for example, p3701.conf.common
you’ll see this line, PINMUX_CONFIG="tegra234-mb1-bct-pinmux-p3701-0000.dtsi";

please see-also developer guide, Pinmux Changes.

Thank you very much JerryChang.