Imagination Pistachio USB PHY

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

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

Maintainers (maintainers): "Andrew Bresticker <abrestic@chromium.org>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "img,pistachio-usb-phy"

clocks — required here #

Maximum number of items (maxItems): 1

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "usb_phy"

#phy-cells — required here #

Exact value (const): 0

phy-supply — not listed as required here #

USB VBUS supply. Must supply 5.0V.

img,refclk — required here #

Reference clock source for the USB PHY. See <dt-bindings/phy/phy-pistachio-usb.h> for valid values.

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

img,cr-top — required here #

CR_TOP syscon phandle.

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

Required in this object (required): "compatible", "clocks", "clock-names", "#phy-cells", "img,refclk", "img,cr-top"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/phy/phy-pistachio-usb.h>
#include <dt-bindings/clock/pistachio-clk.h>

usb-phy {
    compatible = "img,pistachio-usb-phy";
    clocks = <&clk_core CLK_USB_PHY>;
    clock-names = "usb_phy";
    #phy-cells = <0>;
    phy-supply = <&usb_vbus>;
    img,refclk = <REFCLK_CLK_CORE>;
    img,cr-top = <&cr_top>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page