wip: board: samsung: add initial Exynos9820 board support

This commit is contained in:
d4n1 2021-12-16 15:26:26 +05:00
parent 5b20efeafe
commit 8c59a55833
8 changed files with 11765 additions and 0 deletions

View File

@ -36,6 +36,8 @@ dtb-$(CONFIG_ARCH_APPLE) += \
t8103-j274.dtb \
t8103-j293.dtb
dtb-$(CONFIG_EXYNOS9820) += exynos9820.dtb
dtb-$(CONFIG_ARCH_DAVINCI) += \
da850-evm.dtb \
da850-lcdk.dtb \

View File

@ -0,0 +1,13 @@
// SPDX-License-Identifier: GPL-2.0+
/*
* Samsung Espresso7420 board device tree source
*
* Copyright (c) 2016 Samsung Electronics Co., Ltd.
* http://www.samsung.com
*/
#include "exynos9820.dtsi"
/ {
model = "Samsung Exynos9820";
compatible = "samsung,armv8", "samsung,exynos9820";
};

11682
arch/arm/dts/exynos9820.dtsi Normal file

File diff suppressed because it is too large Load Diff

View File

@ -181,6 +181,24 @@ config TARGET_A3Y17LTE
endchoice
endif
if ARCH_EXYNOS9820
choice
prompt "EXYNOS9820 board select"
config TARGET_EXYNOS9820
bool "EXYNOS9820 board"
select ARM64
select ARMV8_MULTIENTRY
select CLK_EXYNOS
select OF_CONTROL
select PINCTRL
select PINCTRL_EXYNOS9820
select SUPPORT_SPL
endchoice
endif
config SYS_SOC
default "exynos"

View File

@ -0,0 +1,15 @@
if TARGET_EXYNOS9820
config SYS_BOARD
default "exynos9820"
help
Exynos 9820 is a 64-bit octa-core ARM high performance mobile
system on a chip designed by Samsung and introduced in early 2019.
config SYS_VENDOR
default "samsung"
config SYS_CONFIG_NAME
default "exynos9820"
endif

View File

@ -0,0 +1,10 @@
#
# Copyright (C) 2016 Samsung Electronics
# Thomas Abraham <thomas.ab@samsung.com>
#
# SPDX-License-Identifier: GPL-2.0+
#
ifndef CONFIG_SPL_BUILD
obj-y += exynos9820.o
endif

View File

@ -0,0 +1,16 @@
/*
* Espresso7420 board file
* Copyright (C) 2016 Samsung Electronics
* Thomas Abraham <thomas.ab@samsung.com>
*
* SPDX-License-Identifier: GPL-2.0+
*/
#include <common.h>
DECLARE_GLOBAL_DATA_PTR;
int exynos_init(void)
{
return 0;
}

View File

@ -0,0 +1,9 @@
CONFIG_ARM=y
CONFIG_ARCH_EXYNOS=y
CONFIG_ARCH_EXYNOS9820=y
CONFIG_TARGET_EXYNOS9820=y
CONFIG_DEFAULT_DEVICE_TREE="exynos9820"
CONFIG_SYS_MALLOC_F_LEN=0x2000
CONFIG_SYS_PROMPT="EXYNOS9820 # "
# CONFIG_CMD_IMLS is not set
# CONFIG_CMD_SETEXPR is not set