diff mbox

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

Message ID 1358148877-18679-12-git-send-email-wenyou.yang@atmel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Wenyou Yang Jan. 14, 2013, 7:34 a.m. UTC
From: Richard Genoud <richard.genoud@gmail.com>

Signed-off-by: Richard Genoud <richard.genoud@gmail.com>
[wenyou.yang@atmel.com: add spi nodes for sam9260, sam9263, sam9g45 and sam9n12]
[wenyou.yang@atmel.com: remove spi property "cs-gpios" to the board dts files]
Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Cc: linux@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 ++++++++++++++++++
 arch/arm/boot/dts/at91sam9n12.dtsi |   18 ++++++++++++++++++
 arch/arm/boot/dts/at91sam9x5.dtsi  |   18 ++++++++++++++++++
 5 files changed, 90 insertions(+)

Comments

Jean-Christophe PLAGNIOL-VILLARD Feb. 5, 2013, 7:51 p.m. UTC | #1
On 15:34 Mon 14 Jan     , Wenyou Yang wrote:
> From: Richard Genoud <richard.genoud@gmail.com>
> 
> Signed-off-by: Richard Genoud <richard.genoud@gmail.com>
> [wenyou.yang@atmel.com: add spi nodes for sam9260, sam9263, sam9g45 and sam9n12]
> [wenyou.yang@atmel.com: remove spi property "cs-gpios" to the board dts files]
> Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
> Cc: linux@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@fffc8000 {
> +				#address-cells = <1>;
> +				#size-cells = <0>;
> +				compatible = "atmel,at91sam9260-spi";
> +				reg = <0xfffc8000 0x200>;
> +				interrupts = <12 4 3>;
> +				status = "disabled";
> +			};
> +
> +			spi1: spi@fffcc000 {
> +				#address-cells = <1>;
> +				#size-cells = <0>;
> +				compatible = "atmel,at91sam9260-spi";
> +				reg = <0xfffcc000 0x200>;
> +				interrupts = <13 4 3>;
> +				status = "disabled";
> +			};
> +
>  			adc0: adc@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@fffa4000 {
> +				#address-cells = <1>;
> +				#size-cells = <0>;
> +				compatible = "atmel,at91sam9260-spi";
> +				reg = <0xfffa4000 0x200>;
> +				interrupts = <14 4 3>;
> +				status = "disabled";
> +			};
> +
> +			spi1: spi@fffa8000 {
> +				#address-cells = <1>;
> +				#size-cells = <0>;
> +				compatible = "atmel,at91sam9260-spi";
> +				reg = <0xfffa8000 0x200>;
> +				interrupts = <15 4 3>;
> +				status = "disabled";
> +			};
>  		};
>  
>  		nand0: nand@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@fffa4000 {
> +				#address-cells = <1>;
> +				#size-cells = <0>;
> +				compatible = "atmel,at91sam9g45-spi";
> +				reg = <0xfffa4000 0x200>;
> +				interrupts = <14 4 3>;
> +				status = "disabled";
> +			};
> +
> +			spi1: spi@fffa8000 {
> +				#address-cells = <1>;
> +				#size-cells = <0>;
> +				compatible = "atmel,at91sam9g45-spi";
> +				reg = <0xfffa8000 0x200>;
> +				interrupts = <15 4 3>;
> +				status = "disabled";
> +			};
>  		};
>  
>  		nand0: nand@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@f0000000 {
> +				#address-cells = <1>;
> +				#size-cells = <0>;
> +				compatible = "atmel,at91sam9x5-spi";
> +				reg = <0xf0000000 0x100>;
> +				interrupts = <13 4 3>;
> +				status = "disabled";
> +			};
> +
> +			spi1: spi@f0004000 {
> +				#address-cells = <1>;
> +				#size-cells = <0>;
> +				compatible = "atmel,at91sam9x5-spi";
> +				reg = <0xf0004000 0x100>;
> +				interrupts = <14 4 3>;
> +				status = "disabled";
> +			};
>  		};
>  
>  		nand0: nand@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@f0000000 {
> +				#address-cells = <1>;
> +				#size-cells = <0>;
> +				compatible = "atmel,at91sam9x5-spi";
> +				reg = <0xf0000000 0x100>;
> +				interrupts = <13 4 3>;
> +				status = "disabled";
> +			};
> +
> +			spi1: spi@f0004000 {
> +				#address-cells = <1>;
> +				#size-cells = <0>;
> +				compatible = "atmel,at91sam9x5-spi";
> +				reg = <0xf0004000 0x100>;
> +				interrupts = <14 4 3>;
> +				status = "disabled";
> +			};
>  		};
>  
>  		nand0: nand@40000000 {
> -- 
> 1.7.9.5
>
Wenyou Yang Feb. 6, 2013, 1:35 a.m. UTC | #2
> -----Original Message-----

> From: Jean-Christophe PLAGNIOL-VILLARD [mailto:plagnioj@jcrosoft.com]

> Sent: 2013?2?6? 3:51

> To: Yang, Wenyou

> Cc: linux-arm-kernel@lists.infradead.org; linux-kernel@vger.kernel.org; Ferre,

> Nicolas; richard.genoud@gmail.com; Lin, JM; linux@arm.linux.org.uk

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

> 

> On 15:34 Mon 14 Jan     , Wenyou Yang wrote:

> > From: Richard Genoud <richard.genoud@gmail.com>

> >

> > Signed-off-by: Richard Genoud <richard.genoud@gmail.com>

> > [wenyou.yang@atmel.com: add spi nodes for sam9260, sam9263, sam9g45

> and sam9n12]

> > [wenyou.yang@atmel.com: remove spi property "cs-gpios" to the board dts

> files]

> > Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>

> > Cc: linux@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

> 

Thanks
I will remove this patch in the next version.

> 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@fffc8000 {

> > +				#address-cells = <1>;

> > +				#size-cells = <0>;

> > +				compatible = "atmel,at91sam9260-spi";

> > +				reg = <0xfffc8000 0x200>;

> > +				interrupts = <12 4 3>;

> > +				status = "disabled";

> > +			};

> > +

> > +			spi1: spi@fffcc000 {

> > +				#address-cells = <1>;

> > +				#size-cells = <0>;

> > +				compatible = "atmel,at91sam9260-spi";

> > +				reg = <0xfffcc000 0x200>;

> > +				interrupts = <13 4 3>;

> > +				status = "disabled";

> > +			};

> > +

> >  			adc0: adc@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@fffa4000 {

> > +				#address-cells = <1>;

> > +				#size-cells = <0>;

> > +				compatible = "atmel,at91sam9260-spi";

> > +				reg = <0xfffa4000 0x200>;

> > +				interrupts = <14 4 3>;

> > +				status = "disabled";

> > +			};

> > +

> > +			spi1: spi@fffa8000 {

> > +				#address-cells = <1>;

> > +				#size-cells = <0>;

> > +				compatible = "atmel,at91sam9260-spi";

> > +				reg = <0xfffa8000 0x200>;

> > +				interrupts = <15 4 3>;

> > +				status = "disabled";

> > +			};

> >  		};

