boards: ti: Add support for the AM62L EVM
The AM62L evaluation module (TMDS62LEVM) is designed for low-cost and performance optimized AM62L family of application processors. More information here: https://www.ti.com/tool/TMDS62LEVM Add base board support here. Signed-off-by: Andrew Davis <afd@ti.com>
This commit is contained in:
committed by
Fabio Baltieri
parent
a159d0ee03
commit
9c3343d00f
8
boards/ti/am62l_evm/Kconfig.am62l_evm
Normal file
8
boards/ti/am62l_evm/Kconfig.am62l_evm
Normal file
@@ -0,0 +1,8 @@
|
||||
# Texas Instruments Sitara AM62L EVM
|
||||
#
|
||||
# Copyright (c) 2025 Texas Instruments Incorporated
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_AM62L_EVM
|
||||
select SOC_AM62L3_A53
|
||||
17
boards/ti/am62l_evm/am62l_evm_am62l3_a53-pinctrl.dtsi
Normal file
17
boards/ti/am62l_evm/am62l_evm_am62l3_a53-pinctrl.dtsi
Normal file
@@ -0,0 +1,17 @@
|
||||
/*
|
||||
* Copyright (C) 2025 Texas Instruments Incorporated - https://www.ti.com/
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
&wkup_pinctrl {
|
||||
status = "okay";
|
||||
|
||||
uart0_rx_default: uart0_rx_default {
|
||||
pinmux = <K3_PINMUX(0x1b4, PIN_INPUT, MUX_MODE_0)>; /* (D13) UART0_RXD */
|
||||
};
|
||||
|
||||
uart0_tx_default: uart0_tx_default {
|
||||
pinmux = <K3_PINMUX(0x1b8, PIN_OUTPUT, MUX_MODE_0)>; /* (C13) UART0_TXD */
|
||||
};
|
||||
};
|
||||
43
boards/ti/am62l_evm/am62l_evm_am62l3_a53.dts
Normal file
43
boards/ti/am62l_evm/am62l_evm_am62l3_a53.dts
Normal file
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* Copyright (C) 2025 Texas Instruments Incorporated - https://www.ti.com/
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
#include <ti/am62l3_a53.dtsi>
|
||||
#include "am62l_evm_am62l3_a53-pinctrl.dtsi"
|
||||
|
||||
/ {
|
||||
model = "TI AM62L EVALUATION MODULE (EVM)";
|
||||
compatible = "ti,am62l_evm";
|
||||
|
||||
chosen {
|
||||
zephyr,console = &main_uart0;
|
||||
zephyr,shell-uart = &main_uart0;
|
||||
zephyr,sram = &ddr0;
|
||||
};
|
||||
|
||||
cpus {
|
||||
cpu@0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
cpu@1 {
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
||||
ddr0: memory@82000000 {
|
||||
reg = <0x82000000 (DT_SIZE_G(2) - DT_SIZE_M(32))>;
|
||||
};
|
||||
};
|
||||
|
||||
&main_uart0 {
|
||||
current-speed = <115200>;
|
||||
pinctrl-0 = <&uart0_rx_default>,
|
||||
<&uart0_tx_default>;
|
||||
pinctrl-names = "default";
|
||||
status = "okay";
|
||||
};
|
||||
15
boards/ti/am62l_evm/am62l_evm_am62l3_a53.yaml
Normal file
15
boards/ti/am62l_evm/am62l_evm_am62l3_a53.yaml
Normal file
@@ -0,0 +1,15 @@
|
||||
identifier: am62l_evm/am62l3/a53
|
||||
name: TI AM62L Evaluation Module (EVM)
|
||||
type: mcu
|
||||
arch: arm64
|
||||
toolchain:
|
||||
- zephyr
|
||||
- cross-compile
|
||||
ram: 2048
|
||||
supported:
|
||||
- uart
|
||||
testing:
|
||||
ignore_tags:
|
||||
- net
|
||||
- bluetooth
|
||||
vendor: ti
|
||||
32
boards/ti/am62l_evm/am62l_evm_am62l3_a53_defconfig
Normal file
32
boards/ti/am62l_evm/am62l_evm_am62l3_a53_defconfig
Normal file
@@ -0,0 +1,32 @@
|
||||
# Texas Instruments Sitara AM62L EVM
|
||||
#
|
||||
# Copyright (c) 2025 Texas Instruments Incorporated
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
# Zephyr Kernel Configuration
|
||||
CONFIG_XIP=n
|
||||
|
||||
# Serial Driver
|
||||
CONFIG_SERIAL=y
|
||||
|
||||
# Enable Console
|
||||
CONFIG_CONSOLE=y
|
||||
CONFIG_UART_CONSOLE=y
|
||||
CONFIG_UART_INTERRUPT_DRIVEN=y
|
||||
|
||||
# ARM Options
|
||||
CONFIG_AARCH64_IMAGE_HEADER=y
|
||||
CONFIG_ARMV8_A_NS=y
|
||||
CONFIG_ARM64_VA_BITS_36=y
|
||||
CONFIG_ARM64_PA_BITS_36=y
|
||||
|
||||
# Cache Options
|
||||
CONFIG_CACHE_MANAGEMENT=y
|
||||
CONFIG_DCACHE_LINE_SIZE_DETECT=y
|
||||
CONFIG_ICACHE_LINE_SIZE_DETECT=y
|
||||
|
||||
# Multicore Support
|
||||
CONFIG_SMP=y
|
||||
CONFIG_PM_CPU_OPS=y
|
||||
CONFIG_MP_MAX_NUM_CPUS=2
|
||||
6
boards/ti/am62l_evm/board.yml
Normal file
6
boards/ti/am62l_evm/board.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
board:
|
||||
name: am62l_evm
|
||||
full_name: AM62L TMDS62LEVM evaluation module (EVM)
|
||||
vendor: ti
|
||||
socs:
|
||||
- name: am62l3
|
||||
BIN
boards/ti/am62l_evm/doc/img/am62l_evm.webp
Normal file
BIN
boards/ti/am62l_evm/doc/img/am62l_evm.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 20 KiB |
109
boards/ti/am62l_evm/doc/index.rst
Normal file
109
boards/ti/am62l_evm/doc/index.rst
Normal file
@@ -0,0 +1,109 @@
|
||||
.. zephyr:board:: am62l_evm
|
||||
|
||||
Overview
|
||||
********
|
||||
|
||||
The AM62L EVM board configuration is used by Zephyr applications that run on
|
||||
the TI AM62L platform. The board configuration provides support for:
|
||||
|
||||
- ARM Cortex-A53 core and the following features:
|
||||
|
||||
- General Interrupt Controller (GIC)
|
||||
- ARM Generic Timer (arch_timer)
|
||||
- On-chip SRAM (oc_sram)
|
||||
- UART interfaces (uart0 to uart6)
|
||||
|
||||
The board configuration also enables support for the semihosting debugging console.
|
||||
|
||||
See the `TI AM62L Product Page`_ for details.
|
||||
|
||||
Hardware
|
||||
********
|
||||
The AM62L EVM features the AM62L SoC, which is composed of a dual Cortex-A53
|
||||
cluster. The following listed hardware specifications are used:
|
||||
|
||||
- High-performance ARM Cortex-A53
|
||||
- Memory
|
||||
|
||||
- 160KB of SRAM
|
||||
- 2GB of DDR4
|
||||
|
||||
- Debug
|
||||
|
||||
- XDS110 based JTAG
|
||||
|
||||
Supported Features
|
||||
==================
|
||||
|
||||
.. zephyr:board-supported-hw::
|
||||
|
||||
Devices
|
||||
========
|
||||
System Clock
|
||||
------------
|
||||
|
||||
This board configuration uses a system clock frequency of 1250 MHz.
|
||||
|
||||
DDR RAM
|
||||
-------
|
||||
|
||||
The board has 2GB of DDR RAM available.
|
||||
|
||||
Serial Port
|
||||
-----------
|
||||
|
||||
This board configuration uses a single serial communication channel with the
|
||||
MAIN domain UART (main_uart0).
|
||||
|
||||
SD Card
|
||||
*******
|
||||
|
||||
Download TI's official `WIC`_ and flash the WIC file with an etching software
|
||||
onto an SD-card.
|
||||
|
||||
Copy the compiled ``zephyr.bin`` to the first FAT partition of the SD card and
|
||||
plug the SD card into the board. Power it up and stop the u-boot execution at
|
||||
prompt.
|
||||
|
||||
Use U-Boot to load and start zephyr.bin:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
fatload mmc 1:1 0x82000000 zephyr.bin; dcache flush; icache flush; dcache off; icache off; go 0x82000000
|
||||
|
||||
The Zephyr application should start running on the A53 core.
|
||||
|
||||
Debugging
|
||||
*********
|
||||
|
||||
The board is equipped with an XDS110 JTAG debugger. To debug a binary, utilize the ``debug`` build target:
|
||||
|
||||
.. zephyr-app-commands::
|
||||
:app: <my_app>
|
||||
:board: am62l_evm/am62l3/a53
|
||||
:maybe-skip-config:
|
||||
:goals: debug
|
||||
|
||||
.. hint::
|
||||
To utilize this feature, you'll need OpenOCD version 0.12 or higher. Due to the possibility of
|
||||
older versions being available in package feeds, it's advisable to `build OpenOCD from source`_.
|
||||
|
||||
References
|
||||
**********
|
||||
|
||||
https://www.ti.com/tool/TMDS62LEVM
|
||||
|
||||
.. _AM62L EVM TRM:
|
||||
https://www.ti.com/lit/pdf/SPRUJG8
|
||||
|
||||
.. _TI AM62L Product Page:
|
||||
https://www.ti.com/product/AM62L
|
||||
|
||||
.. _WIC:
|
||||
https://dr-download.ti.com/software-development/software-development-kit-sdk/MD-PvdSyIiioq/10.01.10.04/tisdk-default-image-am62xx-evm-10.01.10.04.rootfs.wic.xz
|
||||
|
||||
.. _EVM User's Guide:
|
||||
https://www.ti.com/lit/pdf/SPRUJG8
|
||||
|
||||
.. _build OpenOCD from source:
|
||||
https://docs.u-boot.org/en/latest/board/ti/k3.html#building-openocd-from-source
|
||||
Reference in New Issue
Block a user