LS1088A is an ARMv8 implementation. The LS1088ARDB is an evaluatoin
platform that supports the LS1088A family SoCs. This patch add basic
support of the platform.
Signed-off-by: Alison Wang
Signed-off-by: Prabhakar Kushwaha
Signed-off-by: Ashish Kumar
Signed-off-by: Raghav Dogra
Signed-off-by: Shaohui Xie
---
v5:
Fix checkpatch's check
Change getenv() to env_get()
Rebase to top commit "8b3cec7 mtdparts: Fix uninitialized scalar usage"
arch/arm/Kconfig | 14 ++
arch/arm/cpu/armv8/Kconfig| 1 +
arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 1 +
arch/arm/dts/Makefile | 3 +-
arch/arm/dts/fsl-ls1088a-rdb.dts | 40
board/freescale/ls1088a/Kconfig | 15 ++
board/freescale/ls1088a/MAINTAINERS | 7 +
board/freescale/ls1088a/Makefile | 9 +
board/freescale/ls1088a/README| 66 ++
board/freescale/ls1088a/ddr.c | 102 +
board/freescale/ls1088a/ddr.h | 44
board/freescale/ls1088a/eth_ls1088ardb.c | 102 +
board/freescale/ls1088a/ls1088a.c | 332 ++
board/freescale/ls1088a/ls1088a_qixis.h | 34 +++
configs/ls1088ardb_qspi_defconfig | 29 +++
include/configs/ls1088a_common.h | 201 ++
include/configs/ls1088ardb.h | 319
17 files changed, 1318 insertions(+), 1 deletion(-)
create mode 100644 arch/arm/dts/fsl-ls1088a-rdb.dts
create mode 100644 board/freescale/ls1088a/Kconfig
create mode 100644 board/freescale/ls1088a/MAINTAINERS
create mode 100644 board/freescale/ls1088a/Makefile
create mode 100644 board/freescale/ls1088a/README
create mode 100644 board/freescale/ls1088a/ddr.c
create mode 100644 board/freescale/ls1088a/ddr.h
create mode 100644 board/freescale/ls1088a/eth_ls1088ardb.c
create mode 100644 board/freescale/ls1088a/ls1088a.c
create mode 100644 board/freescale/ls1088a/ls1088a_qixis.h
create mode 100644 configs/ls1088ardb_qspi_defconfig
create mode 100644 include/configs/ls1088a_common.h
create mode 100644 include/configs/ls1088ardb.h
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 53d0831..acc6990 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -906,6 +906,19 @@ config TARGET_LS1012AFRDM
development platform that supports the QorIQ LS1012A
Layerscape Architecture processor.
+config TARGET_LS1088ARDB
+ bool "Support ls1088ardb"
+ select ARCH_LS1088A
+ select ARM64
+ select ARMV8_MULTIENTRY
+ select ARCH_MISC_INIT
+ select BOARD_LATE_INIT
+ help
+ Support for NXP LS1088ARDB platform.
+ The LS1088A Reference design board (RDB) is a high-performance
+ development platform that supports the QorIQ LS1088A
+ Layerscape Architecture processor.
+
config TARGET_LS1021AQDS
bool "Support ls1021aqds"
select BOARD_LATE_INIT
@@ -1185,6 +1198,7 @@ source "board/creative/xfi3/Kconfig"
source "board/freescale/ls2080a/Kconfig"
source "board/freescale/ls2080aqds/Kconfig"
source "board/freescale/ls2080ardb/Kconfig"
+source "board/freescale/ls1088a/Kconfig"
source "board/freescale/ls1021aqds/Kconfig"
source "board/freescale/ls1043aqds/Kconfig"
source "board/freescale/ls1021atwr/Kconfig"
diff --git a/arch/arm/cpu/armv8/Kconfig b/arch/arm/cpu/armv8/Kconfig
index 8e4c3dd..aecdf81 100644
--- a/arch/arm/cpu/armv8/Kconfig
+++ b/arch/arm/cpu/armv8/Kconfig
@@ -88,6 +88,7 @@ config PSCI_RESET
depends on !ARCH_EXYNOS7 && !ARCH_BCM283X && !TARGET_LS2080A_EMU && \
!TARGET_LS2080A_SIMU && !TARGET_LS2080AQDS && \
!TARGET_LS2080ARDB && !TARGET_LS1012AQDS && \
+ !TARGET_LS1088ARDB && \
!TARGET_LS1012ARDB && !TARGET_LS1012AFRDM && \
!TARGET_LS1043ARDB && !TARGET_LS1043AQDS && \
!TARGET_LS1046ARDB && !TARGET_LS1046AQDS && \
diff --git a/arch/arm/cpu/armv8/fsl-layerscape/Kconfig
b/arch/arm/cpu/armv8/fsl-layerscape/Kconfig
index aa2d0d1..9290268 100644
--- a/arch/arm/cpu/armv8/fsl-layerscape/Kconfig
+++ b/arch/arm/cpu/armv8/fsl-layerscape/Kconfig
@@ -208,6 +208,7 @@ config SYS_LS_PPA_FW_ADDR
default 0x2040 if SYS_LS_PPA_FW_IN_XIP && QSPI_BOOT && ARCH_LS2080A
default 0x4040 if SYS_LS_PPA_FW_IN_XIP && QSPI_BOOT
default 0x58040 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS2080A
+ default 0x2040 if SYS_LS_PPA_FW_IN_XIP && ARCH_LS1088A
default 0x6040 if SYS_LS_PPA_FW_IN_XIP
default 0x40 if SYS_LS_PPA_FW_IN_MMC
default 0x40 if SYS_LS_PPA_FW_IN_NAND
diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
index 762429c..9c63fb4 100644
--- a/arch/arm/dts/Makefile
+++ b/arch/arm/dts/Makefile
@@ -187,7 +187,8 @@ dtb-$(CONFIG_ARCH_LS1021A) += ls1021a-qds-duart.dtb \
dtb-$(CONFIG_FSL_LSCH3) += fsl-ls2080a-qds.dtb \
fsl-ls2080a-r