All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCHv2 1/2] ARM: socfpga: arria10: add base address map for Arria10
@ 2015-11-23 23:27 dinguyen at opensource.altera.com
  2015-11-23 23:27 ` [U-Boot] [PATCHv2 2/2] ARM: socfpga: rename the cyclone5 and arria5 base address file dinguyen at opensource.altera.com
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: dinguyen at opensource.altera.com @ 2015-11-23 23:27 UTC (permalink / raw)
  To: u-boot

From: Dinh Nguyen <dinguyen@opensource.altera.com>

Add the base address map for Arria10.

Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>
Reviewed-by: Marek Vasut <marex@denx.de>
---
v2: renamed to base_addr_a10.h
---
 arch/arm/mach-socfpga/include/mach/base_addr_a10.h | 45 ++++++++++++++++++++++
 1 file changed, 45 insertions(+)
 create mode 100644 arch/arm/mach-socfpga/include/mach/base_addr_a10.h

diff --git a/arch/arm/mach-socfpga/include/mach/base_addr_a10.h b/arch/arm/mach-socfpga/include/mach/base_addr_a10.h
new file mode 100644
index 0000000..a7056d4
--- /dev/null
+++ b/arch/arm/mach-socfpga/include/mach/base_addr_a10.h
@@ -0,0 +1,45 @@
+/*
+ * Copyright (C) 2014 Altera Corporation <www.altera.com>
+ *
+ * SPDX-License-Identifier:	GPL-2.0+
+ */
+
+#ifndef _SOCFPGA_A10_BASE_HARDWARE_H_
+#define _SOCFPGA_A10_BASE_HARDWARE_H_
+
+#define SOCFPGA_EMAC0_ADDRESS			0xff800000
+#define SOCFPGA_EMAC1_ADDRESS			0xff802000
+#define SOCFPGA_EMAC2_ADDRESS			0xff804000
+#define SOCFPGA_SDMMC_ADDRESS			0xff808000
+#define SOCFPGA_QSPIREGS_ADDRESS		0xff809000
+#define SOCFPGA_QSPIDATA_ADDRESS		0xffa00000
+#define SOCFPGA_UART1_ADDRESS			0xffc02100
+#define SOCFPGA_HMC_MMR_IO48_ADDRESS		0xffcfa000
+#define SOCFPGA_FPGAMGRDATA_ADDRESS		0xffcfe400
+#define SOCFPGA_FPGAMGRREGS_ADDRESS		0xffd03000
+#define SOCFPGA_L4WD0_ADDRESS			0xffd00200
+#define SOCFPGA_SYSMGR_ADDRESS			0xffd06000
+#define SOCFPGA_PINMUX_SHARED_3V_IO_ADDRESS	0xffd07000
+#define SOCFPGA_PINMUX_DEDICATED_IO_ADDRESS	0xffd07200
+#define SOCFPGA_PINMUX_DEDICATED_IO_CFG_ADDRESS	0xffd07300
+#define SOCFPGA_PINMUX_FPGA_INTERFACE_ADDRESS	0xffd07400
+#define SOCFPGA_DMANONSECURE_ADDRESS		0xffda0000
+#define SOCFPGA_DMASECURE_ADDRESS		0xffda1000
+#define SOCFPGA_MPUSCU_ADDRESS			0xffffc000
+#define SOCFPGA_MPUL2_ADDRESS			0xfffff000
+#define SOCFPGA_I2C0_ADDRESS			0xffc02200
+#define SOCFPGA_I2C1_ADDRESS			0xffc02300
+
+#define SOCFPGA_ECC_OCRAM_ADDRESS		0xff8c3000
+#define SOCFPGA_UART0_ADDRESS			0xffc02000
+#define SOCFPGA_OSC1TIMER0_ADDRESS		0xffd00000
+#define SOCFPGA_CLKMGR_ADDRESS			0xffd04000
+#define SOCFPGA_RSTMGR_ADDRESS			0xffd05000
+
+#define SOCFPGA_SDR_ADDRESS			0xffcfb000
+#define SOCFPGA_SDR_SCHEDULER_ADDRESS		0xffd12400
+#define SOCFPGA_SDR_FIREWALL_OCRAM_ADDRESS	0xffd13200
+#define SOCFPGA_SDR_FIREWALL_MPU_FPGA_ADDRESS	0xffd13300
+#define SOCFPGA_SDR_FIREWALL_L3_ADDRESS		0xffd13400
+
+#endif /* _SOCFPGA_A10_BASE_HARDWARE_H_ */
-- 
2.6.2

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [U-Boot] [PATCHv2 2/2] ARM: socfpga: rename the cyclone5 and arria5 base address file
  2015-11-23 23:27 [U-Boot] [PATCHv2 1/2] ARM: socfpga: arria10: add base address map for Arria10 dinguyen at opensource.altera.com
@ 2015-11-23 23:27 ` dinguyen at opensource.altera.com
  2015-11-24  8:51   ` Chin Liang See
  2015-11-24  8:49 ` [U-Boot] [PATCHv2 1/2] ARM: socfpga: arria10: add base address map for Arria10 Chin Liang See
  2015-11-24 15:43 ` Marek Vasut
  2 siblings, 1 reply; 5+ messages in thread
From: dinguyen at opensource.altera.com @ 2015-11-23 23:27 UTC (permalink / raw)
  To: u-boot

From: Dinh Nguyen <dinguyen@opensource.altera.com>

When adding support for the Arria10 platform, we're going to name the file
base_addr_a10.h, so to be systematic about it, rename the socfpga_base_addr.h
to be base_addr_ac5.h for the Arria5 and Cyclone5 platform.

Suggested-by: Marek Vasut <marex@denx.de>
Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>
---
 .../mach-socfpga/include/mach/{socfpga_base_addrs.h => base_addr_ac5.h} | 0
 include/configs/socfpga_arria5_socdk.h                                  | 2 +-
 include/configs/socfpga_cyclone5_socdk.h                                | 2 +-
 include/configs/socfpga_de0_nano_soc.h                                  | 2 +-
 include/configs/socfpga_mcvevk.h                                        | 2 +-
 include/configs/socfpga_sockit.h                                        | 2 +-
 6 files changed, 5 insertions(+), 5 deletions(-)
 rename arch/arm/mach-socfpga/include/mach/{socfpga_base_addrs.h => base_addr_ac5.h} (100%)

diff --git a/arch/arm/mach-socfpga/include/mach/socfpga_base_addrs.h b/arch/arm/mach-socfpga/include/mach/base_addr_ac5.h
similarity index 100%
rename from arch/arm/mach-socfpga/include/mach/socfpga_base_addrs.h
rename to arch/arm/mach-socfpga/include/mach/base_addr_ac5.h
diff --git a/include/configs/socfpga_arria5_socdk.h b/include/configs/socfpga_arria5_socdk.h
index 8364c66..91ecbf7 100644
--- a/include/configs/socfpga_arria5_socdk.h
+++ b/include/configs/socfpga_arria5_socdk.h
@@ -6,7 +6,7 @@
 #ifndef __CONFIG_SOCFPGA_ARRIA5_H__
 #define __CONFIG_SOCFPGA_ARRIA5_H__
 
-#include <asm/arch/socfpga_base_addrs.h>
+#include <asm/arch/base_addr_ac5.h>
 
 /* U-Boot Commands */
 #define CONFIG_SYS_NO_FLASH
diff --git a/include/configs/socfpga_cyclone5_socdk.h b/include/configs/socfpga_cyclone5_socdk.h
index 86b53e2..b5cf393 100644
--- a/include/configs/socfpga_cyclone5_socdk.h
+++ b/include/configs/socfpga_cyclone5_socdk.h
@@ -6,7 +6,7 @@
 #ifndef __CONFIG_SOCFPGA_CYCLONE5_H__
 #define __CONFIG_SOCFPGA_CYCLONE5_H__
 
-#include <asm/arch/socfpga_base_addrs.h>
+#include <asm/arch/base_addr_ac5.h>
 
 /* U-Boot Commands */
 #define CONFIG_SYS_NO_FLASH
diff --git a/include/configs/socfpga_de0_nano_soc.h b/include/configs/socfpga_de0_nano_soc.h
index 3ae9b3e..b371a9b 100644
--- a/include/configs/socfpga_de0_nano_soc.h
+++ b/include/configs/socfpga_de0_nano_soc.h
@@ -6,7 +6,7 @@
 #ifndef __CONFIG_TERASIC_DE0_H__
 #define __CONFIG_TERASIC_DE0_H__
 
-#include <asm/arch/socfpga_base_addrs.h>
+#include <asm/arch/base_addr_ac5.h>
 
 /* U-Boot Commands */
 #define CONFIG_SYS_NO_FLASH
diff --git a/include/configs/socfpga_mcvevk.h b/include/configs/socfpga_mcvevk.h
index 4b270ce..d051eec 100644
--- a/include/configs/socfpga_mcvevk.h
+++ b/include/configs/socfpga_mcvevk.h
@@ -6,7 +6,7 @@
 #ifndef __CONFIG_DENX_MCVEVK_H__
 #define __CONFIG_DENX_MCVEVK_H__
 
-#include <asm/arch/socfpga_base_addrs.h>
+#include <asm/arch/base_addr_ac5.h>
 
 /* U-Boot Commands */
 #define CONFIG_SYS_NO_FLASH
diff --git a/include/configs/socfpga_sockit.h b/include/configs/socfpga_sockit.h
index 742c5ae..d26f53d 100644
--- a/include/configs/socfpga_sockit.h
+++ b/include/configs/socfpga_sockit.h
@@ -6,7 +6,7 @@
 #ifndef __CONFIG_TERASIC_SOCKIT_H__
 #define __CONFIG_TERASIC_SOCKIT_H__
 
-#include <asm/arch/socfpga_base_addrs.h>
+#include <asm/arch/base_addr_ac5.h>
 
 /* U-Boot Commands */
 #define CONFIG_SYS_NO_FLASH
-- 
2.6.2

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [U-Boot] [PATCHv2 1/2] ARM: socfpga: arria10: add base address map for Arria10
  2015-11-23 23:27 [U-Boot] [PATCHv2 1/2] ARM: socfpga: arria10: add base address map for Arria10 dinguyen at opensource.altera.com
  2015-11-23 23:27 ` [U-Boot] [PATCHv2 2/2] ARM: socfpga: rename the cyclone5 and arria5 base address file dinguyen at opensource.altera.com
