Path: blob/master/Documentation/devicetree/bindings/ata/intel,ixp4xx-compact-flash.yaml
26308 views
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/ata/intel,ixp4xx-compact-flash.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Intel IXP4xx CompactFlash Card Controller78maintainers:9- Linus Walleij <linus.walleij@linaro.org>1011description: |12The IXP4xx network processors have a CompactFlash interface that presents13a CompactFlash card to the system as a true IDE (parallel ATA) device. The14device is always connected to the expansion bus of the IXP4xx SoCs using one15or two chip select areas and address translating logic on the board. The16node must be placed inside a chip select node on the IXP4xx expansion bus.1718properties:19compatible:20const: intel,ixp4xx-compact-flash2122reg:23items:24- description: Command interface registers25- description: Control interface registers2627interrupts:28maxItems: 12930required:31- compatible32- reg33- interrupts3435allOf:36- $ref: pata-common.yaml#37- $ref: /schemas/memory-controllers/intel,ixp4xx-expansion-peripheral-props.yaml#3839unevaluatedProperties: false4041examples:42- |43#include <dt-bindings/interrupt-controller/irq.h>4445bus@c4000000 {46compatible = "intel,ixp43x-expansion-bus-controller", "syscon";47reg = <0xc4000000 0x1000>;48native-endian;49#address-cells = <2>;50#size-cells = <1>;51ranges = <0 0x0 0x50000000 0x01000000>, <1 0x0 0x51000000 0x01000000>;52dma-ranges = <0 0x0 0x50000000 0x01000000>, <1 0x0 0x51000000 0x01000000>;53ide@1,0 {54compatible = "intel,ixp4xx-compact-flash";55reg = <1 0x00000000 0x1000>, <1 0x00040000 0x1000>;56interrupt-parent = <&gpio0>;57interrupts = <12 IRQ_TYPE_EDGE_RISING>;58};59};6061...626364