Skip to content

Commit

Permalink
ARM: dts: zynq: Enable USB and USB PHY for ZYBO
Browse files Browse the repository at this point in the history
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 <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Michal Simek <[email protected]>
Cc: Sören Brinkmann <[email protected]>
Signed-off-by: Michal Simek <[email protected]>
  • Loading branch information
nathanrossi authored and michalsimek committed Feb 6, 2016
1 parent 5f7e553 commit 3ae9883
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions arch/arm/boot/dts/zynq-zybo.dts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@
stdout-path = &uart1;
};

usb_phy0: phy0 {
#phy-cells = <0>;
compatible = "usb-nop-xceiv";
reset-gpios = <&gpio0 46 1>;
};
};

&clkc {
Expand All @@ -57,3 +62,9 @@
&uart1 {
status = "okay";
};

&usb0 {
status = "okay";
dr_mode = "host";
usb-phy = <&usb_phy0>;
};

0 comments on commit 3ae9883

Please sign in to comment.