arm: zynq: zybo z7: fix MIO init issue
authorMilan Obuch <u-boot@dino.sk>
Mon, 20 Jan 2020 01:33:30 +0000 (22:33 -0300)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 28 Feb 2020 11:04:10 +0000 (12:04 +0100)
commit1a4bf17b0298257b35611453e44f53c72a55f8a7
treefa58548dd36712cd2a84f5fb777f0adb2c9bf735
parentb6779274f2bdbcde2c7fa3a2f90d1db55c02951f
arm: zynq: zybo z7: fix MIO init issue

The board has two push button connected to MIO pins
50 and 51, which have a pull-down resistor and are
connected to 1.8V when pressed.

These two pins are wrongly initialized with internal
pull-up enabled so they are reported as 1 all the time
with no change when pressed.

Disable the internal pull-up to fix the issue.

Signed-off-by: Milan Obuch <u-boot@dino.sk>
Signed-off-by: Luis Araneda <luaraneda@gmail.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
board/xilinx/zynq/zynq-zybo-z7/ps7_init_gpl.c