Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
5ee353c
drivers: gpio: davinci: fix config layout
m-braunschweig Feb 20, 2025
1abbb72
soc: ti: k3: split up soc-specific Kconfig
m-braunschweig Feb 14, 2025
ba289e8
soc: ti: k3: initial am2434 soc support
m-braunschweig Mar 10, 2025
2425611
soc: ti: k3: add mpu configuration for am2434
m-braunschweig Mar 6, 2025
9a59b44
dts: arm: ti: k3: add pinctrl to am2434
m-braunschweig Mar 6, 2025
c816c01
dts: arm: ti: k3: add uart nodes to the am2434 soc
m-braunschweig Feb 17, 2025
e502e10
boards: arm: ti: k3: add am243x-launchpad
m-braunschweig Mar 10, 2025
53345cb
boards: arm: ti: k3: add uart support for the am243x-launchpad
m-braunschweig Feb 17, 2025
80fe1b7
dts: arm: ti: k3: add gpio nodes
m-braunschweig Feb 17, 2025
ae2f2fd
boards: ti: k3: add led to am243x-launchpad
m-braunschweig Mar 13, 2025
48b1236
drivers: mspi: ti: k3: add initial MSPI driver
m-braunschweig Mar 6, 2025
218cdf1
dts: arm: ti: k3: add mspi0 bus to am2434 soc
m-braunschweig Mar 6, 2025
e3bfcdd
drivers: mtd: add infineon s25h mspi nor flash
m-braunschweig Mar 10, 2025
d8aff05
boards: ti: k3: add flash to am243x-launchpad
m-braunschweig Mar 6, 2025
611dc4b
tests: drivers: mspi: flash: add am243x launchpad
m-braunschweig Mar 14, 2025
4d497be
drivers: mtd: s25h: remove double mspi initialization
m-braunschweig Mar 14, 2025
2af7dfb
drivers: mtd: s25h: automatically disable write protection
m-braunschweig Mar 17, 2025
453977f
drivers: mtd: s25h: automatically use quad spi
m-braunschweig Mar 17, 2025
acf91f7
drivers: mtd: s25h: move hybrid sectore code in own function
m-braunschweig Mar 17, 2025
09a1c7c
drivers: mtd: s25h: automatically enter 4 byte address mode
m-braunschweig Mar 17, 2025
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
8 changes: 8 additions & 0 deletions boards/ti/am243x_launchpad/Kconfig.am243x_launchpad
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Texas Instruments AM243x Launchpad
#
# Copyright (c) 2025 Siemens Mobility GmbH
#
# SPDX-License-Identifier: Apache-2.0

config BOARD_AM243X_LAUNCHPAD
select SOC_AM2434_MAIN_R5F0_0
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
/*
* Copyright (c) 2025 Siemens Mobility GmbH
*
* SPDX-License-Identifier: Apache-2.0
*/

#include <zephyr/dt-bindings/pinctrl/ti-k3-pinctrl.h>

