Generic Platform UHCI Controller

Schema identifier ($id): "http://devicetree.org/schemas/usb/usb-uhci.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

Exact value (const): "generic-uhci"

Rule 2

Exact value (const): "platform-uhci"

Deprecated (deprecated): true

Rule 3

Array item rules (items)

Item 1

Allowed values (enum): "aspeed,ast2400-uhci", "aspeed,ast2500-uhci", "aspeed,ast2600-uhci", "aspeed,ast2700-uhci"

Item 2

Exact value (const): "generic-uhci"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

resets — not listed as required here #

Maximum number of items (maxItems): 1

#ports — not listed as required here #

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

clocks — not listed as 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): usb-hcd.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): "generic-uhci"

When the condition matches (then) #

Required in this object (required): "clocks"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "aspeed,ast2700-uhci"

When the condition matches (then) #

Required in this object (required): "resets"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/aspeed-clock.h>

usb@d8007b00 {
    compatible = "generic-uhci";
    reg = <0xd8007b00 0x200>;
    interrupts = <43>;
    clocks = <&syscon ASPEED_CLK_GATE_USBUHCICLK>;
};
#include <dt-bindings/clock/aspeed-clock.h>

usb@1e6b0000 {
    compatible = "aspeed,ast2500-uhci", "generic-uhci";
    reg = <0x1e6b0000 0x100>;
    interrupts = <14>;
    #ports = <2>;
    clocks = <&syscon ASPEED_CLK_GATE_USBUHCICLK>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page