summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuenter Roeck2020-03-13 02:45:48 +0100
committerPeter Maydell2020-03-17 12:23:14 +0100
commit630e2af0ca248da764561cd695b9a7d7ad57e290 (patch)
tree276711ba2ec7e705f1cf5345629e796618b97be8
parenthw/usb: Add basic i.MX USB Phy support (diff)
downloadqemu-630e2af0ca248da764561cd695b9a7d7ad57e290.tar.gz
qemu-630e2af0ca248da764561cd695b9a7d7ad57e290.tar.xz
qemu-630e2af0ca248da764561cd695b9a7d7ad57e290.zip
hw/arm/fsl-imx6ul: Fix USB interrupt numbers
USB1 and USB2 interrupt numbers were swapped. USB_PHY2 interrupt number is 45. That didn't really matter up to now since the interrupts were not used, but it needs to be fixed to be able to wire up the USB controllers. Fixes: 31cbf933f0e ("i.MX6UL: Add i.MX6UL SOC") Signed-off-by: Guenter Roeck <linux@roeck-us.net> Message-id: 20200313014551.12554-3-linux@roeck-us.net Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rw-r--r--include/hw/arm/fsl-imx6ul.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/hw/arm/fsl-imx6ul.h b/include/hw/arm/fsl-imx6ul.h
index eda389aec7..5a420785b9 100644
--- a/include/hw/arm/fsl-imx6ul.h
+++ b/include/hw/arm/fsl-imx6ul.h
@@ -241,10 +241,10 @@ enum FslIMX6ULIRQs {
FSL_IMX6UL_UART7_IRQ = 39,
FSL_IMX6UL_UART8_IRQ = 40,
- FSL_IMX6UL_USB1_IRQ = 42,
- FSL_IMX6UL_USB2_IRQ = 43,
+ FSL_IMX6UL_USB1_IRQ = 43,
+ FSL_IMX6UL_USB2_IRQ = 42,
FSL_IMX6UL_USB_PHY1_IRQ = 44,
- FSL_IMX6UL_USB_PHY2_IRQ = 44,
+ FSL_IMX6UL_USB_PHY2_IRQ = 45,
FSL_IMX6UL_CAAM_JQ2_IRQ = 46,
FSL_IMX6UL_CAAM_ERR_IRQ = 47,