ARM: dts: zynq: Enable USB and USB PHY for ZYBO
Subsystems (2)
PATCH 1/1 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 <[email protected]>
Cc Rob Herring <[email protected]>
Cc Mark Rutland <[email protected]>
Cc Michal Simek <[email protected]>
Cc S?ren Brinkmann <[email protected]>
--- arch/arm/boot/dts/zynq-zybo.dts | 11 +++++++++++ 1 file changed, 11 insertions(+)
arch/arm/boot/dts/zynq-zybo.dts +11 -0
@@ -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>; +};
Signature · 1 line
2.7.0
Michal Simek
AppliedPATCH 1/1 ARM: dts: zynq: Enable USB and USB PHY for ZYBO
Quoted 31 lines · Nathan Rossi
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]>--- arch/arm/boot/dts/zynq-zybo.dts | 11 +++++++++++ 1 file changed, 11 insertions(+)arch/arm/boot/dts/zynq-zybo.dts +5
-0@@ -33,6 +33,11 @@ stdout-path = "serial0:115200n8"; }; + usb_phy0: phy0 { + #phy-cells = <0>; + compatible = "usb-nop-xceiv"; + reset-gpios = <&gpio0 46 1>; + }; }; &clkc {
arch/arm/boot/dts/zynq-zybo.dts line 69
Quoted 9 lines
arch/arm/boot/dts/zynq-zybo.dts +6
-0@@ -56,3 +61,9 @@ &uart1 { status = "okay"; }; + +&usb0 { + status = "okay"; + dr_mode = "host"; + usb-phy = <&usb_phy0>; +};
Applied.
Thanks,
Michal