Skip to content

Commit f4da2b6

Browse files
maquefelarndb
authored andcommitted
dt-bindings: ata: Add Cirrus EP93xx
Add YAML bindings for ep93xx SoC PATA. Signed-off-by: Nikita Shubin <nikita.shubin@maquefel.me> Tested-by: Alexander Sverdlin <alexander.sverdlin@gmail.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Reviewed-by: Mark Brown <broonie@kernel.org> Reviewed-by: Andy Shevchenko <andy@kernel.org> Acked-by: Damien Le Moal <dlemoal@kernel.org> Acked-by: Miquel Raynal <miquel.raynal@bootlin.com> Acked-by: Vinod Koul <vkoul@kernel.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
1 parent 853034c commit f4da2b6

1 file changed

Lines changed: 42 additions & 0 deletions

File tree

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/ata/cirrus,ep9312-pata.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Cirrus Logic EP9312 PATA controller
8+
9+
maintainers:
10+
- Damien Le Moal <dlemoal@kernel.org>
11+
12+
properties:
13+
compatible:
14+
oneOf:
15+
- const: cirrus,ep9312-pata
16+
- items:
17+
- const: cirrus,ep9315-pata
18+
- const: cirrus,ep9312-pata
19+
20+
reg:
21+
maxItems: 1
22+
23+
interrupts:
24+
maxItems: 1
25+
26+
required:
27+
- compatible
28+
- reg
29+
- interrupts
30+
31+
additionalProperties: false
32+
33+
examples:
34+
- |
35+
ide@800a0000 {
36+
compatible = "cirrus,ep9312-pata";
37+
reg = <0x800a0000 0x38>;
38+
interrupt-parent = <&vic1>;
39+
interrupts = <8>;
40+
pinctrl-names = "default";
41+
pinctrl-0 = <&ide_default_pins>;
42+
};

0 commit comments

Comments
 (0)