From deedc7882cde0496776fed17b20b6225d0558264 Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Tue, 18 Aug 2020 04:11:01 +0000 Subject: [PATCH] conf/machine: introduce new j7200 platform The J7200 SoC is a part of the K3 Multicore SoC architecture platform. It is targeted for automotive gateway, vehicle compute systems, Vehicle-to-Vehicle (V2V) and Vehicle-to-Everything (V2X) applications. The SoC aims to meet the complex processing needs of modern embedded products. Some highlights of this SoC are: * Dual Cortex-A72s in a single cluster, two clusters of lockstep capable dual Cortex-R5F MCUs and a Centralized Device Management and Security Controller (DMSC). * Configurable L3 Cache and IO-coherent architecture with high data throughput capable distributed DMA architecture under NAVSS. * Integrated Ethernet switch supporting up to a total of 4 external ports in addition to legacy Ethernet switch of up to 2 ports. * Upto 1 PCIe-GEN3 controller, 1 USB3.0 Dual-role device subsystems, 20 MCANs, 3 McASP, eMMC and SD, OSPI/HyperBus memory controller, I3C and I2C, eCAP/eQEP, eHRPWM among other peripherals. * One hardware accelerator block containing AES/DES/SHA/MD5 called SA2UL management. See J7200 Technical Reference Manual (SPRUIU1, June 2020) for further details: https://www.ti.com/lit/pdf/spruiu1 Signed-off-by: Denys Dmytriyenko --- conf/machine/j7200-evm-k3r5.conf | 14 ++++++++++++++ conf/machine/j7200-evm.conf | 22 ++++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 conf/machine/j7200-evm-k3r5.conf create mode 100644 conf/machine/j7200-evm.conf diff --git a/conf/machine/j7200-evm-k3r5.conf b/conf/machine/j7200-evm-k3r5.conf new file mode 100644 index 00000000..a8894810 --- /dev/null +++ b/conf/machine/j7200-evm-k3r5.conf @@ -0,0 +1,14 @@ +#@TYPE: Machine +#@NAME: J7200 EVM (R5F) +#@DESCRIPTION: Machine configuration for the TI J7200 EVM (R5F core) + +require conf/machine/include/k3r5.inc + +SYSFW_SOC = "j7200" +SYSFW_CONFIG = "evm" +SYSFW_SUFFIX = "gp" + +UBOOT_MACHINE = "j7200_evm_r5_defconfig" +UBOOT_BINARY = "tiboot3.${UBOOT_SUFFIX}" +UBOOT_IMAGE = "tiboot3-${MAINMACHINE}-${PV}-${PR}.${UBOOT_SUFFIX}" +UBOOT_SYMLINK = "tiboot3-${MAINMACHINE}.${UBOOT_SUFFIX}" diff --git a/conf/machine/j7200-evm.conf b/conf/machine/j7200-evm.conf new file mode 100644 index 00000000..d2a81771 --- /dev/null +++ b/conf/machine/j7200-evm.conf @@ -0,0 +1,22 @@ +#@TYPE: Machine +#@NAME: J7200 EVM +#@DESCRIPTION: Machine configuration for the TI J7200 EVM + +require conf/machine/include/j7.inc + +SERIAL_CONSOLES = "115200;ttyS2 115200;ttyS3" +SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" + +KERNEL_DEVICETREE = " \ + ti/k3-j7200-common-proc-board.dtb \ +" + +UBOOT_MACHINE = "j7200_evm_a72_config" + +IMAGE_BOOT_FILES = "tispl.bin u-boot.img" + +do_image_wic[depends] += "trusted-firmware-a:do_deploy" +do_image_tar[depends] += "trusted-firmware-a:do_deploy" + +do_image_wic[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy" +do_image_tar[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy"