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.

GPIO INPUT FLOATING DEFAULT VALUE

I am using TI AM335x processor on the TI package am335x-evm-sdk-src-07.00.00.00.tar.gz and kernel linux-3.12.10-ti2013.12.01

In the kernel DeviceTree, I set GPIO1_14 (multiplexed with pr1_pru0_pru_r31_14) as

(PIN_INPUT_PULLUP | MODE7)

We let this pin as input floating, it should be pulled up by internal resistor, but when we read the value by using

cat /sys/class/gpio/gpio46/value

we get 0 "Low",

Only if we input 1(high) externally, we get 1 "high".

What's wrong with it?

Thanks!