Moving from JP5.1.3 to JP6.1 Caused GPIO Error

Hi,
We moved from JP5.1.3 to JP6.1 and we noticed some failures with GPIO.
We use custom carrier board and don’t use overlays (hardcoding the kernel dt)

  1. When executing
    cat /sys/kernel/debug/gpio
    We see only part of the GPIO pins

gpiochip0: GPIOs 480-511, parent: platform/c2f0000.gpio, tegra234-gpio-aon

  1. We noticed the following dmesg errors:

[ 0.080297] OF: /pps_gpio: could not get #gpio-cells for /bus@0/aconnect@2900000/ahub@2900800/ports/port@5e/endpoint
[ 3.783208] gpio-397 (camera-control-output-low): hogged as output/low
[ 3.783240] gpio-486 (camera-control-output-low): hogged as output/low
[ 3.783261] gpio-474 (camera-control-output-low): hogged as output/low
[ 3.783263] requesting hog GPIO camera-control-output-low (chip tegra234-gpio, offset 126) failed, -16
[ 3.783274] gpiochip_add_data_with_key: GPIOs 348…511 (tegra234-gpio) failed to register, -16
[ 3.783280] tegra186-gpio: probe of 2200000.gpio failed with error -16
[ 3.884232] i2c-mux-gpio bus@0:cam_i2cmux: 5 port mux on 3180000.i2c adapter

Our current dt:
orin.txt (331.8 KB)

How can we fix this issue?

Hi,
Please check this:

Jetson AGX Orin FAQ
Q: I cannot control GPIO in JP6.0 and JP6.1, but it works with JP5.x

Hi @DaneLLL ,
Thank you for your help and patience.
Problem solved

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