Intel Keem Bay DWC3 USB controller

Schema identifier ($id): "http://devicetree.org/schemas/usb/intel,keembay-dwc3.yaml#"

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

Maintainers (maintainers): "Wan Ahmad Zainie <wan.ahmad.zainie.wan.mohamad@intel.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "intel,keembay-dwc3"

reg — not listed as required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 4

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "async_master"

Item 2

Exact value (const): "ref"

Item 3

Exact value (const): "alt_ref"

Item 4

Exact value (const): "suspend"

ranges — required here #

true — No constraints added by this property rule.

#address-cells — not listed as required here #

Allowed values (enum): 1, 2

#size-cells — not listed as required here #

Allowed values (enum): 1, 2

Properties matching a name pattern (patternProperties) #

^usb@[0-9a-f]+$ — name matches this regular expression #

Shared schema rule ($ref): snps,dwc3.yaml#

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

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>
#define KEEM_BAY_A53_AUX_USB
#define KEEM_BAY_A53_AUX_USB_REF
#define KEEM_BAY_A53_AUX_USB_ALT_REF
#define KEEM_BAY_A53_AUX_USB_SUSPEND

usb {
    compatible = "intel,keembay-dwc3";
    clocks = <&scmi_clk KEEM_BAY_A53_AUX_USB>,
             <&scmi_clk KEEM_BAY_A53_AUX_USB_REF>,
             <&scmi_clk KEEM_BAY_A53_AUX_USB_ALT_REF>,
             <&scmi_clk KEEM_BAY_A53_AUX_USB_SUSPEND>;
    clock-names = "async_master", "ref", "alt_ref", "suspend";
    ranges;
    #address-cells = <1>;
    #size-cells = <1>;

    usb@34000000 {
        compatible = "snps,dwc3";
        reg = <0x34000000 0x10000>;
        interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
        dr_mode = "peripheral";
    };
};

Source notes #

Annotations retained from the schema source

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

Line 37: Required child node:

Edit this page