Merge tag 'mips_5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / ata / intel,ixp4xx-compact-flash.yaml
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/ata/intel,ixp4xx-compact-flash.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Intel IXP4xx CompactFlash Card Controller
8
9 maintainers:
10   - Linus Walleij <linus.walleij@linaro.org>
11
12 description: |
13   The IXP4xx network processors have a CompactFlash interface that presents
14   a CompactFlash card to the system as a true IDE (parallel ATA) device. The
15   device is always connected to the expansion bus of the IXP4xx SoCs using one
16   or two chip select areas and address translating logic on the board. The
17   node must be placed inside a chip select node on the IXP4xx expansion bus.
18
19 properties:
20   compatible:
21     const: intel,ixp4xx-compact-flash
22
23   reg:
24     items:
25       - description: Command interface registers
26       - description: Control interface registers
27
28   interrupts:
29     maxItems: 1
30
31 required:
32   - compatible
33   - reg
34   - interrupts
35
36 allOf:
37   - $ref: pata-common.yaml#
38
39 unevaluatedProperties: false
40
41 examples:
42   - |
43     #include <dt-bindings/interrupt-controller/irq.h>
44
45     bus@c4000000 {
46       compatible = "intel,ixp43x-expansion-bus-controller", "syscon";
47       reg = <0xc4000000 0x1000>;
48       native-endian;
49       #address-cells = <2>;
50       #size-cells = <1>;
51       ranges = <0 0x0 0x50000000 0x01000000>, <1 0x0 0x51000000 0x01000000>;
52       dma-ranges = <0 0x0 0x50000000 0x01000000>, <1 0x0 0x51000000 0x01000000>;
53       ide@1,0 {
54         compatible = "intel,ixp4xx-compact-flash";
55         reg = <1 0x00000000 0x1000>, <1 0x00040000 0x1000>;
56         interrupt-parent = <&gpio0>;
57         interrupts = <12 IRQ_TYPE_EDGE_RISING>;
58       };
59     };
60
61 ...