USB OHCI Controller

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

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

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

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-ohci", "allwinner,sun50i-a100-ohci", "allwinner,sun50i-a64-ohci", "allwinner,sun50i-h6-ohci", "allwinner,sun50i-h616-ohci", "allwinner,sun55i-a523-ohci", "allwinner,sun5i-a13-ohci", "allwinner,sun6i-a31-ohci", "allwinner,sun7i-a20-ohci", "allwinner,sun8i-a23-ohci", "allwinner,sun8i-a83t-ohci", "allwinner,sun8i-h3-ohci", "allwinner,sun8i-r40-ohci", "allwinner,sun8i-v3s-ohci", "allwinner,sun9i-a80-ohci", "allwinner,sun20i-d1-ohci", "brcm,bcm3384-ohci", "brcm,bcm63268-ohci", "brcm,bcm6328-ohci", "brcm,bcm6358-ohci", "brcm,bcm6362-ohci", "brcm,bcm6368-ohci", "brcm,bcm7125-ohci", "brcm,bcm7346-ohci", "brcm,bcm7358-ohci", "brcm,bcm7360-ohci", "brcm,bcm7362-ohci", "brcm,bcm7420-ohci", "brcm,bcm7425-ohci", "brcm,bcm7435-ohci", "hpe,gxp-ohci", "ibm,476gtr-ohci", "ingenic,jz4740-ohci", "rockchip,rk3588-ohci", "snps,hsdk-v1.0-ohci"

Item 2

Exact value (const): "generic-ohci"

Rule 2

Allowed values (enum): "generic-ohci", "ti,ohci-omap3"

Rule 3

Array item rules (items)

Item 1

Allowed values (enum): "cavium,octeon-6335-ohci", "nintendo,hollywood-usb-ohci", "nxp,ohci-nxp", "st,spear600-ohci"

Item 2

Exact value (const): "usb-ohci"

reg — required here #

Maximum number of items (maxItems): 1

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): 2

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.

remote-wakeup-connected — not listed as required here #

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

Remote wakeup is wired on the platform.

no-big-frame-no — not listed as required here #

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

Set if frame_no lives in bits [15:0] of HCCA

num-ports — not listed as required here #

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

Overrides the detected port count

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"

transceiver — not listed as required here #

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

The associated ISP1301 device. Necessary for the UDC controller for connecting to the USB physical layer.

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

All of these rules must match (allOf) #

Rule 1 #

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

Rule 2 #

Condition (if) #

This rule must not match (not)

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "nxp,ohci-nxp"

When the condition matches (then) #

Properties and child nodes (properties)

transceiver — not listed as required here

false — Not permitted by this property rule.

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "rockchip,rk3588-ohci"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 4

When the condition does not match (else) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 3

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

ohci0: usb@1c14400 {
    compatible = "allwinner,sun4i-a10-ohci", "generic-ohci";
    reg = <0x01c14400 0x100>;
    interrupts = <64>;
    clocks = <&usb_clk 6>, <&ahb_gates 2>;
    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