From: Pekon Gupta Date: Mon, 19 May 2014 09:15:46 +0000 (+0530) Subject: ARM: dts: am437x-gp-evm: add support for parallel NAND flash X-Git-Tag: omap-for-v3.16/dt-part3~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99ffa6425f1b9ac39c5e9946c1c286f687b97c3e;p=pandora-kernel.git ARM: dts: am437x-gp-evm: add support for parallel NAND flash Adds pinmux and DT node for Micron (MT29F4G08AB) x8 NAND device present on am437x-gp-evm board. (1) As NAND Flash data lines are muxed with eMMC, Thus at a given time either eMMC or NAND can be enabled. Selection between eMMC and NAND is controlled: (a) By dynamically driving following GPIO pin from software SPI2_CS0(GPIO) == 0 NAND is selected (default) SPI2_CS0(GPIO) == 1 eMMC is selected (b) By statically using Jumper (J89) on the board (2) As NAND device connnected to this board has page-size=4K and oob-size=224, So ROM code expects boot-loaders to be flashed in BCH16 ECC scheme for NAND boot. Signed-off-by: Pekon Gupta Reviewed-by: Javier Martinez Canillas Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed