dt-bindings: phy: add binding for Freescale i.MX8MQ USB3 PHY
authorLucas Stach <l.stach@pengutronix.de>
Thu, 15 Nov 2018 14:12:46 +0000 (15:12 +0100)
committerKishon Vijay Abraham I <kishon@ti.com>
Wed, 12 Dec 2018 04:31:45 +0000 (10:01 +0530)
This adds the binding for the USB3 PHY found on the i.MX8M SoC.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Documentation/devicetree/bindings/phy/fsl,imx8mq-usb-phy.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/phy/fsl,imx8mq-usb-phy.txt b/Documentation/devicetree/bindings/phy/fsl,imx8mq-usb-phy.txt
new file mode 100644 (file)
index 0000000..a22e853
--- /dev/null
@@ -0,0 +1,17 @@
+* Freescale i.MX8MQ USB3 PHY binding
+
+Required properties:
+- compatible:  Should be "fsl,imx8mq-usb-phy"
+- #phys-cells: must be 0 (see phy-bindings.txt in this directory)
+- reg:         The base address and length of the registers
+- clocks:      phandles to the clocks for each clock listed in clock-names
+- clock-names: must contain "phy"
+
+Example:
+       usb3_phy0: phy@381f0040 {
+               compatible = "fsl,imx8mq-usb-phy";
+               reg = <0x381f0040 0x40>;
+               clocks = <&clk IMX8MQ_CLK_USB1_PHY_ROOT>;
+               clock-names = "phy";
+               #phy-cells = <0>;
+       };