Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
ac78847
PEND: dts: ti: am13: create AM13E232N9 pinctrl dtsi
s-m33r Dec 2, 2026
e22584f
PEND: dts: arm: ti: am13: move common nodes to am13e2x.dtsi
s-m33r Nov 27, 2026
97e4d83
PEND: dts: arm: ti: am13: add am13e232 SoC DTSI
s-m33r Nov 6, 2026
a7b3f86
PEND: soc: ti: am13: add AM13E232 Kconfig and MPU regions
s-m33r Nov 6, 2026
32f01c4
PEND: boards: ti: add AM13E232 LaunchPad
s-m33r Nov 6, 2026
ae50232
PEND: tests: drivers: i2c: enable i2c_target_api test on lp_am13e232
s-m33r Nov 18, 2026
19c4310
PEND: tests: drivers: spi: enable spi_loopback test on lp_am13e232
s-m33r Nov 18, 2026
653be02
PEND: tests: drivers: uart: enable tests on lp_am13e232
s-m33r Nov 18, 2026
ab18661
PEND: dts: arm: ti: am13: am13e232: enable GPIO nodes
s-m33r Nov 30, 2026
d3153e0
PEND: boards: ti: lp_am13e232: enable GPIO
s-m33r Nov 18, 2026
c8bedc6
PEND: tests: drivers: gpio: gpio_basic_api: enable on lp_am13e232
s-m33r Nov 30, 2026
c192561
PEND: boards: ti: lp_am13e232: enable CRC
s-m33r Nov 18, 2026
40c1ccd
PEND: boards: ti: lp_am13e232: enable watchdog0
s-m33r Nov 29, 2026
731308b
PEND: boards: ti: lp_am13e232: enable CAN
s-m33r Nov 27, 2026
bb42086
PEND: tests: drivers: can: can_api: enable for lp_am13e232
s-m33r Nov 27, 2026
cae9558
PEND: include: dt-bindings: misc: ti_mspm_sysctl: AM13E232 XBAR PWREN…
s-m33r Nov 29, 2026
150df9c
PEND: dts: arm: ti: am13: am13e232.dtsi: set XBAR PWREN bits
s-m33r Nov 29, 2026
0fb6a59
PEND: tests: drivers: mux: mux_api: enable for lp_am13e232
s-m33r Nov 29, 2026
f7c9028
PEND: boards: ti: lp_am13e232: enable button and LEDs
s-m33r Nov 29, 2026
aa8728c
PEND: boards: ti: lp_am13e232: enable counter
s-m33r Nov 29, 2026
08db887
PEND: tests: drivers: counter: counter_basic_api: enable lp_am13e232
s-m33r Nov 29, 2026
0d84b7d
PEND: include: dt-bindings: misc: ti_mspm_sysctl: AM13E232 ECAP PWREN…
s-m33r Nov 30, 2026
537f707
PEND: dts: arm: ti: am13: am13e232.dtsi: set ECAP PWREN bits
s-m33r Nov 30, 2026
4725951
PEND: boards: ti: lp_am13e232: enable pwm
s-m33r Nov 30, 2026
e2ecf95
PEND: tests: drivers: pwm: pwm_loopback: enable lp_am13e232
s-m33r Nov 30, 2026
a7fa1ba
PEND: boards: ti: lp_am13e232: mention enabled features in board YAML
s-m33r Nov 27, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions boards/ti/lp_am13e232/Kconfig.lp_am13e232
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Copyright (c) 2026 Texas Instruments Incorporated
#
# SPDX-License-Identifier: Apache-2.0

config BOARD_LP_AM13E232
select SOC_AM13E232N9
8 changes: 8 additions & 0 deletions boards/ti/lp_am13e232/board.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Copyright (c) 2026 Texas Instruments Incorporated
# SPDX-License-Identifier: Apache-2.0
Comment thread
soumya-TI marked this conversation as resolved.
Resolved

if(NOT CONFIG_XIP)
board_runner_args(openocd "--use-elf")
Comment thread
soumya-TI marked this conversation as resolved.
Resolved
endif()

include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
9 changes: 9 additions & 0 deletions boards/ti/lp_am13e232/board.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Copyright (c) 2026 Texas Instruments Incorporated
# SPDX-License-Identifier: Apache-2.0

board:
name: lp_am13e232
full_name: AM13E232 Launchpad
vendor: ti
socs:
- name: am13e232n9
176 changes: 176 additions & 0 deletions boards/ti/lp_am13e232/lp_am13e232.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,176 @@
/*
* Copyright (c) 2026 Texas Instruments Incorporated
*
* SPDX-License-Identifier: Apache-2.0
*/

/dts-v1/;

