Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux
[deliverable/linux.git] / Documentation / devicetree / bindings / usb / usb-nop-xceiv.txt
CommitLineData
0eba3879
RQ
1USB 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
6b1b0fe0 16- vcc-supply: phandle to the regulator that provides power to the PHY.
0eba3879 17
bd27fa44 18- reset-gpios: Should specify the GPIO for reset.
0eba3879 19
7bdea87a
RJ
20- 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
0eba3879
RQ
25Example:
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>;
bd27fa44 33 reset-gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
7bdea87a
RJ
34 vbus-detect-gpio = <&gpio2 13 GPIO_ACTIVE_HIGH>;
35 vbus-regulator = <&vbus_regulator>;
0eba3879
RQ
36 };
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.
bd27fa44 40hsusb1_vcc_regulator provides power to the PHY and GPIO 7 controls RESET.
7bdea87a 41GPIO 13 detects VBus insertion, and accordingly notifies the vbus-regulator.
This page took 0.198983 seconds and 5 git commands to generate.