devicetree:bindings: add devicetree bindings for ceva ahci
authorSuneel Garapati <suneel.garapati@xilinx.com>
Tue, 9 Jun 2015 08:53:49 +0000 (14:23 +0530)
committerTejun Heo <tj@kernel.org>
Wed, 10 Jun 2015 02:15:17 +0000 (11:15 +0900)
adds bindings for CEVA AHCI SATA controller. optional property
broken-gen2 is useful incase of hardware speed limitation.

Signed-off-by: Suneel Garapati <suneel.garapati@xilinx.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Documentation/devicetree/bindings/ata/ahci-ceva.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/ata/ahci-ceva.txt b/Documentation/devicetree/bindings/ata/ahci-ceva.txt
new file mode 100644 (file)
index 0000000..7ca8b97
--- /dev/null
@@ -0,0 +1,20 @@
+Binding for CEVA AHCI SATA Controller
+
+Required properties:
+  - reg: Physical base address and size of the controller's register area.
+  - compatible: Compatibility string. Must be 'ceva,ahci-1v84'.
+  - clocks: Input clock specifier. Refer to common clock bindings.
+  - interrupts: Interrupt specifier. Refer to interrupt binding.
+
+Optional properties:
+  - ceva,broken-gen2: limit to gen1 speed instead of gen2.
+
+Examples:
+       ahci@fd0c0000 {
+               compatible = "ceva,ahci-1v84";
+               reg = <0xfd0c0000 0x200>;
+               interrupt-parent = <&gic>;
+               interrupts = <0 133 4>;
+               clocks = <&clkc SATA_CLK_ID>;
+               ceva,broken-gen2;
+       };