@ 2015-11-24  8:49 ` Chin Liang See
  2015-11-24 15:43 ` Marek Vasut
  2 siblings, 0 replies; 5+ messages in thread
From: Chin Liang See @ 2015-11-24  8:49 UTC (permalink / raw)
  To: u-boot

On Mon, 2015-11-23 at 17:27 -0600, dinguyen at opensource.altera.com
wrote:
> From: Dinh Nguyen <dinguyen@opensource.altera.com>
> 
> Add the base address map for Arria10.
> 
> Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>
> Reviewed-by: Marek Vasut <marex@denx.de>
> ---
> v2: renamed to base_addr_a10.h
> ---
> 

Acked-by: Chin Liang See <clsee@altera.com>

Thanks
Chin Liang

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] [PATCHv2 2/2] ARM: socfpga: rename the cyclone5 and arria5 base address file
  2015-11-23 23:27 ` [U-Boot] [PATCHv2 2/2] ARM: socfpga: rename the cyclone5 and arria5 base address file dinguyen at opensource.altera.com
@ 2015-11-24  8:51   ` Chin Liang See
  0 siblings, 0 replies; 5+ messages in thread
From: Chin Liang See @ 2015-11-24  8:51 UTC (permalink / raw)
  To: u-boot

On Mon, 2015-11-23 at 17:27 -0600, dinguyen at opensource.altera.com
wrote:
> From: Dinh Nguyen <dinguyen@opensource.altera.com>
> 
> When adding support for the Arria10 platform, we're going to name the
> file
> base_addr_a10.h, so to be systematic about it, rename the
> socfpga_base_addr.h
> to be base_addr_ac5.h for the Arria5 and Cyclone5 platform.
> 
> Suggested-by: Marek Vasut <marex@denx.de>
> Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>
> ---


