Commit 70833b84 authored by Paul Cercueil's avatar Paul Cercueil Committed by Greg Kroah-Hartman
Browse files

dt-bindings: usb: Add usb-phy property to the jz4740-musb node



Add a required 'usb-phy' property, to obtain a phandle to the USB PHY
from devicetree.

Signed-off-by: default avatarPaul Cercueil <paul@crapouillou.net>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarBin Liu <b-liu@ti.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a84014e1
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -8,9 +8,15 @@ Required properties:
- interrupt-names: must be "mc"
- clocks: phandle to the "udc" clock
- clock-names: must be "udc"
- phys: phandle to the USB PHY

Example:

usb_phy: usb-phy@0 {
	compatible = "usb-nop-xceiv";
	#phy-cells = <0>;
};

udc: usb@13040000 {
	compatible = "ingenic,jz4740-musb";
	reg = <0x13040000 0x10000>;
@@ -21,4 +27,6 @@ udc: usb@13040000 {

	clocks = <&cgu JZ4740_CLK_UDC>;
	clock-names = "udc";

	phys = <&usb_phy>;
};