> >

> >  		nand0: nand@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@fffa4000 {

> > +				#address-cells = <1>;

> > +				#size-cells = <0>;

> > +				compatible = "atmel,at91sam9g45-spi";

> > +				reg = <0xfffa4000 0x200>;

> > +				interrupts = <14 4 3>;

> > +				status = "disabled";

> > +			};

> > +

> > +			spi1: spi@fffa8000 {

> > +				#address-cells = <1>;

> > +				#size-cells = <0>;

> > +				compatible = "atmel,at91sam9g45-spi";

> > +				reg = <0xfffa8000 0x200>;

> > +				interrupts = <15 4 3>;

> > +				status = "disabled";

> > +			};

> >  		};

> >

> >  		nand0: nand@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@f0000000 {

> > +				#address-cells = <1>;

> > +				#size-cells = <0>;

> > +				compatible = "atmel,at91sam9x5-spi";

> > +				reg = <0xf0000000 0x100>;

> > +				interrupts = <13 4 3>;

> > +				status = "disabled";

> > +			};

> > +

> > +			spi1: spi@f0004000 {

> > +				#address-cells = <1>;

> > +				#size-cells = <0>;

> > +				compatible = "atmel,at91sam9x5-spi";

> > +				reg = <0xf0004000 0x100>;

> > +				interrupts = <14 4 3>;

> > +				status = "disabled";

> > +			};

> >  		};

> >

> >  		nand0: nand@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@f0000000 {

> > +				#address-cells = <1>;

> > +				#size-cells = <0>;

> > +				compatible = "atmel,at91sam9x5-spi";

> > +				reg = <0xf0000000 0x100>;

> > +				interrupts = <13 4 3>;

> > +				status = "disabled";

> > +			};

> > +

