[v4 PATCH 11/12] ARM: dts: add spi nodes for atmel SoC

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Tue Feb 5 14:51:26 EST 2013


On 15:34 Mon 14 Jan     , Wenyou Yang wrote:
> From: Richard Genoud <richard.genoud at gmail.com>
> 
> Signed-off-by: Richard Genoud <richard.genoud at gmail.com>
> [wenyou.yang at atmel.com: add spi nodes for sam9260, sam9263, sam9g45 and sam9n12]
> [wenyou.yang at atmel.com: remove spi property "cs-gpios" to the board dts files]
> Signed-off-by: Wenyou Yang <wenyou.yang at atmel.com>
> Cc: linux at arm.linux.org.uk
> ---
>  arch/arm/boot/dts/at91sam9260.dtsi |   18 ++++++++++++++++++
>  arch/arm/boot/dts/at91sam9263.dtsi |   18 ++++++++++++++++++
>  arch/arm/boot/dts/at91sam9g45.dtsi |   18 ++++++++++++++++++
I alreadt have some patch in queue

Best Regards,
J.
>  arch/arm/boot/dts/at91sam9n12.dtsi |   18 ++++++++++++++++++
>  arch/arm/boot/dts/at91sam9x5.dtsi  |   18 ++++++++++++++++++
>  5 files changed, 90 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/at91sam9260.dtsi b/arch/arm/boot/dts/at91sam9260.dtsi
> index 68bccf4..9586fe1 100644
> --- a/arch/arm/boot/dts/at91sam9260.dtsi
> +++ b/arch/arm/boot/dts/at91sam9260.dtsi
> @@ -453,6 +453,24 @@
>  				status = "disabled";
>  			};
>  
> +			spi0: spi at fffc8000 {
> +				#address-cells = <1>;
> +				#size-cells = <0>;
> +				compatible = "atmel,at91sam9260-spi";
> +				reg = <0xfffc8000 0x200>;
> +				interrupts = <12 4 3>;
> +				status = "disabled";
> +			};
> +
> +			spi1: spi at fffcc000 {
> +				#address-cells = <1>;
> +				#size-cells = <0>;
> +				compatible = "atmel,at91sam9260-spi";
> +				reg = <0xfffcc000 0x200>;
> +				interrupts = <13 4 3>;
> +				status = "disabled";
> +			};
> +
>  			adc0: adc at fffe0000 {
>  				compatible = "atmel,at91sam9260-adc";
>  				reg = <0xfffe0000 0x100>;
> diff --git a/arch/arm/boot/dts/at91sam9263.dtsi b/arch/arm/boot/dts/at91sam9263.dtsi
> index 32ec62c..636b882 100644
> --- a/arch/arm/boot/dts/at91sam9263.dtsi
> +++ b/arch/arm/boot/dts/at91sam9263.dtsi
> @@ -426,6 +426,24 @@
>  				reg = <0xfffffd40 0x10>;
>  				status = "disabled";
>  			};
> +
> +			spi0: spi at fffa4000 {
> +				#address-cells = <1>;
> +				#size-cells = <0>;
> +				compatible = "atmel,at91sam9260-spi";
> +				reg = <0xfffa4000 0x200>;
> +				interrupts = <14 4 3>;
> +				status = "disabled";
> +			};
> +
> +			spi1: spi at fffa8000 {
> +				#address-cells = <1>;
> +				#size-cells = <0>;
> +				compatible = "atmel,at91sam9260-spi";
> +				reg = <0xfffa8000 0x200>;
> +				interrupts = <15 4 3>;
> +				status = "disabled";
> +			};
>  		};
>  
>  		nand0: nand at 40000000 {
> diff --git a/arch/arm/boot/dts/at91sam9g45.dtsi b/arch/arm/boot/dts/at91sam9g45.dtsi
> index 231858f..0100b80 100644
> --- a/arch/arm/boot/dts/at91sam9g45.dtsi
> +++ b/arch/arm/boot/dts/at91sam9g45.dtsi
> @@ -495,6 +495,24 @@
>  				reg = <0xfffffd40 0x10>;
>  				status = "disabled";
>  			};
> +
> +			spi0: spi at fffa4000 {
> +				#address-cells = <1>;
> +				#size-cells = <0>;
> +				compatible = "atmel,at91sam9g45-spi";
> +				reg = <0xfffa4000 0x200>;
> +				interrupts = <14 4 3>;
> +				status = "disabled";
> +			};
> +
> +			spi1: spi at fffa8000 {
> +				#address-cells = <1>;
> +				#size-cells = <0>;
> +				compatible = "atmel,at91sam9g45-spi";
> +				reg = <0xfffa8000 0x200>;
> +				interrupts = <15 4 3>;
> +				status = "disabled";
> +			};
>  		};
>  
>  		nand0: nand at 40000000 {
> diff --git a/arch/arm/boot/dts/at91sam9n12.dtsi b/arch/arm/boot/dts/at91sam9n12.dtsi
> index e9efb34..86d5357 100644
> --- a/arch/arm/boot/dts/at91sam9n12.dtsi
> +++ b/arch/arm/boot/dts/at91sam9n12.dtsi
> @@ -355,6 +355,24 @@
>  				#size-cells = <0>;
>  				status = "disabled";
>  			};
> +
> +			spi0: spi at f0000000 {
> +				#address-cells = <1>;
> +				#size-cells = <0>;
> +				compatible = "atmel,at91sam9x5-spi";
> +				reg = <0xf0000000 0x100>;
> +				interrupts = <13 4 3>;
> +				status = "disabled";
> +			};
> +
> +			spi1: spi at f0004000 {
> +				#address-cells = <1>;
> +				#size-cells = <0>;
> +				compatible = "atmel,at91sam9x5-spi";
> +				reg = <0xf0004000 0x100>;
> +				interrupts = <14 4 3>;
> +				status = "disabled";
> +			};
>  		};
>  
>  		nand0: nand at 40000000 {
> diff --git a/arch/arm/boot/dts/at91sam9x5.dtsi b/arch/arm/boot/dts/at91sam9x5.dtsi
> index 40ac3a4..8ea2f7d 100644
> --- a/arch/arm/boot/dts/at91sam9x5.dtsi
> +++ b/arch/arm/boot/dts/at91sam9x5.dtsi
> @@ -473,6 +473,24 @@
>  					trigger-value = <0x6>;
>  				};
>  			};
> +
> +			spi0: spi at f0000000 {
> +				#address-cells = <1>;
> +				#size-cells = <0>;
> +				compatible = "atmel,at91sam9x5-spi";
> +				reg = <0xf0000000 0x100>;
> +				interrupts = <13 4 3>;
> +				status = "disabled";
> +			};
> +
> +			spi1: spi at f0004000 {
> +				#address-cells = <1>;
> +				#size-cells = <0>;
> +				compatible = "atmel,at91sam9x5-spi";
> +				reg = <0xf0004000 0x100>;
> +				interrupts = <14 4 3>;
> +				status = "disabled";
> +			};
>  		};
>  
>  		nand0: nand at 40000000 {
> -- 
> 1.7.9.5
> 



More information about the linux-arm-kernel mailing list