Skip to content

Commit 3ae9883

Browse files
nathanrossimichalsimek
authored andcommitted
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. 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> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
1 parent 5f7e553 commit 3ae9883

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

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

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@
3434
stdout-path = &uart1;
3535
};
3636

37+
usb_phy0: phy0 {
38+
#phy-cells = <0>;
39+
compatible = "usb-nop-xceiv";
40+
reset-gpios = <&gpio0 46 1>;
41+
};
3742
};
3843

3944
&clkc {
@@ -57,3 +62,9 @@
5762
&uart1 {
5863
status = "okay";
5964
};
65+
66+
&usb0 {
67+
status = "okay";
68+
dr_mode = "host";
69+
usb-phy = <&usb_phy0>;
70+
};

0 commit comments

Comments
 (0)