Martin Blumenstingl | 8647de4 | 2016-10-01 14:18:59 +0200 | [diff] [blame] | 1 | * Amlogic Meson8b and GXBB USB2 PHY |
Martin Blumenstingl | c940d76 | 2016-09-11 15:41:07 +0200 | [diff] [blame] | 2 | |
| 3 | Required properties: |
| 4 | - compatible: Depending on the platform this should be one of: |
| 5 | "amlogic,meson8b-usb2-phy" |
| 6 | "amlogic,meson-gxbb-usb2-phy" |
| 7 | - reg: The base address and length of the registers |
| 8 | - #phys-cells: should be 0 (see phy-bindings.txt in this directory) |
| 9 | - clocks: phandle and clock identifier for the phy clocks |
| 10 | - clock-names: "usb_general" and "usb" |
| 11 | |
| 12 | Optional properties: |
| 13 | - resets: reference to the reset controller |
| 14 | - phy-supply: see phy-bindings.txt in this directory |
| 15 | |
| 16 | |
| 17 | Example: |
| 18 | |
Martin Blumenstingl | b8a4002 | 2016-10-01 14:18:58 +0200 | [diff] [blame] | 19 | usb0_phy: usb-phy@c0000000 { |
Martin Blumenstingl | c940d76 | 2016-09-11 15:41:07 +0200 | [diff] [blame] | 20 | compatible = "amlogic,meson-gxbb-usb2-phy"; |
| 21 | #phy-cells = <0>; |
Martin Blumenstingl | b8a4002 | 2016-10-01 14:18:58 +0200 | [diff] [blame] | 22 | reg = <0x0 0xc0000000 0x0 0x20>; |
Martin Blumenstingl | c940d76 | 2016-09-11 15:41:07 +0200 | [diff] [blame] | 23 | resets = <&reset RESET_USB_OTG>; |
| 24 | clocks = <&clkc CLKID_USB>, <&clkc CLKID_USB0>; |
| 25 | clock-names = "usb_general", "usb"; |
| 26 | phy-supply = <&usb_vbus>; |
| 27 | }; |