[PATCH 1/4] Add DMA sector to Documentation/powerpc/booting-without-of.txt file.

Zhang Wei wei.zhang at freescale.com
Tue Jul 10 19:44:21 EST 2007


This patch adds DMA sector to Documentation/powerpc/booting-without-of.txt file.

Signed-off-by: Zhang Wei <wei.zhang at freescale.com>
Signed-off-by: Ebony Zhu <ebony.zhu at freescale.com>
---
 Documentation/powerpc/booting-without-of.txt |   60 ++++++++++++++++++++++++++
 1 files changed, 60 insertions(+), 0 deletions(-)

diff --git a/Documentation/powerpc/booting-without-of.txt b/Documentation/powerpc/booting-without-of.txt
index c169299..08c619f 100644
--- a/Documentation/powerpc/booting-without-of.txt
+++ b/Documentation/powerpc/booting-without-of.txt
@@ -1790,6 +1790,66 @@ platforms are moved over to use the flattened-device-tree model.
  		partition-names = "fs\0firmware";
  	};
 
+   k) DMA
+
+   This sector define DMA for dma-engine driver of Freescale
+   MPC8xxx silicon. For each DMA setor, you should define
+   channels included.
+   Please see below 'l) DMA channel' for DMA channel's definition.
+
+   Required properties:
+
+    - compatible : Should be "fsl,mpc8xxx-dma"
+    - reg : Offset and length of the register set for the device
+    - ranges : Should be defined as specified in 1) to describe the
+               DMA controller's register.
+
+  Example:
+	dma at 21000{
+		compatible = "fsl,mpc8xxx-dma";
+		reg = <21000 100>;
+		ranges = <0 21000 1000>;
+		ch0 at 100{
+			reg = <100 80>;
+			extended;
+			reserved;
+			interrupt-parent = <&mpic>;
+			interrupts = <14 2>;
+		};
+		ch1 at 180{
+			reg = <180 80>;
+			extended;
+			reserved;
+			interrupt-parent = <&mpic>;
+			interrupts = <15 2>;
+		};
+		ch2 at 200{
+			reg = <200 80>;
+			extended;
+			interrupt-parent = <&mpic>;
+			interrupts = <16 2>;
+		};
+		ch3 at 280{
+			reg = <280 80>;
+			extended;
+			interrupt-parent = <&mpic>;
+			interrupts = <17 2>;
+		};
+	};
+
+   l) DMA channel
+
+   Required properties:
+
+    - reg : Offset and length of the register set for the device
+
+   Recommended properties :
+
+    - extended : Set the DMA channel to work at extended chain mode.
+                 If not set, the DMA channel will work at basic
+                 chain mode.
+    - reserved : Reserve the DMA channel to device.
+
    More devices will be defined as this spec matures.
 
 VII - Specifying interrupt information for devices
-- 
1.5.1




More information about the Linuxppc-dev mailing list