[PATCH 3/5] ARM: at91: dt: rm9200ek: add spi support

Nicolas Ferre nicolas.ferre at atmel.com
Wed Jun 26 04:51:55 EDT 2013


On 17/06/2013 14:38, Jean-Christophe PLAGNIOL-VILLARD :
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
> Cc: Nicolas Ferre <nicolas.ferre at atmel.com>

Acked-by: Nicolas Ferre <nicolas.ferre at atmel.com>

stacked on at91-3.11-dt

Thanks

> ---
>   arch/arm/boot/dts/at91rm9200ek.dts |   10 ++++++++++
>   1 file changed, 10 insertions(+)
>
> diff --git a/arch/arm/boot/dts/at91rm9200ek.dts b/arch/arm/boot/dts/at91rm9200ek.dts
> index 1405812..d2d72c3 100644
> --- a/arch/arm/boot/dts/at91rm9200ek.dts
> +++ b/arch/arm/boot/dts/at91rm9200ek.dts
> @@ -53,6 +53,16 @@
>   				atmel,vbus-gpio = <&pioD 4 GPIO_ACTIVE_HIGH>;
>   				status = "okay";
>   			};
> +
> +			spi0: spi at fffe0000 {
> +				status = "okay";
> +				cs-gpios = <&pioA 3 0>, <0>, <0>, <0>;
> +				mtd_dataflash at 0 {
> +					compatible = "atmel,at45", "atmel,dataflash";
> +					spi-max-frequency = <15000000>;
> +					reg = <0>;
> +				};
> +			};
>   		};
>
>   		usb0: ohci at 00300000 {
>


-- 
Nicolas Ferre



More information about the linux-arm-kernel mailing list