dt-bindings: ata: Add DT bindings ep93xx pata
authorNikita Shubin <nikita.shubin@maquefel.me>
Sat, 19 Nov 2022 08:35:39 +0000 (11:35 +0300)
committerNikita Shubin <nikita.shubin@maquefel.me>
Sun, 27 Nov 2022 09:19:51 +0000 (12:19 +0300)
Add YAML bindings ep93xx SoC.

Signed-off-by: Nikita Shubin <nikita.shubin@maquefel.me>
Documentation/devicetree/bindings/ata/cirrus,ep93xx-pata.yml [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/ata/cirrus,ep93xx-pata.yml b/Documentation/devicetree/bindings/ata/cirrus,ep93xx-pata.yml
new file mode 100644 (file)
index 0000000..9af946d
--- /dev/null
@@ -0,0 +1,39 @@
+# SPDX-License-Identifier: GPL-2.0
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/ata/cirrus,ep93xx-pata.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: EP93XX PATA controller driver
+
+maintainers:
+  - Damien Le Moal <damien.lemoal@opensource.wdc.com>
+
+properties:
+  compatible:
+    const: cirrus,ep93xx-pata
+
+  reg:
+    maxItems: 1
+
+  interrupts:
+    maxItems: 1
+
+required:
+  - compatible
+  - reg
+  - interrupts
+
+additionalProperties: false
+
+examples:
+  - |
+    ide@800a0000 {
+        compatible = "cirrus,ep93xx-pata";
+        reg = <0x800a0000 0x38>;
+        interrupt-parent = <&vic1>;
+        interrupts = <8>;
+        pinctrl-names = "default";
+        pinctrl-0 = <&ide_default_pins>;
+    };
+