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/AM5708: Toggling GPIO in U-boot

Part Number: AM5708


Tool/software: Linux

On my AM5708 based custom board, GPIO2-26 (H2) does not seem to toggle at all.

This is what's getting set at mux_data.h in U-Boot:

{GPMC_BEN0, (M14 | PIN_OUTPUT)},        /* gpmc_ben0.gpio2_26 */ 

Assuming GPIO2-26 is index 90 (2*32 + 26), I ran this:

=> setenv set-io 'gpio set 90'
=> run set-io
gpio: pin 90 (gpio 90) value is 1
=> gpio clear 90
gpio: pin 90 (gpio 90) value is 0
=> gpio set 90
gpio: pin 90 (gpio 90) value is 1

However my DMM only shows the pin at HIGH. Is index 90 correct?

I should note that there is a pull-up resistor of 4.7k ohm.