]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: dts: imx6q-arm2: move NANDF_CS pins out of 'hog'
authorShawn Guo <shawn.guo@linaro.org>
Mon, 15 Oct 2012 08:48:04 +0000 (16:48 +0800)
committerOlof Johansson <olof@lixom.net>
Tue, 16 Oct 2012 17:07:04 +0000 (10:07 -0700)
commita784843820bc41debe556d16dd8fd3c785f03627
treed66d98bad5cd50c85690dc71ceef56f476120f66
parentc1893df87a0d8583559b833667e9529d81068b99
ARM: dts: imx6q-arm2: move NANDF_CS pins out of 'hog'

Commit f10896ae (ARM: dts: imx6q-arm2: add pinctrl for uart and enet)
defines NANDF_CS pins as gpio in 'hog', assuming these two pins are
always used by usdhc3 in gpio mode as card-detection and
write-protection on ARM2 board.  But it's not true.  These pins are
shared by usdhc3 and gpmi-nand.  We should have the pins functional
for gpmi-nand when usdhc3 is disabled.

Move the pins out of 'hog', so that pins only work in gpio mode as CD
and WP when usdhc3 is enabled, and otherwise they are available for
gpmi-nand.

Reported-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Tested-by: Huang Shijie <shijie8@gmail.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/boot/dts/imx6q-arm2.dts