Intel IXP4xx CompactFlash Card Controller

Schema identifier ($id): "http://devicetree.org/schemas/ata/intel,ixp4xx-compact-flash.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Linus Walleij <linusw@kernel.org>"

The IXP4xx network processors have a CompactFlash interface that presents a CompactFlash card to the system as a true IDE (parallel ATA) device. The device is always connected to the expansion bus of the IXP4xx SoCs using one or two chip select areas and address translating logic on the board. The node must be placed inside a chip select node on the IXP4xx expansion bus.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "intel,ixp4xx-compact-flash"

reg — required here #

Array item rules (items) #

Item 1

Command interface registers

Item 2

Control interface registers

interrupts — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "interrupts"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): pata-common.yaml#

Rule 2 #

Shared schema rule ($ref): /schemas/memory-controllers/intel,ixp4xx-expansion-peripheral-props.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>

bus@c4000000 {
  compatible = "intel,ixp43x-expansion-bus-controller", "syscon";
  reg = <0xc4000000 0x1000>;
  native-endian;
  #address-cells = <2>;
  #size-cells = <1>;
  ranges = <0 0x0 0x50000000 0x01000000>, <1 0x0 0x51000000 0x01000000>;
  dma-ranges = <0 0x0 0x50000000 0x01000000>, <1 0x0 0x51000000 0x01000000>;
  ide@1,0 {
    compatible = "intel,ixp4xx-compact-flash";
    reg = <1 0x00000000 0x1000>, <1 0x00040000 0x1000>;
    interrupt-parent = <&gpio0>;
    interrupts = <12 IRQ_TYPE_EDGE_RISING>;
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page