diff options
author | Martin Blumenstingl <martin.blumenstingl@googlemail.com> | 2016-09-11 09:41:07 -0400 |
---|---|---|
committer | Kevin Hilman <khilman@baylibre.com> | 2016-09-14 14:19:01 -0400 |
commit | c940d7658de0b91449d59d1ab8a9c1d24f0a8564 (patch) | |
tree | 8f977ee33bef943467bb0c775af80d513bc5e656 | |
parent | f94310ac076ea2cd84ff42c901e7a17382ad75f8 (diff) |
Documentation: dt-bindings: Add documentation for the Meson USB2 PHYs
Add the documentation for the bindings for the Meson8b and GXBB USB2
PHYs.
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Acked-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
-rw-r--r-- | Documentation/devicetree/bindings/phy/meson-usb2-phy.txt | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/phy/meson-usb2-phy.txt b/Documentation/devicetree/bindings/phy/meson-usb2-phy.txt new file mode 100644 index 000000000000..9da5ea234154 --- /dev/null +++ b/Documentation/devicetree/bindings/phy/meson-usb2-phy.txt | |||
@@ -0,0 +1,27 @@ | |||
1 | * Amlogic USB2 PHY | ||
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 | |||
19 | usb0_phy: usb_phy@0 { | ||
20 | compatible = "amlogic,meson-gxbb-usb2-phy"; | ||
21 | #phy-cells = <0>; | ||
22 | reg = <0x0 0x0 0x0 0x20>; | ||
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 | }; | ||