Skip to content

Commit

Permalink
hw/arm/fsl-imx6ul: Fix USB interrupt numbers
Browse files Browse the repository at this point in the history
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: 31cbf93 ("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>
  • Loading branch information
groeck authored and pm215 committed Mar 17, 2020
1 parent 0701a5e commit 630e2af
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/hw/arm/fsl-imx6ul.h
Expand Up @@ -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,
Expand Down

0 comments on commit 630e2af

Please sign in to comment.