Skip to contentSkip to conversation

ARM: dts: zynq: Enable USB and USB PHY for ZYBO

PATCH New Nathan Rossi 2 participants 2 messages Feb 3, 2016 – Feb 9, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: zynq: Enable USB and USB PHY for ZYBO

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.

Cc Rob Herring <[email protected]>
Cc Mark Rutland <[email protected]>
Cc Michal Simek <[email protected]>
Cc S?ren Brinkmann <[email protected]>
---
 arch/arm/boot/dts/zynq-zybo.dts | 11 +++++++++++
 1 file changed, 11 insertions(+)
arch/arm/boot/dts/zynq-zybo.dts +11 -0
index 16c9cac..8f085b3 100644
@@ -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>;
+};
Signature · 1 line
2.7.0
Applied
#1 lore raw

PATCH 1/1 ARM: dts: zynq: Enable USB and USB PHY for ZYBO

Quoted 31 lines · 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.

Cc Rob Herring <[email protected]>
Cc Mark Rutland <[email protected]>
Cc Michal Simek <[email protected]>
Cc S?ren Brinkmann <[email protected]>
---
 arch/arm/boot/dts/zynq-zybo.dts | 11 +++++++++++
 1 file changed, 11 insertions(+)
arch/arm/boot/dts/zynq-zybo.dts +5 -0
index 16c9cac..8f085b3 100644
@@ -33,6 +33,11 @@
 		stdout-path = "serial0:115200n8";
 	};
 
+	usb_phy0: phy0 {
+		#phy-cells = <0>;
+		compatible = "usb-nop-xceiv";
+		reset-gpios = <&gpio0 46 1>;
+	};
 };
 
 &clkc {

arch/arm/boot/dts/zynq-zybo.dts line 69

Quoted 9 lines
arch/arm/boot/dts/zynq-zybo.dts +6 -0
@@ -56,3 +61,9 @@
 &uart1 {
 	status = "okay";
 };
+
+&usb0 {
+	status = "okay";
+	dr_mode = "host";
+	usb-phy = <&usb_phy0>;
+};

Applied.

Thanks,
Michal