summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Rossi <nathan@nathanrossi.com>2016-02-03 22:41:05 +1000
committerMichal Simek <michal.simek@xilinx.com>2016-02-09 13:18:08 +0100
commitb977025153a6f43ec5070d2f7a26f2ecb22c0319 (patch)
treed78449c8577d2bc66976f78774d1d4d24c5570e9
parent92e963f50fc74041b5e9e744c330dca48e04f08d (diff)
downloadtalos-op-linux-b977025153a6f43ec5070d2f7a26f2ecb22c0319.tar.gz
talos-op-linux-b977025153a6f43ec5070d2f7a26f2ecb22c0319.zip
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>
-rw-r--r--arch/arm/boot/dts/zynq-zybo.dts11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/zynq-zybo.dts b/arch/arm/boot/dts/zynq-zybo.dts
index 16c9cacd668d..8f085b3d23cd 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>;
+};
OpenPOWER on IntegriCloud