I’ve tried to control UART1_RTS - PR.04(PIN11 of 40-pin)
as expected on Orin Nano devkit with JP6.
Please refer to the following steps.
- Update the configuration in pinmux spreadsheet as following
- Generate device tree files and name them as
pinmux.dtsi
andgpio.dtsi
(remember to modify the#include
in pinmux.dtsi for gpio.dtsi) - Modify the following line in jetson-orin-nano-devkit.conf
- PINMUX_CONFIG="tegra234-mb1-bct-pinmux-p3767-dp-a03.dtsi";
+ PINMUX_CONFIG="pinmux.dtsi";
- Put pinmux.dtsi in <Linux_for_Tegra>/bootloader/generic/BCT/ and gpio.dtsi in <Linux_for_Tegra>/bootloader/
- Flash the board to apply the change
- Run the following commands to control the pin
$ sudo su
# gpioset --mode=wait `gpiofind "PR.04"`=1