ARM: dts: imx51-zii-rdu1: Make sure SD1_WP is low
authorAndrey Smirnov <andrew.smirnov@gmail.com>
Sat, 26 May 2018 02:12:38 +0000 (19:12 -0700)
committerShawn Guo <shawnguo@kernel.org>
Sun, 17 Jun 2018 07:14:42 +0000 (15:14 +0800)
commitbcf1477468143170ab98638a09162a3cac221367
tree387d35917660a0f19308150b4227b99c76279113
parent6e21e4c215a6e088c0d49fc107fd56361b1fdf22
ARM: dts: imx51-zii-rdu1: Make sure SD1_WP is low

Make sure that MX51_PAD_GPIO1_1 does not remain configure as
ALT0/SD1_WP (it is out of reset). This is needed because of external
pull-up resistor attached to that pad that, when left unchanged, will
drive SD1_WP high preventing eSDHC1/eMMC from working correctly.

To fix that add a pinmux configuration line configureing the pad to
function as a GPIO. While we are at it, add a corresponding
output-high GPIO hog in an effort to minimize current consumption.

Cc: Nikita Yushchenko <nikita.yoush@cogentembedded.com>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Cc: Lucas Stach <l.stach@pengutronix.de>
Cc: Chris Healy <cphealy@gmail.com>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: linux-arm-kernel@lists.infradead.org
Cc: devicetree@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Tested-By: Nikita Yushchenko <nikita.yoush@cogentembedded.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx51-zii-rdu1.dts