Patchwork Device tree update for the 460ex DWC SATA

login
register
mail settings
Submitter Rupjyoti Sarmah
Date May 28, 2010, 12:15 p.m.
Message ID <201005281215.o4SCFKNi025548@amcc.com>
Download mbox | patch
Permalink /patch/53889/
State Superseded
Delegated to: Josh Boyer
Headers show

Comments

Rupjyoti Sarmah - May 28, 2010, 12:15 p.m.
Device tree update for the Applied micro processor 460ex on-chip SATA.

Signed-off-by: Rupjyoti Sarmah <rsarmah@appliedmicro.com>
---
 arch/powerpc/boot/dts/canyonlands.dts |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
Sergei Shtylyov - May 28, 2010, 12:32 p.m.
Hello.

Rupjyoti Sarmah wrote:

> Device tree update for the Applied micro processor 460ex on-chip SATA.

> Signed-off-by: Rupjyoti Sarmah <rsarmah@appliedmicro.com>

[...]

> diff --git a/arch/powerpc/boot/dts/canyonlands.dts b/arch/powerpc/boot/dts/canyonlands.dts
> index cd56bb5..d3b2c99 100644
> --- a/arch/powerpc/boot/dts/canyonlands.dts
> +++ b/arch/powerpc/boot/dts/canyonlands.dts
> @@ -163,6 +163,14 @@
>  			interrupts = <0x1e 4>;
>  		};
>  
> +		SATA0: sata@bffd1000 {
> +                        compatible = "amcc,sata-460ex";
> +			reg = <4 0xbffd1000 0x800 4 0xbffd0800 0x400>;
> +                        interrupt-parent = <&UIC3>;
> +                        interrupts = <0x0 0x4       /* SATA */
> +                                      0x5 0x4>;     /* AHBDMA */

    Please indent only using tabs consistently.

WBR, Sergei

Patch

diff --git a/arch/powerpc/boot/dts/canyonlands.dts b/arch/powerpc/boot/dts/canyonlands.dts
index cd56bb5..d3b2c99 100644
--- a/arch/powerpc/boot/dts/canyonlands.dts
+++ b/arch/powerpc/boot/dts/canyonlands.dts
@@ -163,6 +163,14 @@ 
 			interrupts = <0x1e 4>;
 		};
 
+		SATA0: sata@bffd1000 {
+                        compatible = "amcc,sata-460ex";
+			reg = <4 0xbffd1000 0x800 4 0xbffd0800 0x400>;
+                        interrupt-parent = <&UIC3>;
+                        interrupts = <0x0 0x4       /* SATA */
+                                      0x5 0x4>;     /* AHBDMA */
+                };
+
 		POB0: opb {
 			compatible = "ibm,opb-460ex", "ibm,opb";
 			#address-cells = <1>;