From: Nathan Rossi Date: Wed, 3 Feb 2016 12:41:05 +0000 (+1000) Subject: ARM: dts: zynq: Enable USB and USB PHY for ZYBO X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=b977025153a6f43ec5070d2f7a26f2ecb22c0319;p=deliverable%2Flinux.git 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 Cc: Rob Herring Cc: Mark Rutland Cc: Michal Simek Cc: Sören Brinkmann Signed-off-by: Michal Simek --- 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>; +};