1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/usb/usb-nop-xceiv.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: USB NOP PHY
8
9maintainers:
10  - Rob Herring <robh@kernel.org>
11
12properties:
13  compatible:
14    const: usb-nop-xceiv
15
16  clocks:
17    maxItems: 1
18
19  clock-names:
20    const: main_clk
21
22  clock-frequency: true
23
24  '#phy-cells':
25    const: 0
26
27  vcc-supply:
28    description: phandle to the regulator that provides power to the PHY.
29
30  reset-gpios:
31    maxItems: 1
32
33  vbus-detect-gpio:
34    description: Should specify the GPIO detecting a VBus insertion
35    maxItems: 1
36
37  vbus-regulator:
38    description: Should specifiy the regulator supplying current drawn from
39      the VBus line.
40    $ref: /schemas/types.yaml#/definitions/phandle
41
42  wakeup-source:
43    description:
44      Specify if the USB phy can detect the remote wakeup signal
45      while the system sleep.
46
47required:
48  - compatible
49  - '#phy-cells'
50
51additionalProperties: false
52
53examples:
54  - |
55    #include <dt-bindings/gpio/gpio.h>
56
57    hsusb1_phy {
58        compatible = "usb-nop-xceiv";
59        clock-frequency = <19200000>;
60        clocks = <&osc 0>;
61        clock-names = "main_clk";
62        vcc-supply = <&hsusb1_vcc_regulator>;
63        reset-gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
64        vbus-detect-gpio = <&gpio2 13 GPIO_ACTIVE_HIGH>;
65        vbus-regulator = <&vbus_regulator>;
66        #phy-cells = <0>;
67    };
68
69...
70