All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: zynq: Enable USB and USB PHY for ZYBO
@ 2016-02-03 12:41 ` Nathan Rossi
  0 siblings, 0 replies; 4+ messages in thread
From: Nathan Rossi @ 2016-02-03 12:41 UTC (permalink / raw)
  To: devicetree, linux-arm-kernel
  Cc: Mark Rutland, Rob Herring, Michal Simek, Sören Brinkmann,
	Nathan Rossi

Setup the USB controller and configure it to operate in host mode.
Additionally add the USB phy node for the ZYBO, including reset gpio
which is connected to a external MIO pin.

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Michal Simek <michal.simek@xilinx.com>
Cc: Sören Brinkmann <soren.brinkmann@xilinx.com>
---
 arch/arm/boot/dts/zynq-zybo.dts | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/arch/arm/boot/dts/zynq-zybo.dts b/arch/arm/boot/dts/zynq-zybo.dts
index 16c9cac..8f085b3 100644
--- a/arch/arm/boot/dts/zynq-zybo.dts
+++ b/arch/arm/boot/dts/zynq-zybo.dts
@@ -33,6 +33,11 @@
 		stdout-path = "serial0:115200n8";
 	};
 
+	usb_phy0: phy0 {
+		#phy-cells = <0>;
+		compatible = "usb-nop-xceiv";
+		reset-gpios = <&gpio0 46 1>;
+	};
 };
 
 &clkc {
@@ -56,3 +61,9 @@
 &uart1 {
 	status = "okay";
 };
+
+&usb0 {
+	status = "okay";
+	dr_mode = "host";
+	usb-phy = <&usb_phy0>;
+};
-- 
2.7.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-02-09 12:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-03 12:41 [PATCH] ARM: dts: zynq: Enable USB and USB PHY for ZYBO Nathan Rossi
2016-02-03 12:41 ` Nathan Rossi
     [not found] ` <1454503265-20605-1-git-send-email-nathan-RujqobwCo1oIa9VG7nliCQ@public.gmane.org>
2016-02-09 12:17   ` Michal Simek
2016-02-09 12:17     ` Michal Simek

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.