Broadcom Stingray USB PHY

Schema identifier ($id): "http://devicetree.org/schemas/phy/brcm,sr-usb-combo-phy.yaml#"

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

Maintainers (maintainers): "Ray Jui <rjui@broadcom.com>", "Scott Branden <sbranden@broadcom.com>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "brcm,sr-usb-combo-phy", "brcm,sr-usb-hs-phy"

reg — required here #

Maximum number of items (maxItems): 1

#phy-cells — required here #

PHY cell count indicating PHY type

Allowed values (enum): 0, 1

Required in this object (required): "compatible", "reg", "#phy-cells"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "brcm,sr-usb-combo-phy"

When the condition matches (then) #

Properties and child nodes (properties)

#phy-cells — not listed as required here

Exact value (const): 1

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "brcm,sr-usb-hs-phy"

When the condition matches (then) #

Properties and child nodes (properties)

#phy-cells — not listed as required here

Exact value (const): 0

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

false

Not allowed by this rule.

Examples (examples) #

usb-phy@0 {
    compatible = "brcm,sr-usb-combo-phy";
    reg = <0x00000000 0x100>;
    #phy-cells = <1>;
};
usb-phy@20000 {
    compatible = "brcm,sr-usb-hs-phy";
    reg = <0x00020000 0x100>;
    #phy-cells = <0>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page