arm64: zynqmp: Fix dwc3 usb interrupt description
authorMichal Simek <michal.simek@amd.com>
Mon, 19 Jun 2023 07:37:54 +0000 (09:37 +0200)
committerMichal Simek <michal.simek@amd.com>
Mon, 10 Jul 2023 10:06:53 +0000 (12:06 +0200)
Based on DT binding dwc_usb3 is single entry without anything else. That's
why combination dwc3_usb3, otg is not allowed. That's why split it to host
and peripheral pair which both points to the same IRQ.
DWC3 code is reading these two properties first before generic dwc_usb3.

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/6544d13afd9f3d8f5413e32684aa16e4d155e331.1687160244.git.michal.simek@amd.com
arch/arm64/boot/dts/xilinx/zynqmp.dtsi

index 675b881908459a162308b01f2088a62832fa447a..74898f3a353739043d30476430fa151aa3852a68 100644 (file)
                                compatible = "snps,dwc3";
                                reg = <0x0 0xfe200000 0x0 0x40000>;
                                interrupt-parent = <&gic>;
-                               interrupt-names = "dwc_usb3", "otg";
-                               interrupts = <0 65 4>, <0 69 4>;
+                               interrupt-names = "host", "peripheral", "otg";
+                               interrupts = <0 65 4>, <0 65 4>, <0 69 4>;
                                clock-names = "bus_early", "ref";
                                iommus = <&smmu 0x860>;
                                snps,quirk-frame-length-adjustment = <0x20>;
                                compatible = "snps,dwc3";
                                reg = <0x0 0xfe300000 0x0 0x40000>;
                                interrupt-parent = <&gic>;
-                               interrupt-names = "dwc_usb3", "otg";
-                               interrupts = <0 70 4>, <0 74 4>;
+                               interrupt-names = "host", "peripheral", "otg";
+                               interrupts = <0 70 4>, <0 70 4>, <0 74 4>;
                                clock-names = "bus_early", "ref";
                                iommus = <&smmu 0x861>;
                                snps,quirk-frame-length-adjustment = <0x20>;