summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/ata/imx-sata.txt
diff options
context:
space:
mode:
authorShawn Guo2014-06-24 12:19:27 +0200
committerTejun Heo2014-07-01 23:24:39 +0200
commit23a7c31e4a1c2e0acfa91c6360636e4ac6d8dd40 (patch)
tree150770d850b42c3fe7292103e4984f5966ea01a5 /Documentation/devicetree/bindings/ata/imx-sata.txt
parentata: pata_samsung_cf: removes s5pc100 related ata codes (diff)
downloadkernel-qcow2-linux-23a7c31e4a1c2e0acfa91c6360636e4ac6d8dd40.tar.gz
kernel-qcow2-linux-23a7c31e4a1c2e0acfa91c6360636e4ac6d8dd40.tar.xz
kernel-qcow2-linux-23a7c31e4a1c2e0acfa91c6360636e4ac6d8dd40.zip
dt-bindings: ata: create bindings for imx sata controller
To: Tejun Heo <tj@kernel.org>,linux-ide@vger.kernel.org The Freescale i.MX SATA controller mostly conforms to the AHCI interface, but there are some special extensions at integration level like clocks settings and hardware parameters. Let's create a separate bindings doc for imx sata controller, so that more imx specific properties can be added later without messing up the generic ahci-platform bindings. Signed-off-by: Shawn Guo <shawn.guo@freescale.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/ata/imx-sata.txt')
-rw-r--r--Documentation/devicetree/bindings/ata/imx-sata.txt26
1 files changed, 26 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/ata/imx-sata.txt b/Documentation/devicetree/bindings/ata/imx-sata.txt
new file mode 100644
index 000000000000..aeb99dd986b0
--- /dev/null
+++ b/Documentation/devicetree/bindings/ata/imx-sata.txt
@@ -0,0 +1,26 @@
+* Freescale i.MX AHCI SATA Controller
+
+The Freescale i.MX SATA controller mostly conforms to the AHCI interface
+with some special extensions at integration level.
+
+Required properties:
+- compatible : should be one of the following:
+ - "fsl,imx53-ahci" for i.MX53 SATA controller
+ - "fsl,imx6q-ahci" for i.MX6Q SATA controller
+- interrupts : interrupt mapping for SATA IRQ
+- reg : registers mapping
+- clocks : list of clock specifiers, must contain an entry for each
+ required entry in clock-names
+- clock-names : should include "sata", "sata_ref" and "ahb" entries
+
+Examples:
+
+sata@02200000 {
+ compatible = "fsl,imx6q-ahci";
+ reg = <0x02200000 0x4000>;
+ interrupts = <0 39 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&clks IMX6QDL_CLK_SATA>,
+ <&clks IMX6QDL_CLK_SATA_REF_100M>,
+ <&clks IMX6QDL_CLK_AHB>;
+ clock-names = "sata", "sata_ref", "ahb";
+};