Roger Quadros | 0eba387 | 2013-03-12 13:24:25 +0200 | [diff] [blame] | 1 | USB NOP PHY |
| 2 | |
| 3 | Required properties: |
| 4 | - compatible: should be usb-nop-xceiv |
| 5 | |
| 6 | Optional 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 Estevam | 6b1b0fe | 2014-12-12 13:08:26 -0200 | [diff] [blame^] | 16 | - vcc-supply: phandle to the regulator that provides power to the PHY. |
Roger Quadros | 0eba387 | 2013-03-12 13:24:25 +0200 | [diff] [blame] | 17 | |
Roger Quadros | bd27fa4 | 2013-09-24 11:53:48 +0300 | [diff] [blame] | 18 | - reset-gpios: Should specify the GPIO for reset. |
Roger Quadros | 0eba387 | 2013-03-12 13:24:25 +0200 | [diff] [blame] | 19 | |
| 20 | Example: |
| 21 | |
| 22 | hsusb1_phy { |
| 23 | compatible = "usb-nop-xceiv"; |
| 24 | clock-frequency = <19200000>; |
| 25 | clocks = <&osc 0>; |
| 26 | clock-names = "main_clk"; |
| 27 | vcc-supply = <&hsusb1_vcc_regulator>; |
Roger Quadros | bd27fa4 | 2013-09-24 11:53:48 +0300 | [diff] [blame] | 28 | reset-gpios = <&gpio1 7 GPIO_ACTIVE_LOW>; |
Roger Quadros | 0eba387 | 2013-03-12 13:24:25 +0200 | [diff] [blame] | 29 | }; |
| 30 | |
| 31 | hsusb1_phy is a NOP USB PHY device that gets its clock from an oscillator |
| 32 | and expects that clock to be configured to 19.2MHz by the NOP PHY driver. |
Roger Quadros | bd27fa4 | 2013-09-24 11:53:48 +0300 | [diff] [blame] | 33 | hsusb1_vcc_regulator provides power to the PHY and GPIO 7 controls RESET. |