]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm64: zynqmp: Update usb dwc3 DT description
authorMichal Simek <michal.simek@xilinx.com>
Fri, 11 Jun 2021 06:51:19 +0000 (08:51 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 23 Jun 2021 07:48:36 +0000 (09:48 +0200)
Align USB nodes with the latest dt-bindings. It is adding resets, new
interrupt and also some quirks.

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

index 7de7166bd7fbf55815d22ca44f8ce9110d16ba6d..1332f5373fb492254dd0cbdb665fdfe50208bd9c 100644 (file)
                        reg = <0x0 0xff9d0000 0x0 0x100>;
                        clock-names = "bus_clk", "ref_clk";
                        power-domains = <&zynqmp_firmware PD_USB_0>;
+                       resets = <&zynqmp_reset ZYNQMP_RESET_USB0_CORERESET>,
+                                <&zynqmp_reset ZYNQMP_RESET_USB0_HIBERRESET>,
+                                <&zynqmp_reset ZYNQMP_RESET_USB0_APB>;
+                       reset-names = "usb_crst", "usb_hibrst", "usb_apbrst";
                        ranges;
 
                        dwc3_0: dwc3@fe200000 {
                                status = "disabled";
                                reg = <0x0 0xfe200000 0x0 0x40000>;
                                interrupt-parent = <&gic>;
-                               interrupts = <0 65 4>, <0 69 4>;
+                               interrupt-names = "dwc_usb3", "otg", "hiber";
+                               interrupts = <0 65 4>, <0 69 4>, <0 75 4>;
                                #stream-id-cells = <1>;
                                iommus = <&smmu 0x860>;
                                snps,quirk-frame-length-adjustment = <0x20>;
                                snps,refclk_fladj;
+                               snps,enable_guctl1_resume_quirk;
+                               snps,enable_guctl1_ipd_quirk;
+                               snps,xhci-stream-quirk;
                                /* dma-coherent; */
                        };
                };
                        reg = <0x0 0xff9e0000 0x0 0x100>;
                        clock-names = "bus_clk", "ref_clk";
                        power-domains = <&zynqmp_firmware PD_USB_1>;
+                       resets = <&zynqmp_reset ZYNQMP_RESET_USB1_CORERESET>,
+                                <&zynqmp_reset ZYNQMP_RESET_USB1_HIBERRESET>,
+                                <&zynqmp_reset ZYNQMP_RESET_USB1_APB>;
+                       reset-names = "usb_crst", "usb_hibrst", "usb_apbrst";
                        ranges;
 
                        dwc3_1: dwc3@fe300000 {
                                status = "disabled";
                                reg = <0x0 0xfe300000 0x0 0x40000>;
                                interrupt-parent = <&gic>;
-                               interrupts = <0 70 4>, <0 74 4>;
+                               interrupt-names = "dwc_usb3", "otg", "hiber";
+                               interrupts = <0 70 4>, <0 74 4>, <0 76 4>;
                                #stream-id-cells = <1>;
                                iommus = <&smmu 0x861>;
                                snps,quirk-frame-length-adjustment = <0x20>;
                                snps,refclk_fladj;
+                               snps,enable_guctl1_resume_quirk;
+                               snps,enable_guctl1_ipd_quirk;
+                               snps,xhci-stream-quirk;
                                /* dma-coherent; */
                        };
                };