Microchip MPFS USB Controller

Schema identifier ($id): "http://devicetree.org/schemas/usb/microchip,mpfs-musb.yaml#"

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

All of these rules must match (allOf) #

Rule 1 #

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

Maintainers (maintainers): "Conor Dooley <conor.dooley@microchip.com>"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Exact value (const): "microchip,pic64gx-musb"

Item 2

Exact value (const): "microchip,mpfs-musb"

Rule 2

Exact value (const): "microchip,mpfs-musb"

dr_mode — not listed as required here #

true — No constraints added by this property rule.

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

interrupt-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "dma"

Item 2

Exact value (const): "mc"

clocks — required here #

Maximum number of items (maxItems): 1

microchip,ext-vbus-drv — not listed as required here #

Some ULPI USB PHYs do not support an internal VBUS supply and driving the CPEN pin requires the configuration of the UPLI_USE__EXTVBUS bit in ULPI_BUSCONTROL.

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

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

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

false

Not allowed by this rule.

Examples (examples) #

#include "dt-bindings/clock/microchip,mpfs-clock.h"
usb@20201000 {
    compatible = "microchip,mpfs-musb";
    reg = <0x20201000 0x1000>;
    clocks = <&clkcfg CLK_USB>;
    interrupt-parent = <&plic>;
    interrupts = <86>, <87>;
    interrupt-names = "dma", "mc";
    dr_mode = "host";
};

Source notes #

Annotations retained from the schema source

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

Edit this page