board: ti: introduce basic board files for the am62px family
Introduce the basic files needed to support the am62px family of SoCs Co-developed-by: Hari Hagalla <hnagalla@ti.com> Signed-off-by: Hari Hagalla <hnagalla@ti.com> Signed-off-by: Bryan Brattlof <bb@ti.com>
This commit is contained in:
parent
ca1c7e2b62
commit
817bff8f64
|
|
@ -199,6 +199,7 @@ source "board/ti/am65x/Kconfig"
|
|||
source "board/ti/am64x/Kconfig"
|
||||
source "board/ti/am62x/Kconfig"
|
||||
source "board/ti/am62ax/Kconfig"
|
||||
source "board/ti/am62px/Kconfig"
|
||||
source "board/ti/j721e/Kconfig"
|
||||
source "board/siemens/iot2050/Kconfig"
|
||||
source "board/ti/j721s2/Kconfig"
|
||||
|
|
|
|||
|
|
@ -0,0 +1,52 @@
|
|||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
# Copyright (C) 2023 Texas Instruments Incorporated - https://www.ti.com/
|
||||
#
|
||||
|
||||
choice
|
||||
prompt "TI K3 AM62Px based boards"
|
||||
optional
|
||||
|
||||
config TARGET_AM62P5_A53_EVM
|
||||
bool "TI K3 based AM62P5 EVM running on A53"
|
||||
select ARM64
|
||||
select BINMAN
|
||||
imply BOARD
|
||||
imply SPL_BOARD
|
||||
imply TI_I2C_BOARD_DETECT
|
||||
|
||||
config TARGET_AM62P5_R5_EVM
|
||||
bool "TI K3 based AM62P5 EVM running on R5"
|
||||
select CPU_V7R
|
||||
select SYS_THUMB_BUILD
|
||||
select K3_LOAD_SYSFW
|
||||
select RAM
|
||||
select SPL_RAM
|
||||
select K3_DDRSS
|
||||
select BINMAN
|
||||
imply SYS_K3_SPL_ATF
|
||||
imply TI_I2C_BOARD_DETECT
|
||||
|
||||
endchoice
|
||||
|
||||
if TARGET_AM62P5_R5_EVM || TARGET_AM62P5_A53_EVM
|
||||
|
||||
config SYS_BOARD
|
||||
default "am62px"
|
||||
|
||||
config SYS_VENDOR
|
||||
default "ti"
|
||||
|
||||
config SYS_CONFIG_NAME
|
||||
default "am62px_evm"
|
||||
|
||||
source "board/ti/common/Kconfig"
|
||||
|
||||
endif
|
||||
|
||||
if TARGET_AM62P5_R5_EVM
|
||||
|
||||
config SPL_LDSCRIPT
|
||||
default "arch/arm/mach-omap2/u-boot-spl.lds"
|
||||
|
||||
endif
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
AM62Px BOARD
|
||||
M: Vignesh Raghavendra <vigneshr@ti.com>
|
||||
M: Bryan Brattlof <bb@ti.com>
|
||||
M: Tom Rini <trini@konsulko.com>
|
||||
S: Maintained
|
||||
F: board/ti/am62px/
|
||||
F: include/configs/am62p5_evm.h
|
||||
F: configs/am62px_evm_r5_defconfig
|
||||
F: configs/am62px_evm_a53_defconfig
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
#
|
||||
# Copyright (C) 2023 Texas Instruments Incorporated - https://www.ti.com/
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
|
||||
obj-y += evm.o
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
#include <environment/ti/ti_armv7_common.env>
|
||||
#include <environment/ti/mmc.env>
|
||||
#include <environment/ti/k3_dfu.env>
|
||||
#include <environment/ti/ospi_nand.env>
|
||||
#if CONFIG_CMD_REMOTEPROC
|
||||
#include <environment/ti/k3_rproc.env>
|
||||
#endif
|
||||
|
||||
default_device_tree=ti/k3-am62p5-sk.dtb
|
||||
findfdt=
|
||||
setenv name_fdt ${default_device_tree};
|
||||
setenv fdtfile ${name_fdt}
|
||||
name_kern=Image
|
||||
console=ttyS2,115200n8
|
||||
args_all=setenv optargs ${optargs} earlycon=ns16550a,mmio32,0x02800000
|
||||
${mtdparts}
|
||||
run_kern=booti ${loadaddr} ${rd_spec} ${fdtaddr}
|
||||
|
||||
boot=mmc
|
||||
mmcdev=1
|
||||
bootpart=1:2
|
||||
bootdir=/boot
|
||||
rd_spec=-
|
||||
|
|
@ -0,0 +1,36 @@
|
|||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
# Copyright (C) 2023 Texas Instruments Incorporated - https://www.ti.com/
|
||||
#
|
||||
# Board configuration for AM62Px SoCs
|
||||
#
|
||||
|
||||
---
|
||||
board-cfg:
|
||||
rev:
|
||||
boardcfg_abi_maj: 0x0
|
||||
boardcfg_abi_min: 0x1
|
||||
control:
|
||||
subhdr:
|
||||
magic: 0xC1D3
|
||||
size: 7
|
||||
main_isolation_enable: 0x5A
|
||||
main_isolation_hostid: 0x2
|
||||
secproxy:
|
||||
subhdr:
|
||||
magic: 0x1207
|
||||
size: 7
|
||||
scaling_factor: 0x1
|
||||
scaling_profile: 0x1
|
||||
disable_main_nav_secure_proxy: 0
|
||||
msmc:
|
||||
subhdr:
|
||||
magic: 0xA5C3
|
||||
size: 5
|
||||
msmc_cache_size: 0x10
|
||||
debug_cfg:
|
||||
subhdr:
|
||||
magic: 0x020C
|
||||
size: 8
|
||||
trace_dst_enables: 0x00
|
||||
trace_src_enables: 0x00
|
||||
|
|
@ -0,0 +1,30 @@
|
|||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/*
|
||||
* Board specific initialization for AM62Px platforms
|
||||
*
|
||||
* Copyright (C) 2023 Texas Instruments Incorporated - https://www.ti.com/
|
||||
*
|
||||
*/
|
||||
|
||||
#include <asm/arch/hardware.h>
|
||||
#include <asm/io.h>
|
||||
#include <common.h>
|
||||
#include <dm/uclass.h>
|
||||
#include <env.h>
|
||||
#include <fdt_support.h>
|
||||
#include <spl.h>
|
||||
|
||||
int board_init(void)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
int dram_init(void)
|
||||
{
|
||||
return fdtdec_setup_mem_size_base();
|
||||
}
|
||||
|
||||
int dram_init_banksize(void)
|
||||
{
|
||||
return fdtdec_setup_memory_banksize();
|
||||
}
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
# Copyright (C) 2023 Texas Instruments Incorporated - https://www.ti.com/
|
||||
#
|
||||
# Power management configuration for AM62Px
|
||||
#
|
||||
#
|
||||
---
|
||||
pm-cfg:
|
||||
rev:
|
||||
boardcfg_abi_maj: 0x0
|
||||
boardcfg_abi_min: 0x1
|
||||
File diff suppressed because it is too large
Load Diff
|
|
@ -0,0 +1,378 @@
|
|||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
# Copyright (C) 2023 Texas Instruments Incorporated - https://www.ti.com/
|
||||
#
|
||||
# Security configuration for AM62Px
|
||||
#
|
||||
---
|
||||
sec-cfg:
|
||||
rev:
|
||||
boardcfg_abi_maj: 0x0
|
||||
boardcfg_abi_min: 0x1
|
||||
processor_acl_list:
|
||||
subhdr:
|
||||
magic: 0xF1EA
|
||||
size: 164
|
||||
proc_acl_entries:
|
||||
- #1
|
||||
processor_id: 0
|
||||
proc_access_master: 0
|
||||
proc_access_secondary: [0, 0, 0]
|
||||
- #2
|
||||
processor_id: 0
|
||||
proc_access_master: 0
|
||||
proc_access_secondary: [0, 0, 0]
|
||||
- #3
|
||||
processor_id: 0
|
||||
proc_access_master: 0
|
||||
proc_access_secondary: [0, 0, 0]
|
||||
- #4
|
||||
processor_id: 0
|
||||
proc_access_master: 0
|
||||
proc_access_secondary: [0, 0, 0]
|
||||
- #5
|
||||
processor_id: 0
|
||||
proc_access_master: 0
|
||||
proc_access_secondary: [0, 0, 0]
|
||||
- #6
|
||||
processor_id: 0
|
||||
proc_access_master: 0
|
||||
proc_access_secondary: [0, 0, 0]
|
||||
- #7
|
||||
processor_id: 0
|
||||
proc_access_master: 0
|
||||
proc_access_secondary: [0, 0, 0]
|
||||
- #8
|
||||
processor_id: 0
|
||||
proc_access_master: 0
|
||||
proc_access_secondary: [0, 0, 0]
|
||||
- #9
|
||||
processor_id: 0
|
||||
proc_access_master: 0
|
||||
proc_access_secondary: [0, 0, 0]
|
||||
- #10
|
||||
processor_id: 0
|
||||
proc_access_master: 0
|
||||
proc_access_secondary: [0, 0, 0]
|
||||
- #11
|
||||
processor_id: 0
|
||||
proc_access_master: 0
|
||||
proc_access_secondary: [0, 0, 0]
|
||||
- #12
|
||||
processor_id: 0
|
||||
proc_access_master: 0
|
||||
proc_access_secondary: [0, 0, 0]
|
||||
- #13
|
||||
processor_id: 0
|
||||
proc_access_master: 0
|
||||
proc_access_secondary: [0, 0, 0]
|
||||
- #14
|
||||
processor_id: 0
|
||||
proc_access_master: 0
|
||||
proc_access_secondary: [0, 0, 0]
|
||||
- #15
|
||||
processor_id: 0
|
||||
proc_access_master: 0
|
||||
proc_access_secondary: [0, 0, 0]
|
||||
- #16
|
||||
processor_id: 0
|
||||
proc_access_master: 0
|
||||
proc_access_secondary: [0, 0, 0]
|
||||
- #17
|
||||
processor_id: 0
|
||||
proc_access_master: 0
|
||||
proc_access_secondary: [0, 0, 0]
|
||||
- #18
|
||||
processor_id: 0
|
||||
proc_access_master: 0
|
||||
proc_access_secondary: [0, 0, 0]
|
||||
- #19
|
||||
processor_id: 0
|
||||
proc_access_master: 0
|
||||
proc_access_secondary: [0, 0, 0]
|
||||
- #20
|
||||
processor_id: 0
|
||||
proc_access_master: 0
|
||||
proc_access_secondary: [0, 0, 0]
|
||||
- #21
|
||||
processor_id: 0
|
||||
proc_access_master: 0
|
||||
proc_access_secondary: [0, 0, 0]
|
||||
- #22
|
||||
processor_id: 0
|
||||
proc_access_master: 0
|
||||
proc_access_secondary: [0, 0, 0]
|
||||
- #23
|
||||
processor_id: 0
|
||||
proc_access_master: 0
|
||||
proc_access_secondary: [0, 0, 0]
|
||||
- #24
|
||||
processor_id: 0
|
||||
proc_access_master: 0
|
||||
proc_access_secondary: [0, 0, 0]
|
||||
- #25
|
||||
processor_id: 0
|
||||
proc_access_master: 0
|
||||
proc_access_secondary: [0, 0, 0]
|
||||
- #26
|
||||
processor_id: 0
|
||||
proc_access_master: 0
|
||||
proc_access_secondary: [0, 0, 0]
|
||||
- #27
|
||||
processor_id: 0
|
||||
proc_access_master: 0
|
||||
proc_access_secondary: [0, 0, 0]
|
||||
- #28
|
||||
processor_id: 0
|
||||
proc_access_master: 0
|
||||
proc_access_secondary: [0, 0, 0]
|
||||
- #29
|
||||
processor_id: 0
|
||||
proc_access_master: 0
|
||||
proc_access_secondary: [0, 0, 0]
|
||||
- #30
|
||||
processor_id: 0
|
||||
proc_access_master: 0
|
||||
proc_access_secondary: [0, 0, 0]
|
||||
- #31
|
||||
processor_id: 0
|
||||
proc_access_master: 0
|
||||
proc_access_secondary: [0, 0, 0]
|
||||
- #32
|
||||
processor_id: 0
|
||||
proc_access_master: 0
|
||||
proc_access_secondary: [0, 0, 0]
|
||||
host_hierarchy:
|
||||
subhdr:
|
||||
magic: 0x8D27
|
||||
size: 68
|
||||
host_hierarchy_entries:
|
||||
- #1
|
||||
host_id: 0
|
||||
supervisor_host_id: 0
|
||||
- #2
|
||||
host_id: 0
|
||||
supervisor_host_id: 0
|
||||
- #3
|
||||
host_id: 0
|
||||
supervisor_host_id: 0
|
||||
- #4
|
||||
host_id: 0
|
||||
supervisor_host_id: 0
|
||||
- #5
|
||||
host_id: 0
|
||||
supervisor_host_id: 0
|
||||
- #6
|
||||
host_id: 0
|
||||
supervisor_host_id: 0
|
||||
- #7
|
||||
host_id: 0
|
||||
supervisor_host_id: 0
|
||||
- #8
|
||||
host_id: 0
|
||||
supervisor_host_id: 0
|
||||
- #9
|
||||
host_id: 0
|
||||
supervisor_host_id: 0
|
||||
- #10
|
||||
host_id: 0
|
||||
supervisor_host_id: 0
|
||||
- #11
|
||||
host_id: 0
|
||||
supervisor_host_id: 0
|
||||
- #12
|
||||
host_id: 0
|
||||
supervisor_host_id: 0
|
||||
- #13
|
||||
host_id: 0
|
||||
supervisor_host_id: 0
|
||||
- #14
|
||||
host_id: 0
|
||||
supervisor_host_id: 0
|
||||
- #15
|
||||
host_id: 0
|
||||
supervisor_host_id: 0
|
||||
- #16
|
||||
host_id: 0
|
||||
supervisor_host_id: 0
|
||||
- #17
|
||||
host_id: 0
|
||||
supervisor_host_id: 0
|
||||
- #18
|
||||
host_id: 0
|
||||
supervisor_host_id: 0
|
||||
- #19
|
||||
host_id: 0
|
||||
supervisor_host_id: 0
|
||||
- #20
|
||||
host_id: 0
|
||||
supervisor_host_id: 0
|
||||
- #21
|
||||
host_id: 0
|
||||
supervisor_host_id: 0
|
||||
- #22
|
||||
host_id: 0
|
||||
supervisor_host_id: 0
|
||||
- #23
|
||||
host_id: 0
|
||||
supervisor_host_id: 0
|
||||
- #24
|
||||
host_id: 0
|
||||
supervisor_host_id: 0
|
||||
- #25
|
||||
host_id: 0
|
||||
supervisor_host_id: 0
|
||||
- #26
|
||||
host_id: 0
|
||||
supervisor_host_id: 0
|
||||
- #27
|
||||
host_id: 0
|
||||
supervisor_host_id: 0
|
||||
- #28
|
||||
host_id: 0
|
||||
supervisor_host_id: 0
|
||||
- #29
|
||||
host_id: 0
|
||||
supervisor_host_id: 0
|
||||
- #30
|
||||
host_id: 0
|
||||
supervisor_host_id: 0
|
||||
- #31
|
||||
host_id: 0
|
||||
supervisor_host_id: 0
|
||||
- #32
|
||||
host_id: 0
|
||||
supervisor_host_id: 0
|
||||
otp_config:
|
||||
subhdr:
|
||||
magic: 0x4081
|
||||
size: 69
|
||||
write_host_id: 0
|
||||
otp_entry:
|
||||
- #1
|
||||
host_id: 0
|
||||
host_perms: 0
|
||||
- #2
|
||||
host_id: 0
|
||||
host_perms: 0
|
||||
- #3
|
||||
host_id: 0
|
||||
host_perms: 0
|
||||
- #4
|
||||
host_id: 0
|
||||
host_perms: 0
|
||||
- #5
|
||||
host_id: 0
|
||||
host_perms: 0
|
||||
- #6
|
||||
host_id: 0
|
||||
host_perms: 0
|
||||
- #7
|
||||
host_id: 0
|
||||
host_perms: 0
|
||||
- #8
|
||||
host_id: 0
|
||||
host_perms: 0
|
||||
- #9
|
||||
host_id: 0
|
||||
host_perms: 0
|
||||
- #10
|
||||
host_id: 0
|
||||
host_perms: 0
|
||||
- #11
|
||||
host_id: 0
|
||||
host_perms: 0
|
||||
- #12
|
||||
host_id: 0
|
||||
host_perms: 0
|
||||
- #13
|
||||
host_id: 0
|
||||
host_perms: 0
|
||||
- #14
|
||||
host_id: 0
|
||||
host_perms: 0
|
||||
- #15
|
||||
host_id: 0
|
||||
host_perms: 0
|
||||
- #16
|
||||
host_id: 0
|
||||
host_perms: 0
|
||||
- #17
|
||||
host_id: 0
|
||||
host_perms: 0
|
||||
- #18
|
||||
host_id: 0
|
||||
host_perms: 0
|
||||
- #19
|
||||
host_id: 0
|
||||
host_perms: 0
|
||||
- #20
|
||||
host_id: 0
|
||||
host_perms: 0
|
||||
- #21
|
||||
host_id: 0
|
||||
host_perms: 0
|
||||
- #22
|
||||
host_id: 0
|
||||
host_perms: 0
|
||||
- #23
|
||||
host_id: 0
|
||||
host_perms: 0
|
||||
- #24
|
||||
host_id: 0
|
||||
host_perms: 0
|
||||
- #25
|
||||
host_id: 0
|
||||
host_perms: 0
|
||||
- #26
|
||||
host_id: 0
|
||||
host_perms: 0
|
||||
- #27
|
||||
host_id: 0
|
||||
host_perms: 0
|
||||
- #28
|
||||
host_id: 0
|
||||
host_perms: 0
|
||||
- #29
|
||||
host_id: 0
|
||||
host_perms: 0
|
||||
- #30
|
||||
host_id: 0
|
||||
host_perms: 0
|
||||
- #31
|
||||
host_id: 0
|
||||
host_perms: 0
|
||||
- #32
|
||||
host_id: 0
|
||||
host_perms: 0
|
||||
dkek_config:
|
||||
subhdr:
|
||||
magic: 0x5170
|
||||
size: 12
|
||||
allowed_hosts: [128, 0, 0, 0]
|
||||
allow_dkek_export_tisci: 0x5A
|
||||
rsvd: [0, 0, 0]
|
||||
sa2ul_cfg:
|
||||
subhdr:
|
||||
magic: 0x23BE
|
||||
size: 0
|
||||
auth_resource_owner: 0
|
||||
enable_saul_psil_global_config_writes: 0x5A
|
||||
rsvd: [0, 0]
|
||||
sec_dbg_config:
|
||||
subhdr:
|
||||
magic: 0x42AF
|
||||
size: 16
|
||||
allow_jtag_unlock: 0x5A
|
||||
allow_wildcard_unlock: 0x5A
|
||||
allowed_debug_level_rsvd: 0
|
||||
rsvd: 0
|
||||
min_cert_rev: 0x0
|
||||
jtag_unlock_hosts: [0, 0, 0, 0]
|
||||
sec_handover_cfg:
|
||||
subhdr:
|
||||
magic: 0x608F
|
||||
size: 10
|
||||
handover_msg_sender: 0
|
||||
handover_to_host_id: 0
|
||||
rsvd: [0, 0, 0, 0]
|
||||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue