Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1582716

[PATCH] ARM: at91/dt: Disable SPI on at91sam9x5ek to allow MCI1 to work.

From <cristian.birsan@microchip.com>
Newsgroups linux.kernel
Subject [PATCH] ARM: at91/dt: Disable SPI on at91sam9x5ek to allow MCI1 to work.
Date 2017-02-16 18:20 +0100
Message-ID <tbxSN-11y-7@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


From: Cristian Birsan <cristian.birsan@microchip.com>

The A13 hardware line is shared by SPI and MCI1 controller.This patch
disables the SPI controller so that the MCI1 (the big MMC card slot) can
be used.

Signed-off-by: Cristian Birsan <cristian.birsan@microchip.com>
---
 arch/arm/boot/dts/at91sam9x5ek.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/at91sam9x5ek.dtsi b/arch/arm/boot/dts/at91sam9x5ek.dtsi
index 696b8ba..9d2bbc4 100644
--- a/arch/arm/boot/dts/at91sam9x5ek.dtsi
+++ b/arch/arm/boot/dts/at91sam9x5ek.dtsi
@@ -116,7 +116,7 @@
 			};
 
 			spi0: spi@f0000000 {
-				status = "okay";
+				status = "disabled"; /* conflicts with mmc1 */
 				cs-gpios = <&pioA 14 0>, <0>, <0>, <0>;
 				m25p80@0 {
 					compatible = "atmel,at25df321a";
-- 
2.7.4

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH] ARM: at91/dt: Disable SPI on at91sam9x5ek to allow MCI1 to work. <cristian.birsan@microchip.com> - 2017-02-16 18:20 +0100
  Re: [PATCH] ARM: at91/dt: Disable SPI on at91sam9x5ek to allow MCI1  to work. Nicolas Ferre <nicolas.ferre@microchip.com> - 2017-02-20 11:30 +0100

csiph-web