Part Number: AM3358
Hi,
I have GPIOs set up without internal pull-down. on u-boot:
static struct module_pin_mux my_gpio_pin_mux[]
{
{OFFSET(gpio3_9), MODE(7)},
{OFFSET(gpio3_9), MODE(7)},
{OFFSET(gpio3_9), MODE(7)},
{-1}
};
and in linux in device tree:
port3_gpios: port3_gpios {
pinctrl-single,pins = <
0x114 (PIN_INPUT | MUX_MODE7) /* gpio3[3] */
0x12c (PIN_INPUT | MUX_MODE7) /* gpio3[9] */
0x130 (PIN_INPUT | MUX_MODE7) /* gpio3[10] */
>;
};
I Don't have pull downs enabled, but if I connect 10k external pull-up to 3.3V to these pins, the voltage at the pin is 2.48V.
So by the voltage reading it looks like there is 30k pull down.
Setting pins as PIN_INPUT_PULLDOWN | MUX_MODE7 give the same 2.48V reading.
Is internall pull-down always enabled or am I missing something to disable it?
Kind regards,
Ugnius