hello asuka.za,
here’s an example to configure J30, 40-pin expansion header, pin-13; PWM01 / SOC_GPIO44
- Step-1 Modify pinmux spreadsheets to toggle the pin as GP_PWM8 / Output / Int PD
- Step-2 Create the pinmux configuration
$ python pinmux-dts2cfg.py --pinmux addr_info.txt gpio_addr_info.txt por_val.txt --mandatory_pinmux_file mandatory_pinmux.txt tegra19x-jetson_agx_xavier-pinmux.dtsi tegra19x-jetson_agx_xavier-gpio-default.dtsi 1.0 > tegra19x-mb1-pinmux-p2888-0000-a04-p2822-0000-b01.cfg
- Step-3 Replace the cfg file, and re-flash the target without
"-r"
options
$OUT/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-pinmux-p2888-0000-a04-p2822-0000-b01.cfg