I’m working with an Orin NX 16GB module on the Seeed Studio A603 carrier board. My goal is to have certain GPIO pins default to a low state by applying internal pull-down resistors.
I verified that the pinmux configuration file used is tegra234-mb1-bct-pinmux-p3767-dp-a03.dts by checking the flash logs. In this file, I made the following changes:
soc_gpio19_pg6 {
nvidia,pins = “soc_gpio19_pg6”;
nvidia,function = “gp”;
nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
nvidia,tristate = <TEGRA_PIN_ENABLE>;
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
nvidia,lpdr = <TEGRA_PIN_DISABLE>;
};
soc_gpio21_ph0 {
nvidia,pins = “soc_gpio21_ph0”;
nvidia,function = “gp”;
nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
nvidia,tristate = <TEGRA_PIN_ENABLE>;
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
nvidia,lpdr = <TEGRA_PIN_DISABLE>;
};
For the Orin NX module, soc_gpio19_pg6 corresponds to GPIO07 and soc_gpio21_ph0 corresponds to GPIO13.
However, after flashing, I still observe that GPIO07 and GPIO13 default to a high state (3.3V measured), despite the flash logs indicating that this pinmux config file is being used.
Could you please advise on how to correctly apply the pull-down on these GPIO input pins so that they default to low when not driven externally? I have attached the logs
flash_1-1.3_0_20250312-143939.log (40.6 KB)
Hi ujjwal.gupta,
It seems you are using a custom carrier board from SeeedStudio.
What’s the Jetpack version in use?
Please share the result of the following command on your board.
//SOC_GPIO19
$ sudo busybox devmem 0x02434080
//SOC_GPIO21
$ sudo busybox devmem 0x02434040
Hi Kevin,
I’m using JetPack 5.1.4 and the results of the commands are as follows:
sudo busybox devmem 0x02434080
0x00000454
sudo busybox devmem 0x02434040
0x00000455
Also I’d like to show that the pinmux file - “tegra234-mb1-bct-pinmux-p3767-dp-a03.dtsi” is getting copied while generating the flash package.
Copy /home/eve/Desktop/orin_drivers/jp5.1.4/Linux_for_Tegra/kernel/dtb/tegra234-p3767-0000-p3768-0000-a0.dtb to /home/eve/Desktop/orin_drivers/jp5.1.4/Linux_for_Tegra/kernel/dtb/tegra234-p3767-0000-p3768-0000-a0.dtb.rec
Generated UUID a156a7c7-2b1e-414c-94f4-63240bcc38d3 for mounting root APP partition.
copying bctfile(/home/eve/Desktop/orin_drivers/jp5.1.4/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-p3767-0000-sdram-l4t.dts)... done.
copying minratchet_config(/home/eve/Desktop/orin_drivers/jp5.1.4/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-ratchet-p3767-0000.dts)... done.
copying device_config(/home/eve/Desktop/orin_drivers/jp5.1.4/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-device-p3767-0000.dts)... done.
copying misc_config(/home/eve/Desktop/orin_drivers/jp5.1.4/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-misc-p3767-0000.dts)... done.
copying pinmux_config(/home/eve/Desktop/orin_drivers/jp5.1.4/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-pinmux-p3767-dp-a03.dtsi)... done.
copying gpioint_config(/home/eve/Desktop/orin_drivers/jp5.1.4/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-gpioint-p3767-0000.dts)... done.
copying pmic_config(/home/eve/Desktop/orin_drivers/jp5.1.4/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-pmic-p3767-0000-a02.dts)... done.
copying pmc_config(/home/eve/Desktop/orin_drivers/jp5.1.4/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-padvoltage-p3767-dp-a03.dtsi)... done.
copying deviceprod_config(/home/eve/Desktop/orin_drivers/jp5.1.4/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-cprod-p3767-0000.dts)... done.
copying prod_config(/home/eve/Desktop/orin_drivers/jp5.1.4/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-prod-p3767-0000.dts)... done.
copying scr_config(/home/eve/Desktop/orin_drivers/jp5.1.4/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-mb2-bct-scr-p3767-0000.dts)... done.
copying wb0sdram(/home/eve/Desktop/orin_drivers/jp5.1.4/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-p3767-0000-wb0sdram-l4t.dts)... done.
copying bootrom_config(/home/eve/Desktop/orin_drivers/jp5.1.4/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-reset-p3767-0000.dts)... done.
Existing uphylane_config(/home/eve/Desktop/orin_drivers/jp5.1.4/Linux_for_Tegra/bootloader/tegra234-mb1-bct-uphylane-si.dtsi) reused.
copying dev_params(/home/eve/Desktop/orin_drivers/jp5.1.4/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-br-bct-p3767-0000-l4t.dts)... done.
copying dev_params_b(/home/eve/Desktop/orin_drivers/jp5.1.4/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-br-bct_b-p3767-0000-l4t.dts)... done.
copying mb2bct_cfg(/home/eve/Desktop/orin_drivers/jp5.1.4/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-mb2-bct-misc-p3767-0000.dts)... done.
Existing pscfwfile(/home/eve/Desktop/orin_drivers/jp5.1.4/Linux_for_Tegra/bootloader/pscfw_t234_prod.bin) reused.
Existing pscbl1file(/home/eve/Desktop/orin_drivers/jp5.1.4/Linux_for_Tegra/bootloader/psc_bl1_t234_prod.bin) reused.
Existing mtsmcefile(/home/eve/Desktop/orin_drivers/jp5.1.4/Linux_for_Tegra/bootloader/mce_flash_o10_cr_prod.bin) reused.
Existing mb2applet(/home/eve/Desktop/orin_drivers/jp5.1.4/Linux_for_Tegra/bootloader/applet_t234.bin) reused.
Existing bootloader(/home/eve/Desktop/orin_drivers/jp5.1.4/Linux_for_Tegra/bootloader/mb2_t234.bin) reused.
copying initrd(/home/eve/Desktop/orin_drivers/jp5.1.4/Linux_for_Tegra/bootloader/l4t_initrd.img)... done.
If you’d like to review the log for generating the flash package, I’ve attached it for you.
logs_for_generating_flash_package_JP5_1_4.txt (230.7 KB)
ujjwal.gupta:
soc_gpio19_pg6 {
nvidia,pins = “soc_gpio19_pg6”;
nvidia,function = “gp”;
nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
nvidia,tristate = <TEGRA_PIN_ENABLE>;
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
nvidia,lpdr = <TEGRA_PIN_DISABLE>;
};
soc_gpio21_ph0 {
nvidia,pins = “soc_gpio21_ph0”;
nvidia,function = “gp”;
nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
nvidia,tristate = <TEGRA_PIN_ENABLE>;
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
nvidia,lpdr = <TEGRA_PIN_DISABLE>;
};
It is not the expected result to me to configure them Input/Int PD
.
It should be like the following:
soc_gpio19_pg6 {
nvidia,pins = "soc_gpio19_pg6";
nvidia,function = "rsvd1";
nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
nvidia,tristate = <TEGRA_PIN_ENABLE>;
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
nvidia,lpdr = <TEGRA_PIN_DISABLE>;
};
soc_gpio21_ph0 {
nvidia,pins = "soc_gpio21_ph0";
nvidia,function = "rsvd0";
nvidia,pull = <TEGRA_PIN_PULL_DOWN>;
nvidia,tristate = <TEGRA_PIN_ENABLE>;
nvidia,enable-input = <TEGRA_PIN_ENABLE>;
nvidia,lpdr = <TEGRA_PIN_DISABLE>;
};
Could you use pinmux spreadsheet to generate pinmux/gpio dtsi in case you’ve modified something wrong manually?
You can also share how do you configure in pinmux spreadsheet.
system
Closed
April 9, 2025, 6:29am
12
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.