summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/zynq-zybo.dts
diff options
context:
space:
mode:
authorNathan Rossi <nathan@nathanrossi.com>2016-02-03 15:41:05 +0300
committerMichal Simek <michal.simek@xilinx.com>2016-02-09 15:18:08 +0300
commitb977025153a6f43ec5070d2f7a26f2ecb22c0319 (patch)
treed78449c8577d2bc66976f78774d1d4d24c5570e9 /arch/arm/boot/dts/zynq-zybo.dts
parent92e963f50fc74041b5e9e744c330dca48e04f08d (diff)
downloadlinux-b977025153a6f43ec5070d2f7a26f2ecb22c0319.tar.xz
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>
Diffstat (limited to 'arch/arm/boot/dts/zynq-zybo.dts')
-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>;
+};