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