#include <ti/am13/am13e232n9.dtsi>
#include <ti/am13/am13e232n9-pinctrl.dtsi>
#include <zephyr/dt-bindings/gpio/gpio.h>
#include <zephyr/dt-bindings/input/input-event-codes.h>
#include <zephyr/dt-bindings/mux/ti_am13e2_xbar_in.h>
#include <zephyr/dt-bindings/mux/ti_am13e2_xbar_out.h>

/ {
model = "TI AM13E232 Launchpad";
compatible = "ti,am13e232n9";

chosen {
zephyr,sram = &sram0_3;
zephyr,flash = &flash0;
zephyr,crc = &crc;
zephyr,canbus = &mcan0;
zephyr,console = &unicomm4_uart;
zephyr,shell-uart = &unicomm4_uart;
};

aliases {
watchdog0 = &wdt0;
led0 = &led0;
led1 = &led1;
sw0 = &btn_s2;
};

keys {
compatible = "gpio-keys";

btn_s2: btn_s2 {
gpios = <&gpiob 0 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
label = "S2 Wake";
zephyr,code = <INPUT_KEY_0>;
};
};

leds {
compatible = "gpio-leds";

led0: led_0 {
gpios = <&gpiod 1 GPIO_ACTIVE_HIGH>;
label = "Green LED";
};

led1: led_1 {
gpios = <&gpiod 0 GPIO_ACTIVE_HIGH>;
label = "Red LED";
};
};
};

&gpioa {
status = "okay";
};

&gpiob {
status = "okay";
};

&gpioc {
status = "okay";
};

&gpiod {
status = "okay";
};

&cpu0 {
clock-frequency = <DT_FREQ_M(200)>;
};

&mclk {
clocks = <&hsclk>;
};

&hsclk {
clocks = <&syspll>;
status = "okay";
};

&syspll {
status = "okay";
};

&hfxt {
clock-frequency = <DT_FREQ_M(48)>;
ti,xtal-startup-delay-us = <500>;
};

&wdt0 {
status = "okay";
};

&timg12_0 {
status = "okay";

counterg12_0: counterg12_0 {
status = "okay";
};
};

&canclk {
clocks = <&syspll>;
status = "okay";
};

&mcan0 {
status = "okay";
pinctrl-0 = <&mcan0_tx_pa12 &mcan0_rx_pa11>;
pinctrl-names = "default";
ti,divider = <2>;
};

&unicomm4 {
status = "okay";
};

&unicomm4_uart {
status = "okay";
current-speed = <115200>;
pinctrl-0 = <&uc4_tx_sda_pico_pa0 &uc4_rx_scl_sclk_pa1>;
pinctrl-names = "default";
};

&gpio_pb0 {
input-enable;
bias-pull-down;
};

&gpio_pc15 {
input-enable;
bias-pull-down;
};

&outputxbar8_pc14 {
bias-pull-down;
};

&xbar1 {
status = "okay";
};

&xbar2 {
status = "okay";
};

&ecap0 {
status = "okay";
interrupts = <29 0>;
pinctrl-0 = <&outputxbar8_pc14>;
pinctrl-names = "default";

/* ECAP0 -> OUTPUTXBAR8 (idx 7) -> G1SEL bit 4 -> PC14 */
mux-states = <&xbar2 AM13E2_XBAR_OUT_CTRL(7, 1, 4) 1>;
mux-state-names = "output";
};

&ecap1 {
status = "okay";
interrupts = <30 0>;
pinctrl-0 = <&gpio_pc15>;
pinctrl-names = "default";

/* PC15 (GPIO79) -> INPUTXBAR1 -> ECAP1 ECCTL0.INPUTSEL (raw=1) */
mux-states = <&xbar1 0 AM13E2_XBAR_IN_STATE(79, 1)>;
mux-state-names = "input";
};
22 changes: 22 additions & 0 deletions boards/ti/lp_am13e232/lp_am13e232.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
identifier: lp_am13e232
name: TI AM13E232 Launchpad
type: mcu
arch: arm
toolchain:
- zephyr
ram: 128
flash: 512
supported:
- aes
- can
- counter
- crc
- gpio
- i2c
- mux
- pinctrl
- pwm
- spi
- uart
- watchdog
vendor: ti
11 changes: 11 additions & 0 deletions boards/ti/lp_am13e232/lp_am13e232_defconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Copyright (c) 2026 Texas Instruments Incorporated
# SPDX-License-Identifier: Apache-2.0

# Enable UART driver
CONFIG_SERIAL=y

# Enable Console
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y

CONFIG_CLOCK_CONTROL=y
4 changes: 4 additions & 0 deletions boards/ti/lp_am13e232/support/openocd.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
source [find interface/xds110.cfg]
adapter speed 10000

source [find target/ti/am13e230x.cfg]
Loading
Loading