&pinctrl {
uart0_rx_default: uart0_rx_default {
pinmux = <K3_PINMUX(0x01d4, PIN_INPUT, MUX_MODE_2)>;
};

uart0_tx_default: uart0_tx_default {
pinmux = <K3_PINMUX(0x01d8, PIN_OUTPUT, MUX_MODE_2)>;
};

led0_output: led0_output { // GPIO0 22
pinmux = <K3_PINMUX(0x0058, PIN_OUTPUT, MUX_MODE_7)>;
};

ospi_clk: ospi_clk {
pinmux = <K3_PINMUX(0x0000, PIN_OUTPUT, MUX_MODE_0)>;
};

ospi_csn0: ospi_csn0 { // GPIO0 11
pinmux = <K3_PINMUX(0x002c, PIN_OUTPUT, MUX_MODE_0)>;
};

ospi_d0: ospi_d0 {
pinmux = <K3_PINMUX(0x000c, PIN_INPUT, MUX_MODE_0)>;
};

ospi_d1: ospi_d1 {
pinmux = <K3_PINMUX(0x0010, PIN_INPUT, MUX_MODE_0)>;
};

ospi_d2: ospi_d2 {
pinmux = <K3_PINMUX(0x0014, PIN_INPUT, MUX_MODE_0)>;
};

ospi_d3: ospi_d3 {
pinmux = <K3_PINMUX(0x0018, PIN_INPUT, MUX_MODE_0)>;
};

ospi_dqs: ospi_dqs {
pinmux = <K3_PINMUX(0x0008, PIN_INPUT, MUX_MODE_0)>;
};

ospi_lbclko: ospi_lbclko {
pinmux = <K3_PINMUX(0x0004, PIN_OUTPUT, MUX_MODE_0)>;
};

// the other leds can't be controlled due to
// https://github.com/zephyrproject-rtos/zephyr/issues/81100
};
80 changes: 80 additions & 0 deletions boards/ti/am243x_launchpad/am243x_launchpad_main_r5f0_0.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
/*
* Copyright (c) 2025 Siemens Mobility GmbH
*
* SPDX-License-Identifier: Apache-2.0
*/

/dts-v1/;

#include <ti/am2434_main_r5.dtsi>
#include "am243x_launchpad_main_r5f0_0-pinctrl.dtsi"
#include <zephyr/dt-bindings/gpio/gpio.h>

/ {
model = "AM243x LaunchPad";
compatible = "ti,am243x_launchpad";

chosen {
zephyr,console = &uart0;
zephyr,shell-uart = &uart0;
};

leds {
compatible = "gpio-leds";
led0: led_0 {
gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>;
label = "Test LED 1 Green";
};

// the other leds can't be controlled due to
// https://github.com/zephyrproject-rtos/zephyr/issues/81100
};

aliases {
led0 = &led0;
};

};

&mspi0 {
ce-gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
pinctrl-0 = <&ospi_clk &ospi_d0 &ospi_d1 &ospi_d2 &ospi_d3 &ospi_dqs &ospi_lbclko>;
pinctrl-names = "default";
#address-cells = <1>;
#size-cells = <0>;

s25hl512tfamhi010: qspi-nor-flash@0 {
compatible = "infineon,s25h-flash";
reg = <0>;
pinctrl-0 = <&ospi_csn0>;
pinctrl-names = "default";

reset-startup-time-us = <600>;

mspi-max-frequency = <DT_FREQ_M(50)>;

mspi-io-mode = "MSPI_IO_MODE_SINGLE";
mspi-data-rate = "MSPI_DATA_RATE_SINGLE";
mspi-hardware-ce-num = <0>;
mspi-cpp-mode = "MSPI_CPP_MODE_0";
mspi-ce-polarity = "MSPI_CE_ACTIVE_LOW";
address-length = "ADDR_3_BYTE";
command-length = "INSTR_1_BYTE";

status = "okay";
};
status = "okay";
};

&uart0 {
status = "okay";
pinctrl-0 = <&uart0_tx_default &uart0_rx_default>;
pinctrl-names = "default";
current-speed = <115200>;
};

&gpio0 {
status = "okay";
pinctrl-0 = <&led0_output>;
pinctrl-names = "default";
};
17 changes: 17 additions & 0 deletions boards/ti/am243x_launchpad/am243x_launchpad_main_r5f0_0_defconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Texas Instruments AM243x Launchpad
#
# Copyright (c) 2025 Siemens Mobility GmbH
#
# SPDX-License-Identifier: Apache-2.0

CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=25000000

# XIP is deactivated for now since we have no flash support yet
CONFIG_XIP=n

# Serial Driver
CONFIG_SERIAL=y

# Enable Console
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
8 changes: 8 additions & 0 deletions boards/ti/am243x_launchpad/board.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Copyright (c) 2025 Siemens Mobility GmbH
# SPDX-License-Identifier: Apache-2.0
board:
name: am243x_launchpad
full_name: TI AM243x LaunchPad
vendor: ti
socs:
- name: am2434
Loading