Skip to contentSkip to conversation

Added AMCC 460EX Canyonlands SATA support.

PATCH In review Feng Kan 1 participant 1 message May 6, 2009

Subsystems (4)
lore
Share & tools
lore

Feng Kan

author
#0 lore raw

PATCH v3 2/3 Added AMCC 460EX Canyonlands SATA support.

---
 arch/powerpc/boot/dts/canyonlands.dts  |    8 ++
 arch/powerpc/platforms/44x/Makefile    |    4 +
 arch/powerpc/platforms/44x/amcc-sata.c |  125 ++++++++++++++++++++++++++++++++
 3 files changed, 137 insertions(+), 0 deletions(-)
 create mode 100644 arch/powerpc/platforms/44x/amcc-sata.c
arch/powerpc/boot/dts/canyonlands.dts +8 -0
index 5fd1ad0..b536223 100644
@@ -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 = <0 4       /* SATA */
+                                      5 4>;     /* AHBDMA */
+                };
+
 		POB0: opb {
 			compatible = "ibm,opb-460ex", "ibm,opb";
 			#address-cells = <1>;
arch/powerpc/platforms/44x/Makefile +4 -0
index 01f51da..fa0a999 100644
@@ -4,3 +4,7 @@ obj-$(CONFIG_EBONY)	+= ebony.o
 obj-$(CONFIG_SAM440EP) 	+= sam440ep.o
 obj-$(CONFIG_WARP)	+= warp.o
 obj-$(CONFIG_XILINX_VIRTEX_5_FXT) += virtex.o
+ifeq ($(CONFIG_SATA_DWC),y)
+obj-$(CONFIG_CANYONLANDS) += amcc-sata.o
+endif
+
arch/powerpc/platforms/44x/amcc-sata.c new file +125 -0

125 lines not on this page · raw message

Signature · 1 line
1.5.5