This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/AM3352: GPIO setting via sysfs

Part Number: AM3352

Tool/software: Linux

Hi,

I have a board based on the beagle bone black.

I have gpio that should do a hardware reset to the board (gpio117 - gpio3_21)

While in the u-boot it is working - I am doing "gpio clr 117" (set 0 causes the reset) and get hardware reset

I the Linux, I am doing the following:

echo 117 > /sys/class/gpio/export

echo high > /sys/class/gpio/gpio117/direction

echo 0 > /sys/class/gpio/gpio117/value

And I get nothing

Am I doing wrong?

Do I need to change something in the kernel code? in the dts? in defconfig?

Thanks

Avner