blob: 5be01c859b7a98fd77fbf049e04dd3f7a233f28c [file] [log] [blame]
Roger Quadros0eba3872013-03-12 13:24:25 +02001USB NOP PHY
2
3Required properties:
4- compatible: should be usb-nop-xceiv
5
6Optional properties:
7- clocks: phandle to the PHY clock. Use as per Documentation/devicetree
8 /bindings/clock/clock-bindings.txt
9 This property is required if clock-frequency is specified.
10
11- clock-names: Should be "main_clk"
12
13- clock-frequency: the clock frequency (in Hz) that the PHY clock must
14 be configured to.
15
Fabio Estevam6b1b0fe2014-12-12 13:08:26 -020016- vcc-supply: phandle to the regulator that provides power to the PHY.
Roger Quadros0eba3872013-03-12 13:24:25 +020017
Roger Quadrosbd27fa42013-09-24 11:53:48 +030018- reset-gpios: Should specify the GPIO for reset.
Roger Quadros0eba3872013-03-12 13:24:25 +020019
Robert Jarzmik7bdea872014-12-06 22:05:14 +010020- vbus-detect-gpio: should specify the GPIO detecting a VBus insertion
21 (see Documentation/devicetree/bindings/gpio/gpio.txt)
22- vbus-regulator : should specifiy the regulator supplying current drawn from
23 the VBus line (see Documentation/devicetree/bindings/regulator/regulator.txt).
24
Roger Quadros0eba3872013-03-12 13:24:25 +020025Example:
26
27 hsusb1_phy {
28 compatible = "usb-nop-xceiv";
29 clock-frequency = <19200000>;
30 clocks = <&osc 0>;
31 clock-names = "main_clk";
32 vcc-supply = <&hsusb1_vcc_regulator>;
Roger Quadrosbd27fa42013-09-24 11:53:48 +030033 reset-gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
Robert Jarzmik7bdea872014-12-06 22:05:14 +010034 vbus-detect-gpio = <&gpio2 13 GPIO_ACTIVE_HIGH>;
35 vbus-regulator = <&vbus_regulator>;
Roger Quadros0eba3872013-03-12 13:24:25 +020036 };
37
38hsusb1_phy is a NOP USB PHY device that gets its clock from an oscillator
39and expects that clock to be configured to 19.2MHz by the NOP PHY driver.
Roger Quadrosbd27fa42013-09-24 11:53:48 +030040hsusb1_vcc_regulator provides power to the PHY and GPIO 7 controls RESET.
Robert Jarzmik7bdea872014-12-06 22:05:14 +010041GPIO 13 detects VBus insertion, and accordingly notifies the vbus-regulator.