-
Notifications
You must be signed in to change notification settings - Fork 9.5k
am243x_evm/am2434: initial support #87321
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
57831bb
drivers: pinctrl: make ti_k3 multi-instance
04233d5
soc: ti: k3: add AM2434 support
2e9f36e
boards: reflect changes from am64x_m4.dtsi
b4d4345
boards: arm: ti: k3: add am243x_evm
f2646aa
boards: ti: am243x_evm: add documentation
bbca503
samples: adc_dt: add overlay for am2434 r5f0_0 core
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| # Texas Instruments Sitara AM243x EVM | ||
| # | ||
| # Copyright (c) 2025 Texas Instruments Incorporated | ||
| # | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| config BOARD_AM243X_EVM | ||
| select SOC_AM2434_M4 if BOARD_AM243X_EVM_AM2434_M4 | ||
| select SOC_AM2434_R5F0_0 if BOARD_AM243X_EVM_AM2434_R5F0_0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| /* | ||
| * Copyright (c) 2025 Texas Instruments Incorporated | ||
| * | ||
| * SPDX-License-Identifier: Apache-2.0 | ||
| */ | ||
|
|
||
| #include <zephyr/dt-bindings/pinctrl/ti-k3-pinctrl.h> | ||
|
|
||
| &mcu_pinctrl { | ||
| status = "okay"; | ||
|
|
||
| mcu_uart0_rx: mcu_uart0_rx_default { | ||
| pinmux = <K3_PINMUX(0x028, PIN_INPUT, MUX_MODE_0)>; | ||
| }; | ||
|
|
||
| mcu_uart0_tx: mcu_uart0_tx_default { | ||
| pinmux = <K3_PINMUX(0x02C, PIN_OUTPUT, MUX_MODE_0)>; | ||
| }; | ||
|
|
||
| mcu_gpio0_led: mcu_gpio0_led_default { | ||
| pinmux = <K3_PINMUX(0x014, PIN_INPUT, MUX_MODE_7)>; | ||
| }; | ||
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,79 @@ | ||
| /* | ||
| * Copyright (c) 2025 Texas Instruments Incorporated | ||
| * | ||
| * SPDX-License-Identifier: Apache-2.0 | ||
| */ | ||
|
|
||
| /dts-v1/; | ||
|
|
||
| #include <zephyr/dt-bindings/gpio/gpio.h> | ||
| #include <ti/am64x_m4.dtsi> | ||
| #include "am243x_evm_am2434_m4-pinctrl.dtsi" | ||
|
|
||
| / { | ||
| model = "TI AM243x EVM M4F core"; | ||
| compatible = "ti,am243x-evm-m4"; | ||
|
|
||
| chosen { | ||
| zephyr,sram = &sram0; | ||
| zephyr,console = &mcu_uart0; | ||
| zephyr,shell-uart = &mcu_uart0; | ||
| zephyr,ipc = &ipc0; | ||
| zephyr,ipc-shm = &ipc_shm0; | ||
| }; | ||
|
|
||
| aliases { | ||
| led0 = &ld26; | ||
| }; | ||
|
|
||
| cpus { | ||
| cpu@0 { | ||
| status = "okay"; | ||
| clock-frequency = <DT_FREQ_M(400)>; | ||
| }; | ||
| }; | ||
|
|
||
| leds: leds { | ||
| compatible = "gpio-leds"; | ||
|
|
||
| ld26: led_0 { | ||
| gpios = <&mcu_gpio0 5 GPIO_ACTIVE_HIGH>; | ||
| }; | ||
| }; | ||
|
|
||
| rsc_table: memory@a4100000 { | ||
| compatible = "zephyr,memory-region", "mmio-sram"; | ||
| reg = <0xa4100000 DT_SIZE_K(4)>; | ||
| zephyr,memory-region = "RSC_TABLE"; | ||
| }; | ||
|
|
||
| ipc_shm0: memory@a5000000 { | ||
| compatible = "zephyr,memory-region", "mmio-sram"; | ||
| reg = <0xa5000000 DT_SIZE_M(8)>; | ||
| zephyr,memory-region = "IPC_SHM"; | ||
| }; | ||
|
|
||
| ipc0: ipc { | ||
| compatible = "zephyr,mbox-ipm"; | ||
| mboxes = <&mbox6 0>, <&mbox6 1>; | ||
| mbox-names = "tx", "rx"; | ||
| }; | ||
| }; | ||
|
|
||
| &mcu_uart0 { | ||
| current-speed = <115200>; | ||
| pinctrl-0 = <&mcu_uart0_rx &mcu_uart0_tx>; | ||
| pinctrl-names = "default"; | ||
| status = "okay"; | ||
| }; | ||
|
|
||
| &mcu_gpio0 { | ||
| pinctrl-0 = <&mcu_gpio0_led>; | ||
| pinctrl-names = "default"; | ||
| status = "okay"; | ||
| }; | ||
|
|
||
| &mbox6 { | ||
| usr-id = <3>; | ||
| status = "okay"; | ||
| }; | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| # Copyright (c) 2025 Texas Instruments Incorporated | ||
| # | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| identifier: am243x_evm/am2434/m4 | ||
| name: TI AM243x M4 | ||
| type: mcu | ||
| arch: arm | ||
| toolchain: | ||
| - zephyr | ||
| ram: 192 | ||
| vendor: ti |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| # Copyright (c) 2025 Texas Instruments Incorporated | ||
| # | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| # Platform Configuration | ||
| CONFIG_CORTEX_M_SYSTICK=y | ||
|
|
||
| # Zephyr Kernel Configuration | ||
| CONFIG_XIP=n | ||
|
|
||
| # Serial Driver | ||
| CONFIG_SERIAL=y | ||
|
|
||
| # Enable Console | ||
| CONFIG_CONSOLE=y | ||
| CONFIG_UART_CONSOLE=y |
35 changes: 35 additions & 0 deletions
35
boards/ti/am243x_evm/am243x_evm_am2434_r5f0_0-pinctrl.dtsi
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| /* | ||
| * Copyright (c) 2025 Texas Instruments Incorporated | ||
| * | ||
| * SPDX-License-Identifier: Apache-2.0 | ||
| */ | ||
|
|
||
| #include <zephyr/dt-bindings/pinctrl/ti-k3-pinctrl.h> | ||
|
|
||
| &pinctrl { | ||
| status = "okay"; | ||
|
|
||
| uart0_rx: uart0_rx_default { | ||
| pinmux = <K3_PINMUX(0x230, PIN_INPUT, MUX_MODE_0)>; | ||
| }; | ||
|
|
||
| uart0_tx: uart0_tx_default { | ||
| pinmux = <K3_PINMUX(0x234, PIN_OUTPUT, MUX_MODE_0)>; | ||
| }; | ||
|
|
||
| i2c0_scl: i2c0_scl_default { | ||
| pinmux = <K3_PINMUX(0x260, PIN_INPUT_PULLUP, MUX_MODE_0)>; | ||
| }; | ||
|
|
||
| i2c0_sda: i2c0_sda_default { | ||
| pinmux = <K3_PINMUX(0x264, PIN_INPUT_PULLUP, MUX_MODE_0)>; | ||
| }; | ||
| }; | ||
|
|
||
| &mcu_pinctrl { | ||
| status = "okay"; | ||
|
|
||
| mcu_gpio0_led: mcu_gpio0_led_default { | ||
| pinmux = <K3_PINMUX(0x14, PIN_INPUT, MUX_MODE_7)>; | ||
| }; | ||
| }; |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.