About bit assignment GPIO 12 and GPIO 13

I want to change the set value as follows.
I want to set PINDIRECION to “INPUT” ,
tristate to “Disable”,
LPDR to “Disable”.
I want to set PINDIRECION to ”OUTPUT”,
tri-state to “Disable”,
LPDR to ”Disable”.

However, since the bit assignment is not known from the source code, it could not be corrected.
Please kindly tell me about bit assignment.

I would like to change the following places in the source code.
pinmux.0x02431000 = 0x00000000; # soc_gpio33_pt0: rsvd0, tristate-disable, input-disable, lpdr-disable
pinmux.0x02431050 = 0x00000002; # dap3_din_pt3: rsvd2, tristate-disable, input-disable, lpdr-disable

I want to change the setting, so please tell me about bit assignment.

hello fumiyuki.izawa,

may I know which JetPack release you’re working with?
there’re pinmux spreadsheets available, you may use them to modify the pin configurations, please see-also developer guide for Pinmux Changes.
if you’re simply to modify the pin direction, it’s bit-4 and bit-6 to report pin direction. whereas, Output: Bit 4 = 0 Bit 6=0, Input: Bit 4=1 Bit 6=1.

Thank you for your information.
We use JetPack 4.6.
I confirmed that three dtsi files were created from an excel file .
Also I checked that the file xxx.cfg is created by using pinmux-dts2cfg.py.
Thank you very much.

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