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

From: Nicolas Ferre
Date: Mon Feb 20 2017 - 05:21:25 EST


Le 16/02/2017 à 18:16, cristian.birsan@xxxxxxxxxxxxx a écrit :
> From: Cristian Birsan <cristian.birsan@xxxxxxxxxxxxx>
>
> 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@xxxxxxxxxxxxx>

Acked-by: Nicolas Ferre <nicolas.ferre@xxxxxxxxxxxxx>

> ---
> 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";
>


--
Nicolas Ferre