USB EHCI Controller

Schema identifier ($id): "http://devicetree.org/schemas/usb/generic-ehci.yaml#"

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

Maintainers (maintainers): "Greg Kroah-Hartman <gregkh@linuxfoundation.org>"

All of these rules must match (allOf) #

Rule 1 #

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

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

This rule must not match (not)

Rule for matching array elements (contains)

Exact value (const): "ibm,usb-ehci-440epx"

When the condition matches (then) #

Properties and child nodes (properties)

reg — not listed as required here

Maximum number of items (maxItems): 1

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "allwinner,sun4i-a10-ehci", "allwinner,sun50i-a100-ehci", "allwinner,sun50i-a64-ehci", "allwinner,sun50i-h6-ehci", "allwinner,sun50i-h616-ehci", "allwinner,sun55i-a523-ehci", "allwinner,sun5i-a13-ehci", "allwinner,sun6i-a31-ehci", "allwinner,sun7i-a20-ehci", "allwinner,sun8i-a23-ehci", "allwinner,sun8i-a83t-ehci", "allwinner,sun8i-h3-ehci", "allwinner,sun8i-r40-ehci", "allwinner,sun8i-v3s-ehci", "allwinner,sun9i-a80-ehci", "allwinner,sun20i-d1-ehci", "aspeed,ast2400-ehci", "aspeed,ast2500-ehci", "aspeed,ast2600-ehci", "aspeed,ast2700-ehci", "brcm,bcm3384-ehci", "brcm,bcm63268-ehci", "brcm,bcm6328-ehci", "brcm,bcm6358-ehci", "brcm,bcm6362-ehci", "brcm,bcm6368-ehci", "brcm,bcm7125-ehci", "brcm,bcm7346-ehci", "brcm,bcm7358-ehci", "brcm,bcm7360-ehci", "brcm,bcm7362-ehci", "brcm,bcm7420-ehci", "brcm,bcm7425-ehci", "brcm,bcm7435-ehci", "hpe,gxp-ehci", "ibm,476gtr-ehci", "nxp,lpc1850-ehci", "qca,ar7100-ehci", "rockchip,rk3588-ehci", "snps,hsdk-v1.0-ehci", "socionext,uniphier-ehci"

Item 2

Exact value (const): "generic-ehci"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "atmel,at91sam9g45-ehci", "cavium,octeon-6335-ehci", "ibm,usb-ehci-440epx", "ibm,usb-ehci-460ex", "nintendo,hollywood-usb-ehci", "st,spear600-ehci"

Item 2

Exact value (const): "usb-ehci"

Rule 3

Allowed values (enum): "generic-ehci", "marvell,ac5-ehci", "marvell,armada-3700-ehci", "marvell,orion-ehci", "nuvoton,npcm750-ehci", "nuvoton,npcm845-ehci", "ti,ehci-omap", "usb-ehci", "via,vt8500-ehci"

reg — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

dma-coherent — not listed as required here #

true — No constraints added by this property rule.

interrupts — required here #

Maximum number of items (maxItems): 1

resets — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 4

clocks — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 4

In case the Renesas R-Car Gen3 SoCs:
  - if a host only channel: first clock should be host.
  - if a USB DRD channel: first clock should be host and second
    one should be peripheral

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

big-endian — not listed as required here #

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

Set this flag for HCDs with big endian descriptors and big endian registers.

big-endian-desc — not listed as required here #

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

Set this flag for HCDs with big endian descriptors.

big-endian-regs — not listed as required here #

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

Set this flag for HCDs with big endian registers.

has-transaction-translator — not listed as required here #

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

Set this flag if EHCI has a Transaction Translator built into the root hub.

needs-reset-on-resume — not listed as required here #

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

Set this flag to force EHCI reset after resume.

spurious-oc — not listed as required here #

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

Set this flag to indicate that the hardware sometimes turns on the OC bit when an over-current isn't actually present.

phys — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 3

phy-names — not listed as required here #

Exact value (const): "usb"

iommus — not listed as required here #

Maximum number of items (maxItems): 1

dr_mode — not listed as required here #

Allowed values (enum): "host", "otg"

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

usb@e0000300 {
    compatible = "ibm,usb-ehci-440epx", "usb-ehci";
    interrupt-parent = <&UIC0>;
    interrupts = <0x1a 4>;
    reg = <0xe0000300 90>, <0xe0000390 70>;
    big-endian;
};
ehci0: usb@1c14000 {
    compatible = "allwinner,sun4i-a10-ehci", "generic-ehci";
    reg = <0x01c14000 0x100>;
    interrupts = <39>;
    clocks = <&ahb_gates 1>;
    phys = <&usbphy 1>;
    phy-names = "usb";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Edit this page