zephyr/boards/ti/lp_em_cc2340r5/lp_em_cc2340r5.dts
Julien Panis 30ed81d66a boards: ti: lp_em_cc2340r5: Add crypto support
Enable AES module.

Signed-off-by: Stoyan Bogdanov <sbogdanov@baylibre.com>
Signed-off-by: Julien Panis <jpanis@baylibre.com>
2025-03-07 19:47:11 +01:00

79 lines
1.4 KiB
Text

/*
* Copyright (c) 2024 Texas Instruments Incorporated
* Copyright (c) 2024 BayLibre, SAS
*
* SPDX-License-Identifier: Apache-2.0
*/
/dts-v1/;
#include <ti/cc2340r5.dtsi>
#include "boosterpack_connector.dtsi"
#include "lp_em_cc2340r5-pinctrl.dtsi"
#include <zephyr/dt-bindings/gpio/gpio.h>
#include <zephyr/dt-bindings/input/input-event-codes.h>
/ {
model = "LP_EM_CC2340R5";
compatible = "ti,lp_em_cc2340r5";
chosen {
zephyr,sram = &sram0;
zephyr,flash = &flash0;
zephyr,code-partition = &slot0_partition;
zephyr,console = &uart0;
zephyr,shell-uart = &uart0;
};
aliases {
led0 = &led0;
led1 = &led1;
sw0 = &btn0;
sw1 = &btn1;
};
leds {
compatible = "gpio-leds";
led0: led_0 {
gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>;
label = "Green LED";
};
led1: led_1 {
gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
label = "Red LED";
};
};
keys {
compatible = "gpio-keys";
btn0: btn_0 {
gpios = <&gpio0 10 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
label = "Button 1";
zephyr,code = <INPUT_KEY_0>;
};
btn1: btn_1 {
gpios = <&gpio0 9 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
label = "Button 2";
zephyr,code = <INPUT_KEY_1>;
};
};
};
&gpio0 {
status = "okay";
};
&uart0 {
status = "okay";
current-speed = <115200>;
pinctrl-0 = <&uart0_rx_default &uart0_tx_default>;
pinctrl-names = "default";
};
&aes {
status = "okay";
};