All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anatolij Gustschin <agust@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v6 11/34] imx8: add imx-regs header file
Date: Thu, 18 Oct 2018 14:28:14 +0200	[thread overview]
Message-ID: <20181018122837.31582-12-agust@denx.de> (raw)
In-Reply-To: <20181018122837.31582-1-agust@denx.de>

From: Peng Fan <peng.fan@nxp.com>

Add imx-regs header file to include the register base definition

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Anatolij Gustschin <agust@denx.de>
Cc: Stefano Babic <sbabic@denx.de>
---
 arch/arm/include/asm/arch-imx8/imx-regs.h | 46 +++++++++++++++++++++++
 1 file changed, 46 insertions(+)
 create mode 100644 arch/arm/include/asm/arch-imx8/imx-regs.h

diff --git a/arch/arm/include/asm/arch-imx8/imx-regs.h b/arch/arm/include/asm/arch-imx8/imx-regs.h
new file mode 100644
index 0000000000..af0fb5154b
--- /dev/null
+++ b/arch/arm/include/asm/arch-imx8/imx-regs.h
@@ -0,0 +1,46 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright 2018 NXP
+ */
+
+#ifndef __ASM_ARCH_IMX8_REGS_H__
+#define __ASM_ARCH_IMX8_REGS_H__
+
+#define LPUART_BASE		0x5A060000
+
+#define GPT1_BASE_ADDR		0x5D140000
+#define SCU_LPUART_BASE		0x33220000
+#define GPIO1_BASE_ADDR		0x5D080000
+#define GPIO2_BASE_ADDR		0x5D090000
+#define GPIO3_BASE_ADDR		0x5D0A0000
+#define GPIO4_BASE_ADDR		0x5D0B0000
+#define GPIO5_BASE_ADDR		0x5D0C0000
+#define GPIO6_BASE_ADDR		0x5D0D0000
+#define GPIO7_BASE_ADDR		0x5D0E0000
+#define GPIO8_BASE_ADDR		0x5D0F0000
+#define LPI2C1_BASE_ADDR	0x5A800000
+#define LPI2C2_BASE_ADDR	0x5A810000
+#define LPI2C3_BASE_ADDR	0x5A820000
+#define LPI2C4_BASE_ADDR	0x5A830000
+#define LPI2C5_BASE_ADDR	0x5A840000
+
+#ifdef CONFIG_IMX8QXP
+#define LVDS0_PHYCTRL_BASE	0x56221000
+#define LVDS1_PHYCTRL_BASE	0x56241000
+#define MIPI0_SS_BASE		0x56220000
+#define MIPI1_SS_BASE		0x56240000
+#endif
+
+#define APBH_DMA_ARB_BASE_ADDR	0x5B810000
+#define APBH_DMA_ARB_END_ADDR	0x5B81FFFF
+#define MXS_APBH_BASE		APBH_DMA_ARB_BASE_ADDR
+
+#define MXS_GPMI_BASE		(APBH_DMA_ARB_BASE_ADDR + 0x02000)
+#define MXS_BCH_BASE		(APBH_DMA_ARB_BASE_ADDR + 0x04000)
+
+#define PASS_OVER_INFO_ADDR	0x0010fe00
+
+#define USB_BASE_ADDR		0x5b0d0000
+#define USB_PHY0_BASE_ADDR	0x5b100000
+
+#endif /* __ASM_ARCH_IMX8_REGS_H__ */
-- 
2.17.1

  parent reply	other threads:[~2018-10-18 12:28 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-18 12:28 [U-Boot] [PATCH v6 00/34] i.MX: Add i.MX8QXP support Anatolij Gustschin
2018-10-18 12:28 ` [U-Boot] [PATCH v6 01/34] dt-bindings: pinctrl: add i.MX8QXP pads definition Anatolij Gustschin
2018-10-18 12:28 ` [U-Boot] [PATCH v6 02/34] dt-bindings: clock: dt-bindings: pinctrl: add i.MX8QXP clocks definition Anatolij Gustschin
2018-10-18 12:28 ` [U-Boot] [PATCH v6 03/34] dt-bindings: soc: add i.MX8QXP pm and rsrc definition Anatolij Gustschin
2018-10-18 12:28 ` [U-Boot] [PATCH v6 04/34] imx8: add scfw macro definition Anatolij Gustschin
2018-10-18 12:28 ` [U-Boot] [PATCH v6 05/34] imx: add Kconfig entry for i.MX8QXP Anatolij Gustschin
2018-10-18 12:28 ` [U-Boot] [PATCH v6 06/34] arm: build mach-imx for i.MX8 Anatolij Gustschin
2018-10-18 12:28 ` [U-Boot] [PATCH v6 07/34] arm: global_data: add scu_dev " Anatolij Gustschin
2018-10-18 12:28 ` [U-Boot] [PATCH v6 08/34] misc: add i.MX8 misc driver Anatolij Gustschin
2018-10-18 12:28 ` [U-Boot] [PATCH v6 09/34] misc: imx8: add scfw api impementation Anatolij Gustschin
2018-10-18 12:28 ` [U-Boot] [PATCH v6 10/34] imx: boot_mode: Add FLEXSPI boot entry Anatolij Gustschin
2018-10-18 12:28 ` Anatolij Gustschin [this message]
2018-10-18 12:28 ` [U-Boot] [PATCH v6 12/34] imx8: pins: include i.MX8QXP pin header when CONFIG_IMX8QXP defined Anatolij Gustschin
2018-10-18 12:28 ` [U-Boot] [PATCH v6 13/34] imx: add i.MX8 cpu type Anatolij Gustschin
2018-10-18 12:28 ` [U-Boot] [PATCH v6 14/34] armv8: add cpu core helper functions Anatolij Gustschin
2018-10-18 12:28 ` [U-Boot] [PATCH v6 15/34] imx8: add basic cpu support Anatolij Gustschin
2018-10-18 12:28 ` [U-Boot] [PATCH v6 16/34] imx8: add boot device detection Anatolij Gustschin
2018-10-18 12:28 ` [U-Boot] [PATCH v6 17/34] imx8: implement mmc_get_env_dev Anatolij Gustschin
2018-10-18 12:28 ` [U-Boot] [PATCH v6 18/34] imx8: add mmu and dram related functions Anatolij Gustschin
2018-10-18 12:28 ` [U-Boot] [PATCH v6 19/34] imx8: add arch_cpu_init arch_cpu_init_dm Anatolij Gustschin
2018-10-18 12:28 ` [U-Boot] [PATCH v6 20/34] imx8: cpu: add function for reading FEC MAC from fuse Anatolij Gustschin
2018-10-19  2:38   ` Peng Fan
2018-10-18 12:28 ` [U-Boot] [PATCH v6 21/34] imx8: cpu: add uclass based CPU driver Anatolij Gustschin
2018-10-19  3:04   ` Peng Fan
2018-10-18 12:28 ` [U-Boot] [PATCH v6 22/34] imx8: add iomux configuration api Anatolij Gustschin
2018-10-18 12:28 ` [U-Boot] [PATCH v6 23/34] imx8: add dummy clock Anatolij Gustschin
2018-10-18 12:28 ` [U-Boot] [PATCH v6 24/34] gpio: mxc_gpio: add support for i.MX8 Anatolij Gustschin
2018-10-18 12:28 ` [U-Boot] [PATCH v6 25/34] pinctrl: Add pinctrl driver " Anatolij Gustschin
2018-10-18 12:28 ` [U-Boot] [PATCH v6 26/34] power: Add power domain " Anatolij Gustschin
2018-10-18 12:28 ` [U-Boot] [PATCH v6 27/34] clk: imx: add clk driver for i.MX8QXP Anatolij Gustschin
2018-10-18 12:28 ` [U-Boot] [PATCH v6 28/34] serial_lpuart: Update lpuart driver to support i.MX8 Anatolij Gustschin
2018-10-18 12:28 ` [U-Boot] [PATCH v6 29/34] serial: lpuart: Enable RX and TX FIFO Anatolij Gustschin
2018-10-18 12:28 ` [U-Boot] [PATCH v6 30/34] serial: lpuart: support uclass clk api Anatolij Gustschin
2018-10-18 22:26   ` [U-Boot] [PATCH v7 " Anatolij Gustschin
2018-10-18 12:28 ` [U-Boot] [PATCH v6 31/34] fsl_esdhc: Update usdhc driver to support i.MX8 Anatolij Gustschin
2018-10-18 12:28 ` [U-Boot] [PATCH v6 32/34] mmc: fsl_esdhc: add uclass clk support Anatolij Gustschin
2018-10-18 12:28 ` [U-Boot] [PATCH v6 33/34] arm: dts: introduce dtsi for i.MX8QXP Anatolij Gustschin
2018-10-18 12:28 ` [U-Boot] [PATCH v6 34/34] imx: add i.MX8QXP MEK board support Anatolij Gustschin
2018-10-25 21:10   ` Tim Harvey
2018-10-26  0:46     ` Peng Fan
2018-10-26 17:17       ` Tim Harvey
2018-10-27 17:56         ` Fabio Estevam
2018-11-07  6:58           ` Jon Nettleton
2018-11-07 12:35             ` Fabio Estevam
2018-11-07 12:42               ` Peng Fan

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=20181018122837.31582-12-agust@denx.de \
    --to=agust@denx.de \
    --cc=u-boot@lists.denx.de \
    /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.