diff options
| author | Fedor Ross <[email protected]> | 2025-12-01 17:08:06 +0100 |
|---|---|---|
| committer | Fabio Estevam <[email protected]> | 2025-12-06 15:24:56 -0300 |
| commit | e2829b8ccab6e96cf70170432ae814cb53510c87 (patch) | |
| tree | 77a30de4c99dcc7f492db4a4a7d137f8a75b78e5 | |
| parent | 3ffae6c14a5d6704f82eaa38be51570e924e1cd6 (diff) | |
imx9: scmi: soc: USB instance number change for silicon revision B0
For silicon revision A1, the USB instance number for USB1 is 3 and for
USB2 it is 4. This changed for revision B0 where the USB instance number
for USB1 is 0 and for USB2 it is 1, which is the intended instance
number. Select the correct numbering according to the selected SoC
(IMX95) and its revision.
This patch is based on the information provided by:
"AN14750 Migration Guide from i.MX 95 A1 to B0; Rev. 1.0" .
Reviewed-by: Alice Guo <[email protected]>
Signed-off-by: Fedor Ross <[email protected]>
Reviewed-by: Marek Vasut <[email protected]>
| -rw-r--r-- | arch/arm/mach-imx/imx9/scmi/soc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/imx9/scmi/soc.c b/arch/arm/mach-imx/imx9/scmi/soc.c index dbaa19a9e6e..c1458ccca3c 100644 --- a/arch/arm/mach-imx/imx9/scmi/soc.c +++ b/arch/arm/mach-imx/imx9/scmi/soc.c @@ -921,7 +921,7 @@ enum boot_device get_boot_device(void) break; case BT_DEV_TYPE_USB: boot_dev = boot_instance + USB_BOOT; - if (IS_ENABLED(CONFIG_IMX95)) + if (is_imx95() && (soc_rev() < CHIP_REV_2_0)) boot_dev -= 3; //iMX95 usb instance start at 3 break; default: |
