Where to find Control register bit values from TRM section 8.5.4 in the Pinmux

I’m looking in the Xavier TRM v1.4 for the Register Table of GPIO 12, its Pin name from the AGX pinmux config template is soc_gpio33_pt0. I want to use the Table to verify that the pinmux value being set by my pinmux config template is valid. I believe I’m correct in assuming PADCTL_AUDIO_SOC_GPIO33_0 is the corresponding Control Register for Gpio12 in the TRM (if not let me know).
My question is when looking at the control register’s table I don’t know where to find some of it’s bit descriptions in the pinmux, for example PM, GPIO_SF_SEL, E_SCHMT. The other descriptions I am able to find as column headers in the pinmux config. Could you show me were I can find those values from the Pinmux?

Hi, pinmux sheet is for customer to config pin easily. You only need to choose custom setting and export dtsi file. You can see below part of GPIO33 in dtsi file. If you are interested in the bit change, you can read back the register value to verify.

		soc_gpio33_pt0 {
			nvidia,pins = "soc_gpio33_pt0";
			nvidia,function = "rsvd0";
			nvidia,pull = <TEGRA_PIN_PULL_UP>;
			nvidia,tristate = <TEGRA_PIN_ENABLE>;
			nvidia,enable-input = <TEGRA_PIN_ENABLE>;
			nvidia,lpdr = <TEGRA_PIN_DISABLE>;

Yes, I am interested in calculating the bit changes to verify its been set correctly, I saw in the TRM that there are some bits that correspond to these variables,PM , GPIO_SF_SEL , E_SCHMT, but I cant find them on the AGX Pinmux so I cant calculate the bit values myself. Where could I find these variables in the pinmux?

Not all bits are for custom pinmux setting as you can see in above dtsi file. Just keep the default value of them and only change those in dtsi file.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.