ARM64: zynqmp: Add DWC3 usb support
authorMichal Simek <michal.simek@xilinx.com>
Mon, 27 Jul 2015 09:21:20 +0000 (11:21 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 31 Jul 2015 08:46:27 +0000 (10:46 +0200)
Add usb nodes to DTSI and enable both of them on ep108.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts
arch/arm64/boot/dts/xilinx/zynqmp.dtsi

index b36a2fc..e9f5eca 100644 (file)
 &uart0 {
        status = "okay";
 };
+
+&usb0 {
+       status = "okay";
+       dr_mode = "peripheral";
+       maximum-speed = "high-speed";
+};
+
+&usb1 {
+       status = "okay";
+       dr_mode = "host";
+       maximum-speed = "high-speed";
+};
index 742fde6..ba1b09c 100644 (file)
                                <0 157 4>, <0 157 4>, <0 157 4>, <0 157 4>;
                };
 
+               usb0: usb@fe200000 {
+                       compatible = "snps,dwc3";
+                       status = "disabled";
+                       interrupt-parent = <&gic>;
+                       interrupts = <0 65 4>;
+                       reg = <0x0 0xfe200000 0x40000>;
+                       clock-names = "clk_xin", "clk_ahb";
+                       clocks = <&misc_clk>, <&misc_clk>;
+               };
+
+               usb1: usb@fe300000 {
+                       compatible = "snps,dwc3";
+                       status = "disabled";
+                       interrupt-parent = <&gic>;
+                       interrupts = <0 70 4>;
+                       reg = <0x0 0xfe300000 0x40000>;
+                       clock-names = "clk_xin", "clk_ahb";
+                       clocks = <&misc_clk>, <&misc_clk>;
+               };
+
                watchdog0: watchdog@fd4d0000 {
                        compatible = "cdns,wdt-r1p2";
                        status = "disabled";