Hello,
The gpiochip that manages the J1001 GPIOs is gpiochip0.
The GPIO number matches with the number in schematic:
Screenshot 2025-02-25 113040.png
For example, EXP_GPIO_IO02 in pin 3 of J1001 is controlled as next:
Screenshot 2025-02-25 113128.png
Chavira_1-1737563044014.png
Best regards.