summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2012-06-10 16:45:37 +0200
committerAndrew Lunn <andrew@lunn.ch>2012-07-27 16:48:45 +0200
commit97b414e119ccc7216e29c3bd62fe1a1797f21404 (patch)
tree3e2104f4e1ce2b8ae7451084d8ca6e0c2c463e27 /Documentation
parent1e7bad0f5b91150fef78d732095ca84ca4a16585 (diff)
downloadop-kernel-dev-97b414e119ccc7216e29c3bd62fe1a1797f21404.zip
op-kernel-dev-97b414e119ccc7216e29c3bd62fe1a1797f21404.tar.gz
ATA: sata_mv: Add device tree support
Add support for instantiating this driver from device tree, and add the necassary DT information to the kirkwood.dtsi file. This is based on previous work by Michael Walle and Jason Cooper. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Tested-by: Josh Coombs <josh.coombs@gmail.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/ata/marvell.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/ata/marvell.txt b/Documentation/devicetree/bindings/ata/marvell.txt
new file mode 100644
index 0000000..b5cdd20
--- /dev/null
+++ b/Documentation/devicetree/bindings/ata/marvell.txt
@@ -0,0 +1,16 @@
+* Marvell Orion SATA
+
+Required Properties:
+- compatibility : "marvell,orion-sata"
+- reg : Address range of controller
+- interrupts : Interrupt controller is using
+- nr-ports : Number of SATA ports in use.
+
+Example:
+
+ sata@80000 {
+ compatible = "marvell,orion-sata";
+ reg = <0x80000 0x5000>;
+ interrupts = <21>;
+ nr-ports = <2>;
+ }
OpenPOWER on IntegriCloud