USB NOP PHY

Schema identifier ($id): "http://devicetree.org/schemas/usb/usb-nop-xceiv.yaml#"

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

Maintainers (maintainers): "Rob Herring <robh@kernel.org>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "usb-nop-xceiv"

clocks — not listed as required here #

Maximum number of items (maxItems): 1

clock-names — not listed as required here #

Exact value (const): "main_clk"

clock-frequency — not listed as required here #

true — No constraints added by this property rule.

#phy-cells — required here #

Exact value (const): 0

vcc-supply — not listed as required here #

phandle to the regulator that provides power to the PHY.

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

reset-gpios — not listed as required here #

Maximum number of items (maxItems): 1

vbus-detect-gpio — not listed as required here #

Should specify the GPIO detecting a VBus insertion

Maximum number of items (maxItems): 1

vbus-supply — not listed as required here #

regulator supplying VBUS. It will be enabled and disabled dynamically in OTG mode. If the regulator is controlled by a GPIO line, this should be modeled as a regulator-fixed and referenced by this supply.

wakeup-source — not listed as required here #

Specify if the USB phy can detect the remote wakeup signal while the system sleep.

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

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>

hsusb1_phy {
    compatible = "usb-nop-xceiv";
    clock-frequency = <19200000>;
    clocks = <&osc 0>;
    clock-names = "main_clk";
    vcc-supply = <&hsusb1_vcc_regulator>;
    reset-gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
    vbus-detect-gpio = <&gpio2 13 GPIO_ACTIVE_HIGH>;
    vbus-supply = <&vbus_regulator>;
    #phy-cells = <0>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Edit this page