Thread (1 message) 1 message, 1 author, 2016-07-26
DORMANTno replies

[PATCH V2 RFC 4/6] ARM: dts: bcm283x: Add generic USB PHY

From: Stefan Wahren <hidden>
Date: 2016-07-26 18:53:31
Also in: linux-devicetree
Subsystem: the rest · Maintainer: Linus Torvalds

In order to use DWC2 in otg or gadget mode the USB PHY must be
specified. Since there is no bcm283x USB PHY driver use the generic
one.

Signed-off-by: Stefan Wahren <redacted>
---
 arch/arm/boot/dts/bcm283x.dtsi |    6 ++++++
 1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/bcm283x.dtsi b/arch/arm/boot/dts/bcm283x.dtsi
index 5472800..cb492ce 100644
--- a/arch/arm/boot/dts/bcm283x.dtsi
+++ b/arch/arm/boot/dts/bcm283x.dtsi
@@ -291,6 +291,8 @@
 			#size-cells = <0>;
 			clocks = <&clk_usb>;
 			clock-names = "otg";
+			phys = <&usbphy>;
+			phy-names = "usb2-phy";
 		};
 
 		v3d: v3d at 7ec00000 {
@@ -302,6 +304,10 @@
 		vc4: gpu {
 			compatible = "brcm,bcm2835-vc4";
 		};
+
+		usbphy: phy {
+			compatible = "usb-nop-xceiv";
+		};
 	};
 
 	clocks {
-- 
1.7.9.5
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help