2018-05-06 21:58:06 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
2015-10-26 11:47:50 +00:00
|
|
|
/*
|
armv8: lx2162a: Add Soc changes to support LX2162A
LX2162 is LX2160 based SoC, it has same die as of LX2160
with different packaging.
LX2162A support 64-bit 2.9GT/s DDR4 memory, i2c, micro-click module,
microSD card, eMMC support, serial console, qspi nor flash, qsgmii,
sgmii, 25g, 40g, 50g network interface, one usb 3.0 and serdes
interface to support three PCIe gen3 interface.
Signed-off-by: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com>
[Fixed whitespace errors]
Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
2020-10-29 13:46:16 +00:00
|
|
|
* Copyright 2017-2018, 2020 NXP
|
2015-10-26 11:47:50 +00:00
|
|
|
* Copyright 2014-2015, Freescale Semiconductor
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _FSL_LAYERSCAPE_CPU_H
|
|
|
|
#define _FSL_LAYERSCAPE_CPU_H
|
|
|
|
|
|
|
|
#ifdef CONFIG_FSL_LSCH3
|
|
|
|
#define CONFIG_SYS_FSL_CCSR_BASE 0x00000000
|
|
|
|
#define CONFIG_SYS_FSL_CCSR_SIZE 0x10000000
|
|
|
|
#define CONFIG_SYS_FSL_QSPI_BASE1 0x20000000
|
|
|
|
#define CONFIG_SYS_FSL_QSPI_SIZE1 0x10000000
|
2018-10-29 09:11:29 +00:00
|
|
|
#ifndef CONFIG_NXP_LSCH3_2
|
2015-10-26 11:47:50 +00:00
|
|
|
#define CONFIG_SYS_FSL_IFC_BASE1 0x30000000
|
|
|
|
#define CONFIG_SYS_FSL_IFC_SIZE1 0x10000000
|
|
|
|
#define CONFIG_SYS_FSL_IFC_SIZE1_1 0x400000
|
2018-10-29 09:11:29 +00:00
|
|
|
#endif
|
2015-10-26 11:47:50 +00:00
|
|
|
#define CONFIG_SYS_FSL_DRAM_BASE1 0x80000000
|
|
|
|
#define CONFIG_SYS_FSL_DRAM_SIZE1 0x80000000
|
|
|
|
#define CONFIG_SYS_FSL_QSPI_BASE2 0x400000000
|
|
|
|
#define CONFIG_SYS_FSL_QSPI_SIZE2 0x100000000
|
2018-10-29 09:11:29 +00:00
|
|
|
#ifndef CONFIG_NXP_LSCH3_2
|
2015-10-26 11:47:50 +00:00
|
|
|
#define CONFIG_SYS_FSL_IFC_BASE2 0x500000000
|
|
|
|
#define CONFIG_SYS_FSL_IFC_SIZE2 0x100000000
|
2018-10-29 09:11:29 +00:00
|
|
|
#endif
|
2015-10-26 11:47:50 +00:00
|
|
|
#define CONFIG_SYS_FSL_DCSR_BASE 0x700000000
|
|
|
|
#define CONFIG_SYS_FSL_DCSR_SIZE 0x40000000
|
|
|
|
#define CONFIG_SYS_FSL_MC_BASE 0x80c000000
|
|
|
|
#define CONFIG_SYS_FSL_MC_SIZE 0x4000000
|
|
|
|
#define CONFIG_SYS_FSL_NI_BASE 0x810000000
|
|
|
|
#define CONFIG_SYS_FSL_NI_SIZE 0x8000000
|
|
|
|
#define CONFIG_SYS_FSL_QBMAN_BASE 0x818000000
|
|
|
|
#define CONFIG_SYS_FSL_QBMAN_SIZE 0x8000000
|
|
|
|
#define CONFIG_SYS_FSL_QBMAN_SIZE_1 0x4000000
|
2019-04-08 10:15:37 +00:00
|
|
|
#ifdef CONFIG_ARCH_LS2080A
|
2015-10-26 11:47:50 +00:00
|
|
|
#define CONFIG_SYS_PCIE1_PHYS_SIZE 0x200000000
|
|
|
|
#define CONFIG_SYS_PCIE2_PHYS_SIZE 0x200000000
|
|
|
|
#define CONFIG_SYS_PCIE3_PHYS_SIZE 0x200000000
|
|
|
|
#define CONFIG_SYS_PCIE4_PHYS_SIZE 0x200000000
|
2019-04-08 10:15:37 +00:00
|
|
|
#else
|
|
|
|
#define CONFIG_SYS_PCIE1_PHYS_SIZE 0x800000000
|
|
|
|
#define CONFIG_SYS_PCIE2_PHYS_SIZE 0x800000000
|
2019-06-07 14:03:07 +00:00
|
|
|
#ifndef CONFIG_SYS_PCIE3_PHYS_SIZE
|
2019-04-08 10:15:37 +00:00
|
|
|
#define CONFIG_SYS_PCIE3_PHYS_SIZE 0x800000000
|
2019-06-07 14:03:07 +00:00
|
|
|
#endif
|
2019-04-08 10:15:37 +00:00
|
|
|
#define CONFIG_SYS_PCIE4_PHYS_SIZE 0x800000000
|
2019-04-08 10:15:41 +00:00
|
|
|
#define SYS_PCIE5_PHYS_SIZE 0x800000000
|
|
|
|
#define SYS_PCIE6_PHYS_SIZE 0x800000000
|
2019-04-08 10:15:37 +00:00
|
|
|
#endif
|
2015-10-26 11:47:50 +00:00
|
|
|
#define CONFIG_SYS_FSL_WRIOP1_BASE 0x4300000000
|
|
|
|
#define CONFIG_SYS_FSL_WRIOP1_SIZE 0x100000000
|
|
|
|
#define CONFIG_SYS_FSL_AIOP1_BASE 0x4b00000000
|
|
|
|
#define CONFIG_SYS_FSL_AIOP1_SIZE 0x100000000
|
armv8: lx2162a: Add Soc changes to support LX2162A
LX2162 is LX2160 based SoC, it has same die as of LX2160
with different packaging.
LX2162A support 64-bit 2.9GT/s DDR4 memory, i2c, micro-click module,
microSD card, eMMC support, serial console, qspi nor flash, qsgmii,
sgmii, 25g, 40g, 50g network interface, one usb 3.0 and serdes
interface to support three PCIe gen3 interface.
Signed-off-by: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com>
[Fixed whitespace errors]
Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
2020-10-29 13:46:16 +00:00
|
|
|
#if !defined(CONFIG_ARCH_LX2160A) || !defined(CONFIG_ARCH_LX2162)
|
2015-10-26 11:47:50 +00:00
|
|
|
#define CONFIG_SYS_FSL_PEBUF_BASE 0x4c00000000
|
2018-11-28 09:56:46 +00:00
|
|
|
#else
|
|
|
|
#define CONFIG_SYS_FSL_PEBUF_BASE 0x1c00000000
|
|
|
|
#endif
|
2015-10-26 11:47:50 +00:00
|
|
|
#define CONFIG_SYS_FSL_PEBUF_SIZE 0x400000000
|
2018-10-29 09:11:29 +00:00
|
|
|
#ifdef CONFIG_NXP_LSCH3_2
|
|
|
|
#define CONFIG_SYS_FSL_DRAM_BASE2 0x2080000000
|
|
|
|
#define CONFIG_SYS_FSL_DRAM_SIZE2 0x1F80000000
|
|
|
|
#define CONFIG_SYS_FSL_DRAM_BASE3 0x6000000000
|
|
|
|
#define CONFIG_SYS_FSL_DRAM_SIZE3 0x2000000000
|
|
|
|
#else
|
2015-10-26 11:47:50 +00:00
|
|
|
#define CONFIG_SYS_FSL_DRAM_BASE2 0x8080000000
|
|
|
|
#define CONFIG_SYS_FSL_DRAM_SIZE2 0x7F80000000
|
2018-10-29 09:11:29 +00:00
|
|
|
#endif
|
2015-10-26 11:47:51 +00:00
|
|
|
#elif defined(CONFIG_FSL_LSCH2)
|
|
|
|
#define CONFIG_SYS_FSL_CCSR_BASE 0x1000000
|
|
|
|
#define CONFIG_SYS_FSL_CCSR_SIZE 0xf000000
|
|
|
|
#define CONFIG_SYS_FSL_DCSR_BASE 0x20000000
|
|
|
|
#define CONFIG_SYS_FSL_DCSR_SIZE 0x4000000
|
|
|
|
#define CONFIG_SYS_FSL_QSPI_BASE 0x40000000
|
|
|
|
#define CONFIG_SYS_FSL_QSPI_SIZE 0x20000000
|
|
|
|
#define CONFIG_SYS_FSL_IFC_BASE 0x60000000
|
|
|
|
#define CONFIG_SYS_FSL_IFC_SIZE 0x20000000
|
|
|
|
#define CONFIG_SYS_FSL_DRAM_BASE1 0x80000000
|
|
|
|
#define CONFIG_SYS_FSL_DRAM_SIZE1 0x80000000
|
|
|
|
#define CONFIG_SYS_FSL_QBMAN_BASE 0x500000000
|
|
|
|
#define CONFIG_SYS_FSL_QBMAN_SIZE 0x10000000
|
|
|
|
#define CONFIG_SYS_FSL_DRAM_BASE2 0x880000000
|
|
|
|
#define CONFIG_SYS_FSL_DRAM_SIZE2 0x780000000 /* 30GB */
|
|
|
|
#define CONFIG_SYS_PCIE1_PHYS_SIZE 0x800000000
|
|
|
|
#define CONFIG_SYS_PCIE2_PHYS_SIZE 0x800000000
|
|
|
|
#define CONFIG_SYS_PCIE3_PHYS_SIZE 0x800000000
|
|
|
|
#define CONFIG_SYS_FSL_DRAM_BASE3 0x8800000000
|
|
|
|
#define CONFIG_SYS_FSL_DRAM_SIZE3 0x7800000000 /* 480GB */
|
2015-10-26 11:47:50 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
int fsl_qoriq_core_to_cluster(unsigned int core);
|
|
|
|
u32 cpu_mask(void);
|
2017-05-17 14:23:06 +00:00
|
|
|
|
2015-10-26 11:47:50 +00:00
|
|
|
#endif /* _FSL_LAYERSCAPE_CPU_H */
|