0001 # SPDX-License-Identifier: GPL-2.0
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/usb/usb-nop-xceiv.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: USB NOP PHY
0008
0009 maintainers:
0010 - Rob Herring <robh@kernel.org>
0011
0012 properties:
0013 compatible:
0014 const: usb-nop-xceiv
0015
0016 clocks:
0017 maxItems: 1
0018
0019 clock-names:
0020 const: main_clk
0021
0022 clock-frequency: true
0023
0024 '#phy-cells':
0025 const: 0
0026
0027 vcc-supply:
0028 description: phandle to the regulator that provides power to the PHY.
0029
0030 reset-gpios:
0031 maxItems: 1
0032
0033 vbus-detect-gpio:
0034 description: Should specify the GPIO detecting a VBus insertion
0035 maxItems: 1
0036
0037 vbus-regulator:
0038 description: Should specifiy the regulator supplying current drawn from
0039 the VBus line.
0040 $ref: /schemas/types.yaml#/definitions/phandle
0041
0042 required:
0043 - compatible
0044 - '#phy-cells'
0045
0046 additionalProperties: false
0047
0048 examples:
0049 - |
0050 #include <dt-bindings/gpio/gpio.h>
0051
0052 hsusb1_phy {
0053 compatible = "usb-nop-xceiv";
0054 clock-frequency = <19200000>;
0055 clocks = <&osc 0>;
0056 clock-names = "main_clk";
0057 vcc-supply = <&hsusb1_vcc_regulator>;
0058 reset-gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
0059 vbus-detect-gpio = <&gpio2 13 GPIO_ACTIVE_HIGH>;
0060 vbus-regulator = <&vbus_regulator>;
0061 #phy-cells = <0>;
0062 };
0063
0064 ...