Patchwork [3/3,v3] Add 4xx SATA dts node documentation

login
register
mail settings
Submitter fkan@amcc.com
Date May 6, 2009, 5:49 p.m.
Message ID <1241632186-2613-1-git-send-email-fkan@amcc.com>
Download mbox | patch
Permalink /patch/26919/
State Changes Requested
Headers show

Comments

fkan@amcc.com - May 6, 2009, 5:49 p.m.
Signed-off-by: Feng Kan <fkan@amcc.com>
---
 Documentation/powerpc/dts-bindings/4xx/sata.txt |   24 +++++++++++++++++++++++
 1 files changed, 24 insertions(+), 0 deletions(-)
 create mode 100644 Documentation/powerpc/dts-bindings/4xx/sata.txt
Sergei Shtylyov - May 8, 2009, 1:35 p.m.
Feng Kan wrote:

> Signed-off-by: Feng Kan <fkan@amcc.com>

[...]

> diff --git a/Documentation/powerpc/dts-bindings/4xx/sata.txt b/Documentation/powerpc/dts-bindings/4xx/sata.txt
> new file mode 100644
> index 0000000..3ce00d0
> --- /dev/null
> +++ b/Documentation/powerpc/dts-bindings/4xx/sata.txt
> @@ -0,0 +1,24 @@
> +AMCC SoC SATA Support 
> +
> +This following is only for the 460ex support for Designware SATA core
> +
> +Required properties:
> +- compatible : "amcc,sata-460ex".
> +- reg : the first set defines SATA controller register, the second set
> +        is for the AHB DMA controller for SATA.
> +- interrupt-parent: UIC3
> +- interrupts: one for SATA and one for the DMA
> +
> +Notes:
> +The SATA is only available when the first PCIe port is disabled.
> +
> +Example:
> +
> +SATA0: sata@bffd1000 {
> +	compatible = "amcc,sata-460ex";
> +        reg = <4 0xbffd1000 0x800 4 0xbffd0800 0x400>;

     Spaces ISO tab.

> +	interrupt-parent = <&UIC3>;
> +	interrupts = <0 4       /* SATA */
> +		      5 4>;     /* AHBDMA */
> +};
> +

MBR, Sergei

Patch

diff --git a/Documentation/powerpc/dts-bindings/4xx/sata.txt b/Documentation/powerpc/dts-bindings/4xx/sata.txt
new file mode 100644
index 0000000..3ce00d0
--- /dev/null
+++ b/Documentation/powerpc/dts-bindings/4xx/sata.txt
@@ -0,0 +1,24 @@ 
+AMCC SoC SATA Support 
+
+This following is only for the 460ex support for Designware SATA core
+
+Required properties:
+- compatible : "amcc,sata-460ex".
+- reg : the first set defines SATA controller register, the second set
+        is for the AHB DMA controller for SATA.
+- interrupt-parent: UIC3
+- interrupts: one for SATA and one for the DMA
+
+Notes:
+The SATA is only available when the first PCIe port is disabled.
+
+Example:
+
+SATA0: sata@bffd1000 {
+	compatible = "amcc,sata-460ex";
+        reg = <4 0xbffd1000 0x800 4 0xbffd0800 0x400>;
+	interrupt-parent = <&UIC3>;
+	interrupts = <0 4       /* SATA */
+		      5 4>;     /* AHBDMA */
+};
+