brintos

brintos / linux-shallow public Read only

0
0
Text · 1.6 KiB · 9b3ea23 Raw
74 lines · yaml
1# SPDX-License-Identifier: GPL-2.02%YAML 1.23---4$id: http://devicetree.org/schemas/usb/usb-nop-xceiv.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: USB NOP PHY8 9maintainers:10  - Rob Herring <robh@kernel.org>11 12properties:13  compatible:14    const: usb-nop-xceiv15 16  clocks:17    maxItems: 118 19  clock-names:20    const: main_clk21 22  clock-frequency: true23 24  '#phy-cells':25    const: 026 27  vcc-supply:28    description: phandle to the regulator that provides power to the PHY.29 30  power-domains:31    maxItems: 132 33  reset-gpios:34    maxItems: 135 36  vbus-detect-gpio:37    description: Should specify the GPIO detecting a VBus insertion38    maxItems: 139 40  vbus-supply:41    description: regulator supplying VBUS. It will be enabled and disabled42                 dynamically in OTG mode. If the regulator is controlled by a43                 GPIO line, this should be modeled as a regulator-fixed and44                 referenced by this supply.45 46  wakeup-source:47    description:48      Specify if the USB phy can detect the remote wakeup signal49      while the system sleep.50 51required:52  - compatible53  - '#phy-cells'54 55additionalProperties: false56 57examples:58  - |59    #include <dt-bindings/gpio/gpio.h>60 61    hsusb1_phy {62        compatible = "usb-nop-xceiv";63        clock-frequency = <19200000>;64        clocks = <&osc 0>;65        clock-names = "main_clk";66        vcc-supply = <&hsusb1_vcc_regulator>;67        reset-gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;68        vbus-detect-gpio = <&gpio2 13 GPIO_ACTIVE_HIGH>;69        vbus-supply = <&vbus_regulator>;70        #phy-cells = <0>;71    };72 73...74