Faraday Technology FTIDE010 PATA controller

Schema identifier ($id): "http://devicetree.org/schemas/ata/faraday,ftide010.yaml#"

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

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

This controller is the first Faraday IDE interface block, used in the StorLink SL3512 and SL3516, later known as the Cortina Systems Gemini platform. The controller can do PIO modes 0 through 4, Multi-word DMA (MWDM) modes 0 through 2 and Ultra DMA modes 0 through 6.

On the Gemini platform, this PATA block is accompanied by a PATA to SATA bridge in order to support SATA. This is why a phandle to that controller is compulsory on that platform.

The timing properties are unique per-SoC, not per-board.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Exact value (const): "faraday,ftide010"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "cortina,gemini-pata"

Item 2

Exact value (const): "faraday,ftide010"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Minimum number of items (minItems): 1

clock-names — not listed as required here #

Exact value (const): "PCLK"

sata — not listed as required here #

phandle to the Gemini PATA to SATA bridge, if available

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

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 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "cortina,gemini-pata"

When the condition matches (then) #

Required in this object (required): "sata"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/clock/cortina,gemini-clock.h>

ide@63000000 {
  compatible = "cortina,gemini-pata", "faraday,ftide010";
  reg = <0x63000000 0x100>;
  interrupts = <4 IRQ_TYPE_EDGE_RISING>;
  clocks = <&gcc GEMINI_CLK_GATE_IDE>;
  clock-names = "PCLK";
  sata = <&sata>;
  #address-cells = <1>;
  #size-cells = <0>;
  ide-port@0 {
    reg = <0>;
  };
  ide-port@1 {
    reg = <1>;
  };
};

Source notes #

Annotations retained from the schema source

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

Edit this page