Skip to contentSkip to conversation

ARM: dts: imx6qdl-sabresd: Configure the ECSPI1 chip select pin

PATCH New Fabio Estevam 2 participants 2 messages May 14, 2014 – May 19, 2014

Subsystems (2)
lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/1 ARM: dts: imx6qdl-sabresd: Configure the ECSPI1 chip select pin

From: Fabio Estevam <[email protected]>

GPIO4_9 is used as ECSPI1 chip select and it needs to be configured as GPIO.

Configure the pin functionality explicitly in the dts file instead of relying on the fact that it comes configured as GPIO from POR or from the bootloader.

---
 arch/arm/boot/dts/imx6qdl-sabresd.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm/boot/dts/imx6qdl-sabresd.dtsi +1 -0
index 40ea365..56482b4 100644
@@ -340,6 +340,7 @@
 				MX6QDL_PAD_KEY_COL1__ECSPI1_MISO	0x100b1
 				MX6QDL_PAD_KEY_ROW0__ECSPI1_MOSI	0x100b1
 				MX6QDL_PAD_KEY_COL0__ECSPI1_SCLK	0x100b1
+				MX6QDL_PAD_KEY_ROW1__GPIO4_IO09		0x1b0b0
 			>;
 		};
 
Signature · 1 line
1.8.3.2
Applied
#1 lore raw

PATCH 1/1 ARM: dts: imx6qdl-sabresd: Configure the ECSPI1 chip select pin

Quoted 8 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

GPIO4_9 is used as ECSPI1 chip select and it needs to be configured as GPIO.

Configure the pin functionality explicitly in the dts file instead of relying on the fact that it comes configured as GPIO from POR or from the bootloader.

Applied, thanks.