GPIO number

What is the corresponding GPIO number of gpio0-gpio14 of the emmc core board(B01)? Because I need to control GPIO, what are the corresponding numbers of gpio0-gpio14
for example:
I need control the gpio03,I want to pull up or pull down the gpio03,
I use the gpio_set_value(gpio03,1) to pull up, what is the number corresponding to gpio03?

so I need the map table for gpio00-gpio14,

I use the commod “cat /sys/kernel/debug/gpio”

the number of gpio09 is 216,so i can pull up the gpio09 to use gpio_set_value(216,1)

I need al the map table for GPIO00-GPIO14

cat /sys/kernel/debug/gpio, the following the value for the part of GPIO,but I do not unkonw the the left GPIO ;
GPIO01 =149
GPIO07 =168
GPIO09 =216
GPIO12 =194
GPIO11 =200
GPIO13 = 38

or can you tell me the pin for the GPIO00-GPIO14

This attachment is the GPIO part that was intercepted from the file (Jetson_Nano_Carrier_Board_Concept_Schematics.pdf)

hello tpwang2000,

you may download Jetson Nano Pinmux to check the GPIO numbers and corresponding ball names.

I find the gpio3,but gpio3=GPIO03_PI_02, kernel-4.9/include/dt-bindings/gpio/tegra-gpio.h#define TEGRA_GPIO_PORT_I 8,but I do not compute What is the corresponding GPIO number of GPIO03_PI_02, 8*16+2=146?

you may also access Jetson TX2 Platform Adaptation and Bring-Up Guide and check the [GPIO Changes] session for the formula to check the gpio numbers.
there’s offset you should check from the kernel init messages,
for example,
$ dmesg | grep GPIOs

[    0.554193] gpiochip_setup_dev: registered GPIOs 0 to 255 on device: gpiochip0 (tegra-gpio)
[    0.611063] gpiochip_setup_dev: registered GPIOs 504 to 511 on device: gpiochip1 (max77620-gpio)

I added the following code to the driver, but I couldn’t find the node gpio66;
why? howerver ,when I
gpio_request(66, “I2C0_UP”);

howerver ,I can use the following command; finish the following command ,I can find the node gpio66;
echo 66 > /sys/class/gpio/export
echo out > /sys/class/gpio/gpio66/direction
echo 0 > /sys/class/gpio/gpio66/value
echo 1 > /sys/class/gpio/gpio66/value

where can I add the code?

hello tpwang2000,

please refer to Topic 123596 for a simple look-up table of the Tegra GPIOs.
you should communicate with those GPIOs through sysnode with above gpio numbers.

please also refer to below kernel functions to control those GPIO from low-level drivers.
for example,

static inline int gpio_get_value(unsigned int gpio)
        return __gpio_get_value(gpio);

static inline void gpio_set_value(unsigned int gpio, int value)
        __gpio_set_value(gpio, value);