From 8ad7a3058791d92de98cfb57eb799d37e9d30413 Mon Sep 17 00:00:00 2001 From: Hui Wang Date: Wed, 20 Jun 2012 14:41:50 +0800 Subject: ARM: dts: imx6q-sabrelite: add ecspi1 pinctrl support Imx6q sabrelite board uses ecspi1 to connect a spi flash sst25vf016b, we need to add pinctrl information for it in the dts, otherwise the ecspi1 driver can't work and the connected flash is wrongly detected as a mr25h256 flash like this: m25p80 spi32766.0: found mr25h256, expected sst25vf016b m25p80 spi32766.0: mr25h256 (32 Kbytes) Cc: Richard Zhao Signed-off-by: Hui Wang Signed-off-by: Shawn Guo --- arch/arm/boot/dts/imx6q-sabrelite.dts | 3 +++ 1 file changed, 3 insertions(+) (limited to 'arch/arm/boot/dts/imx6q-sabrelite.dts') diff --git a/arch/arm/boot/dts/imx6q-sabrelite.dts b/arch/arm/boot/dts/imx6q-sabrelite.dts index 46fdfd1d5cd1..d42e851ceb97 100644 --- a/arch/arm/boot/dts/imx6q-sabrelite.dts +++ b/arch/arm/boot/dts/imx6q-sabrelite.dts @@ -27,6 +27,8 @@ ecspi@02008000 { /* eCSPI1 */ fsl,spi-num-chipselects = <1>; cs-gpios = <&gpio3 19 0>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_ecspi1_1>; status = "okay"; flash: m25p80@0 { @@ -50,6 +52,7 @@ pinctrl_gpio_hog: gpiohog { fsl,pins = < 144 0x80000000 /* MX6Q_PAD_EIM_D22__GPIO_3_22 */ + 121 0x80000000 /* MX6Q_PAD_EIM_D19__GPIO_3_19 */ >; }; }; -- cgit