Faraday Technology FOTG200 series HS OTG USB 2.0 controller

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

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

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

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): usb-drd.yaml#

Rule 2 #

Shared schema rule ($ref): usb-hcd.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Exact value (const): "faraday,fotg200"

Rule 2

Exact value (const): "faraday,fotg210"

Rule 3

Array item rules (items)

Item 1

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

Item 2

Exact value (const): "faraday,fotg200"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "PCLK"

resets — not listed as required here #

Maximum number of items (maxItems): 1

syscon — not listed as required here #

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

a phandle to the global Gemini system controller on Gemini systems

dr_mode — not listed as required here #

true — No constraints added by this property rule.

phys — not listed as required here #

Maximum number of items (maxItems): 1

phy-names — not listed as required here #

Exact value (const): "usb2-phy"

Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/clock/cortina,gemini-clock.h>
#include <dt-bindings/reset/cortina,gemini-reset.h>
usb0: usb@68000000 {
    compatible = "cortina,gemini-usb", "faraday,fotg200";
    reg = <0x68000000 0x1000>;
    interrupts = <10 IRQ_TYPE_LEVEL_HIGH>;
    resets = <&syscon GEMINI_RESET_USB0>;
    clocks = <&syscon GEMINI_CLK_GATE_USB0>;
    clock-names = "PCLK";
    syscon = <&syscon>;
    dr_mode = "host";
};

Source notes #

Annotations retained from the schema source

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

Line 2: Copyright 2022 Linaro Ltd.

Edit this page