Acked-by: Chin Liang See <clsee@altera.com>

Thanks
Chin Liang

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] [PATCHv2 1/2] ARM: socfpga: arria10: add base address map for Arria10
  2015-11-23 23:27 [U-Boot] [PATCHv2 1/2] ARM: socfpga: arria10: add base address map for Arria10 dinguyen at opensource.altera.com
  2015-11-23 23:27 ` [U-Boot] [PATCHv2 2/2] ARM: socfpga: rename the cyclone5 and arria5 base address file dinguyen at opensource.altera.com
  2015-11-24  8:49 ` [U-Boot] [PATCHv2 1/2] ARM: socfpga: arria10: add base address map for Arria10 Chin Liang See
@ 2015-11-24 15:43 ` Marek Vasut
  2 siblings, 0 replies; 5+ messages in thread
From: Marek Vasut @ 2015-11-24 15:43 UTC (permalink / raw)
  To: u-boot

On Tuesday, November 24, 2015 at 12:27:16 AM, dinguyen at opensource.altera.com 
wrote:
> From: Dinh Nguyen <dinguyen@opensource.altera.com>
> 
> Add the base address map for Arria10.
> 
> Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>
> Reviewed-by: Marek Vasut <marex@denx.de>
> ---
> v2: renamed to base_addr_a10.h

Applied both, thanks!

Best regards,
Marek Vasut

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-11-24 15:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-23 23:27 [U-Boot] [PATCHv2 1/2] ARM: socfpga: arria10: add base address map for Arria10 dinguyen at opensource.altera.com
2015-11-23 23:27 ` [U-Boot] [PATCHv2 2/2] ARM: socfpga: rename the cyclone5 and arria5 base address file dinguyen at opensource.altera.com
2015-11-24  8:51   ` Chin Liang See
2015-11-24  8:49 ` [U-Boot] [PATCHv2 1/2] ARM: socfpga: arria10: add base address map for Arria10 Chin Liang See
2015-11-24 15:43 ` Marek Vasut

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.