zephyr/boards/wemos/esp32s2_lolin_mini/esp32s2_lolin_mini.dts
Marcio Ribeiro beae6e96f1 boards: esp32xx: fix zephyr,sram
Fixes the the node value of zephyr,sram for the following boards:
- esp32s2_devkitcc
- esp32s2_saola
- esp32s2_franzininho
- esp32s2_lolin_mini
- ttgo_t7v1_5_esp32

Signed-off-by: Marcio Ribeiro <marcio.ribeiro@espressif.com>
2025-01-23 16:29:59 +01:00

91 lines
1.3 KiB
Text

/*
* Copyright (c) 2023 Google, LLC
*
* SPDX-License-Identifier: Apache-2.0
*/
/dts-v1/;
#include <espressif/esp32s2/esp32s2.dtsi>
#include <zephyr/dt-bindings/input/input-event-codes.h>
#include "esp32s2_lolin_mini-pinctrl.dtsi"
#include <espressif/partitions_0x1000_default.dtsi>
/ {
model = "Wemos ESP32S2-Lolin Mini";
compatible = "espressif,esp32s2";
aliases {
sw0 = &user_button;
led0 = &user_led;
watchdog0 = &wdt0;
};
chosen {
zephyr,sram = &sram1;
zephyr,console = &uart0;
zephyr,shell-uart = &uart0;
zephyr,flash = &flash0;
zephyr,code-partition = &slot0_partition;
};
leds {
compatible = "gpio-leds";
user_led: led {
gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>;
label = "LED1";
};
};
gpio_keys {
compatible = "gpio-keys";
user_button: user_button {
label = "0";
gpios = <&gpio0 0 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
zephyr,code = <INPUT_KEY_0>;
};
};
};
&flash0 {
reg = <0x0 DT_SIZE_M(4)>;
};
&uart0 {
status = "okay";
current-speed = <115200>;
pinctrl-0 = <&uart0_default>;
pinctrl-names = "default";
};
&gpio0 {
status = "okay";
};
&gpio1 {
status = "okay";
};
&timer0 {
status = "disabled";
};
&timer1 {
status = "disabled";
};
&timer2 {
status = "disabled";
};
&timer3 {
status = "disabled";
};
&trng0 {
status = "okay";
};
&wdt0 {
status = "okay";
};