imx: mx6sxsabresd: config wdog pinmux
authorPeng Fan <peng.fan@nxp.com>
Tue, 2 Jan 2018 01:32:09 +0000 (09:32 +0800)
committerStefano Babic <sbabic@denx.de>
Fri, 12 Jan 2018 13:28:04 +0000 (14:28 +0100)
commite80f9e1a37c4136299c6ea42da7c6b2fdb1eab2d
tree0d8bfc3444682df5d3c74c2e82aaf520fd1a0048
parent5dfc9d3766ee74f3711747a5fc9fa763ae82747c
imx: mx6sxsabresd: config wdog pinmux

Because kernel set WDOG_B mux before pad with the common pinctrl
framwork now and wdog reset will be triggered once set WDOG_B mux
with default pad setting, we set pad setting here to workaround this.
Since imx_iomux_v3_setup_pad also set mux before pad setting, we set
as GPIO mux firstly here to workaround it.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
board/freescale/mx6sxsabresd/mx6sxsabresd.c