aboutsummaryrefslogtreecommitdiffstats
path: root/roms/u-boot/arch/arm/include/asm/arch-imxrt/imx-regs.h
diff options
context:
space:
mode:
Diffstat (limited to 'roms/u-boot/arch/arm/include/asm/arch-imxrt/imx-regs.h')
-rw-r--r--roms/u-boot/arch/arm/include/asm/arch-imxrt/imx-regs.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/roms/u-boot/arch/arm/include/asm/arch-imxrt/imx-regs.h b/roms/u-boot/arch/arm/include/asm/arch-imxrt/imx-regs.h
new file mode 100644
index 000000000..d01e6ca2e
--- /dev/null
+++ b/roms/u-boot/arch/arm/include/asm/arch-imxrt/imx-regs.h
@@ -0,0 +1,30 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright(C) 2019
+ * Author(s): Giulio Benetti <giulio.benetti@benettiengineering.com>
+ */
+
+#ifndef __ASM_ARCH_IMX_REGS_H__
+#define __ASM_ARCH_IMX_REGS_H__
+
+#define ARCH_MXC
+
+#define GPIO1_BASE_ADDR 0x401B8000
+#define GPIO2_BASE_ADDR 0x401BC000
+#define GPIO3_BASE_ADDR 0x401C0000
+#define GPIO4_BASE_ADDR 0x401C4000
+#define GPIO5_BASE_ADDR 0x400C0000
+
+#define ANATOP_BASE_ADDR 0x400d8000
+
+#define MXS_LCDIF_BASE 0x402b8000
+
+#if !(defined(__KERNEL_STRICT_NAMES) || defined(__ASSEMBLY__))
+#include <asm/mach-imx/regs-lcdif.h>
+#endif
+
+#define USB_BASE_ADDR 0x402E0000
+#define USB_PHY0_BASE_ADDR 0x400D9000
+#define USB_PHY1_BASE_ADDR 0x400DA000
+
+#endif /* __ASM_ARCH_IMX_REGS_H__ */