> > +			spi1: spi@f0004000 {

> > +				#address-cells = <1>;

> > +				#size-cells = <0>;

> > +				compatible = "atmel,at91sam9x5-spi";

> > +				reg = <0xf0004000 0x100>;

> > +				interrupts = <14 4 3>;

> > +				status = "disabled";

> > +			};

> >  		};

> >

> >  		nand0: nand@40000000 {

> > --

> > 1.7.9.5

> >


Best Regards,
Wenyou Yang
Nicolas Ferre Feb. 6, 2013, 9:40 a.m. UTC | #3
On 02/06/2013 02:35 AM, Yang, Wenyou :
> 
> 
>> -----Original Message-----
>> From: Jean-Christophe PLAGNIOL-VILLARD [mailto:plagnioj@jcrosoft.com]
>> Sent: 2013?2?6? 3:51
>> To: Yang, Wenyou
>> Cc: linux-arm-kernel@lists.infradead.org; linux-kernel@vger.kernel.org; Ferre,
>> Nicolas; richard.genoud@gmail.com; Lin, JM; linux@arm.linux.org.uk
>> Subject: Re: [v4 PATCH 11/12] ARM: dts: add spi nodes for atmel SoC
>>
>> On 15:34 Mon 14 Jan     , Wenyou Yang wrote:
>>> From: Richard Genoud <richard.genoud@gmail.com>
>>>
>>> Signed-off-by: Richard Genoud <richard.genoud@gmail.com>
>>> [wenyou.yang@atmel.com: add spi nodes for sam9260, sam9263, sam9g45
>> and sam9n12]
>>> [wenyou.yang@atmel.com: remove spi property "cs-gpios" to the board dts
>> files]
>>> Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
>>> Cc: linux@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
>>
> Thanks
> I will remove this patch in the next version.

Well, I am not sure:
Jean Christophe, if the patches are in your own queue, I do not see why
this series has to be modified.

The "I already have a patch to address this" type of comment is not a
proper comment:
1/ either you already have submitted the patch (and the new series has
to take it into
   account, obviously)
2/ or the patch is not public yet and you now have to deal with this
series posted before
   your own one.
There is no a third way...

Best regards,

>>>  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@fffc8000 {
>>> +				#address-cells = <1>;
>>> +				#size-cells = <0>;
>>> +				compatible = "atmel,at91sam9260-spi";
>>> +				reg = <0xfffc8000 0x200>;
>>> +				interrupts = <12 4 3>;
>>> +				status = "disabled";
>>> +			};
>>> +
>>> +			spi1: spi@fffcc000 {
>>> +				#address-cells = <1>;
>>> +				#size-cells = <0>;
>>> +				compatible = "atmel,at91sam9260-spi";
>>> +				reg = <0xfffcc000 0x200>;
>>> +				interrupts = <13 4 3>;
>>> +				status = "disabled";
>>> +			};
>>> +
>>>  			adc0: adc@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@fffa4000 {
>>> +				#address-cells = <1>;
>>> +				#size-cells = <0>;
>>> +				compatible = "atmel,at91sam9260-spi";
>>> +				reg = <0xfffa4000 0x200>;
>>> +				interrupts = <14 4 3>;
>>> +				status = "disabled";
>>> +			};
>>> +
>>> +			spi1: spi@fffa8000 {
>>> +				#address-cells = <1>;
>>> +				#size-cells = <0>;
>>> +				compatible = "atmel,at91sam9260-spi";
>>> +				reg = <0xfffa8000 0x200>;
>>> +				interrupts = <15 4 3>;
>>> +				status = "disabled";
>>> +			};
>>>  		};
>>>
>>>  		nand0: nand@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@fffa4000 {
>>> +				#address-cells = <1>;
>>> +				#size-cells = <0>;
>>> +				compatible = "atmel,at91sam9g45-spi";
>>> +				reg = <0xfffa4000 0x200>;
>>> +				interrupts = <14 4 3>;
>>> +				status = "disabled";
>>> +			};
>>> +
>>> +			spi1: spi@fffa8000 {
>>> +				#address-cells = <1>;
>>> +				#size-cells = <0>;
>>> +				compatible = "atmel,at91sam9g45-spi";
>>> +				reg = <0xfffa8000 0x200>;
>>> +				interrupts = <15 4 3>;
>>> +				status = "disabled";
>>> +			};
>>>  		};
>>>
>>>  		nand0: nand@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@f0000000 {
>>> +				#address-cells = <1>;
>>> +				#size-cells = <0>;
>>> +				compatible = "atmel,at91sam9x5-spi";
>>> +				reg = <0xf0000000 0x100>;
>>> +				interrupts = <13 4 3>;
>>> +				status = "disabled";
>>> +			};
>>> +
>>> +			spi1: spi@f0004000 {
>>> +				#address-cells = <1>;
>>> +				#size-cells = <0>;
>>> +				compatible = "atmel,at91sam9x5-spi";
>>> +				reg = <0xf0004000 0x100>;
>>> +				interrupts = <14 4 3>;
>>> +				status = "disabled";
>>> +			};
>>>  		};
>>>
>>>  		nand0: nand@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@f0000000 {
>>> +				#address-cells = <1>;
>>> +				#size-cells = <0>;
>>> +				compatible = "atmel,at91sam9x5-spi";
>>> +				reg = <0xf0000000 0x100>;
>>> +				interrupts = <13 4 3>;
>>> +				status = "disabled";
>>> +			};
>>> +
>>> +			spi1: spi@f0004000 {
>>> +				#address-cells = <1>;
>>> +				#size-cells = <0>;
>>> +				compatible = "atmel,at91sam9x5-spi";
>>> +				reg = <0xf0004000 0x100>;
>>> +				interrupts = <14 4 3>;
>>> +				status = "disabled";
>>> +			};
>>>  		};
>>>
>>>  		nand0: nand@40000000 {
>>> --
>>> 1.7.9.5
>>>
> 
> Best Regards,
> Wenyou Yang
>
diff mbox

Patch

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@fffc8000 {
+				#address-cells = <1>;
+				#size-cells = <0>;
+				compatible = "atmel,at91sam9260-spi";
+				reg = <0xfffc8000 0x200>;
+				interrupts = <12 4 3>;
+				status = "disabled";
+			};
+
+			spi1: spi@fffcc000 {
+				#address-cells = <1>;
+				#size-cells = <0>;
+				compatible = "atmel,at91sam9260-spi";
+				reg = <0xfffcc000 0x200>;
+				interrupts = <13 4 3>;
+				status = "disabled";
+			};
+
 			adc0: adc@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@fffa4000 {
+				#address-cells = <1>;
+				#size-cells = <0>;
+				compatible = "atmel,at91sam9260-spi";
+				reg = <0xfffa4000 0x200>;
+				interrupts = <14 4 3>;
+				status = "disabled";
+			};
+
+			spi1: spi@fffa8000 {
+				#address-cells = <1>;
+				#size-cells = <0>;
+				compatible = "atmel,at91sam9260-spi";
+				reg = <0xfffa8000 0x200>;
+				interrupts = <15 4 3>;
+				status = "disabled";
+			};
 		};
 
 		nand0: nand@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@fffa4000 {
+				#address-cells = <1>;
+				#size-cells = <0>;
+				compatible = "atmel,at91sam9g45-spi";
+				reg = <0xfffa4000 0x200>;
+				interrupts = <14 4 3>;
+				status = "disabled";
+			};
+
+			spi1: spi@fffa8000 {
+				#address-cells = <1>;
+				#size-cells = <0>;
+				compatible = "atmel,at91sam9g45-spi";
+				reg = <0xfffa8000 0x200>;
+				interrupts = <15 4 3>;
+				status = "disabled";
+			};
 		};
 
 		nand0: nand@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@f0000000 {
+				#address-cells = <1>;
+				#size-cells = <0>;
+				compatible = "atmel,at91sam9x5-spi";
+				reg = <0xf0000000 0x100>;
+				interrupts = <13 4 3>;
+				status = "disabled";
+			};
+
+			spi1: spi@f0004000 {
+				#address-cells = <1>;
+				#size-cells = <0>;
+				compatible = "atmel,at91sam9x5-spi";
+				reg = <0xf0004000 0x100>;
+				interrupts = <14 4 3>;
+				status = "disabled";
+			};
 		};
 
 		nand0: nand@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@f0000000 {
+				#address-cells = <1>;
+				#size-cells = <0>;
+				compatible = "atmel,at91sam9x5-spi";
+				reg = <0xf0000000 0x100>;
+				interrupts = <13 4 3>;
+				status = "disabled";
+			};
+
+			spi1: spi@f0004000 {
+				#address-cells = <1>;
+				#size-cells = <0>;
+				compatible = "atmel,at91sam9x5-spi";
+				reg = <0xf0004000 0x100>;
+				interrupts = <14 4 3>;
+				status = "disabled";
+			};
 		};
 
 		nand0: nand@40000000 {