GPIO00 and GPIO06 not working on JetsonXavier Nx

I want to use GPIO00 and GPIO06 as normal gpio, when i use echo 498 > /sys/class/gpio/export or echo 267 > /sys/class/gpio/export device or resource busy appears.How can I use these two pins as normal IO.
Thanks.

hello 897409931,

it means these two pin has occupied by others.
you may review the pinmux spreadsheets for reference,
thanks

hello JerryChang,
I found that GPIO06 has the logo of CAM MUX Sel on pinmux, how can I convert this IO into normal IO.

hello 897409931,

you may check discussion thread, Topic 192486 for using Cam I2C MUX.
if you’re not using that, simply treat it as normal GPIO.

hello Jerry,
I just want to use GPIO06 as normal IO, but keep being told that the device is busy.
I don’t know what else is taking that IO.

hello 897409931,

as you can see,
this is occupied by i2c-mux-gpio.

# cat gpio | grep 267
 gpio-267 (                    |i2c-mux-gpio        ) out hi

which has defined in the device tree.

#define CAM_I2C_MUX     TEGRA194_AON_GPIO(CC, 3)

        cam_i2cmux{
                compatible = "i2c-mux-gpio";
                i2c-parent = <&cam_i2c>;
                mux-gpios = <&tegra_aon_gpio CAM_I2C_MUX GPIO_ACTIVE_HIGH>;

please modify device tree to remove cam_i2cmux{} if you’re not using camera devices, such as imx219 or imx477,
thanks

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