OSDN Git Service

ARM: dts: imx6sl-evk: Add an entry for MX6SL_PAD_ECSPI1_SS0__GPIO4_IO11
authorFabio Estevam <fabio.estevam@freescale.com>
Fri, 11 Apr 2014 12:09:39 +0000 (09:09 -0300)
committerShawn Guo <shawn.guo@freescale.com>
Mon, 14 Apr 2014 02:22:38 +0000 (10:22 +0800)
commit2cd36711e2b9714c0bb500b4060714666f37ca2c
treea0beb0d505e515a1a51b5a5922d811838aa059e0
parentfa1746ae3829ed8865a10a7fe3946ef91bddd458
ARM: dts: imx6sl-evk: Add an entry for MX6SL_PAD_ECSPI1_SS0__GPIO4_IO11

In case the bootloader has incorrectly configured the ALT mode of
MX6SL_PAD_ECSPI1_SS0 pad, we end up with the following probe error:

m25p80 spi0.0: found mr25h256, expected m25p32
m25p80 spi0.0: mr25h256 (32 Kbytes)

In order to avoid this issue, add an entry for MX6SL_PAD_ECSPI1_SS0 pad, so
that kernel configures the ECSPI chip select as GPIO functionality, which
results in correct SPI NOR probe.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
arch/arm/boot/dts/imx6sl-evk.dts