From: Fabio Estevam <festevam@denx.de>
To: sbabic@denx.de
Cc: marex@denx.de, u-boot@lists.denx.de, frieder.schrempf@kontron.de,
tharvey@gateworks.com, uboot-imx@nxp.com,
Fabio Estevam <festevam@denx.de>
Subject: [PATCH 1/8] imx8mm: Fix USB reg addresses for i.MX8MM
Date: Sat, 3 Jul 2021 16:58:30 -0300 [thread overview]
Message-ID: <20210703195837.28153-2-festevam@denx.de> (raw)
In-Reply-To: <20210703195837.28153-1-festevam@denx.de>
From: Frieder Schrempf <frieder.schrempf@kontron.de>
The i.MX8MM register addresses differ from i.MX8M in many ways. One
thing to fix is the USB addresses.
Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Signed-off-by: Fabio Estevam <festevam@denx.de>
---
arch/arm/include/asm/arch-imx8m/imx-regs.h | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/arch/arm/include/asm/arch-imx8m/imx-regs.h b/arch/arm/include/asm/arch-imx8m/imx-regs.h
index b800da13a1e4..de01e9969626 100644
--- a/arch/arm/include/asm/arch-imx8m/imx-regs.h
+++ b/arch/arm/include/asm/arch-imx8m/imx-regs.h
@@ -51,6 +51,17 @@
#define TZASC_BASE_ADDR 0x32F80000
+#ifdef CONFIG_IMX8MM
+#define USB1_BASE_ADDR 0x32E40000
+#define USB2_BASE_ADDR 0x32E50000
+#else
+#define USB1_BASE_ADDR 0x38100000
+#define USB2_BASE_ADDR 0x38200000
+#endif
+#define USB_BASE_ADDR USB1_BASE_ADDR
+#define USB1_PHY_BASE_ADDR 0x381F0000
+#define USB2_PHY_BASE_ADDR 0x382F0000
+
#define MXS_LCDIF_BASE IS_ENABLED(CONFIG_IMX8MQ) ? \
0x30320000 : 0x32e00000
--
2.25.1
next prev parent reply other threads:[~2021-07-03 19:59 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-03 19:58 [PATCH 0/8] imx8mm: Add serial download support Fabio Estevam
2021-07-03 19:58 ` Fabio Estevam [this message]
2021-07-03 20:55 ` [PATCH 1/8] imx8mm: Fix USB reg addresses for i.MX8MM Marek Vasut
2021-07-03 21:38 ` Fabio Estevam
2021-07-04 1:04 ` Marek Vasut
2021-07-04 15:35 ` Fabio Estevam
2021-07-04 19:25 ` Marek Vasut
2021-07-06 16:11 ` Tim Harvey
2021-07-06 21:17 ` Marek Vasut
2021-07-07 17:37 ` Simon Glass
2021-07-03 19:58 ` [PATCH 2/8] clock_imx8mm: Add enable_usboh3_clk() for i.MX8M Fabio Estevam
2021-08-06 12:12 ` Stefano Babic
2021-07-03 19:58 ` [PATCH 3/8] usb: ehci-mx6: move mode set/detect to probe Fabio Estevam
2021-07-03 19:58 ` [PATCH 4/8] usb: ehci-mx6: add IMX8MM and IMX8MN OTG support Fabio Estevam
2021-07-03 19:58 ` [PATCH 5/8] usb: ehci-mx6: Allow building SDP for imx8mm Fabio Estevam
2021-07-03 20:57 ` Marek Vasut
2021-07-03 21:39 ` Fabio Estevam
2022-03-27 21:02 ` Jaap Crezee
2022-03-27 21:43 ` Fabio Estevam
2022-03-28 7:17 ` Jaap Crezee
2022-03-28 10:26 ` Tommaso Merciai
2022-03-28 10:41 ` Jaap Crezee
2021-07-03 19:58 ` [PATCH 6/8] imx8mm_evk: Add an entry for USB boot Fabio Estevam
2021-07-03 19:58 ` [PATCH 7/8] imx8mm_evk: Add Serial Download Protocol support Fabio Estevam
2021-07-03 19:58 ` [PATCH 8/8] doc: imx8mm_evk: Add instructions for eMMC boot Fabio Estevam
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210703195837.28153-2-festevam@denx.de \
--to=festevam@denx.de \
--cc=frieder.schrempf@kontron.de \
--cc=marex@denx.de \
--cc=sbabic@denx.de \
--cc=tharvey@gateworks.com \
--cc=u-boot@lists.denx.de \
--cc=uboot-imx@nxp.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.