Added AMCC 460EX Canyonlands SATA support.
Subsystems (4)
PATCH v3 2/3 Added AMCC 460EX Canyonlands SATA support.
Signed-off-by Feng Kan <[email protected]>
--- 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
@@ -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
@@ -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