zephyr/boards/xtensa/esp32s2_saola/esp32s2_saola.dts

112 lines
1.4 KiB
Plaintext

/*
* Copyright (c) 2021 Espressif Systems (Shanghai) Co., Ltd.
*
* SPDX-License-Identifier: Apache-2.0
*/
/dts-v1/;
#include <espressif/esp32s2.dtsi>
/ {
model = "esp32s2_saola";
compatible = "espressif,esp32s2";
aliases {
i2c-0 = &i2c0;
};
chosen {
zephyr,sram = &sram0;
zephyr,console = &uart0;
zephyr,shell-uart = &uart0;
zephyr,flash = &flash0;
};
};
&cpu0 {
clock-frequency = <ESP32_CLK_CPU_240M>;
};
&uart0 {
status = "okay";
current-speed = <115200>;
tx-pin = <43>;
rx-pin = <44>;
};
&gpio0 {
status = "okay";
};
&gpio1 {
status = "okay";
};
&timer0 {
status = "okay";
};
&timer1 {
status = "okay";
};
&timer2 {
status = "okay";
};
&timer3 {
status = "okay";
};
&i2c0 {
status = "okay";
clock-frequency = <I2C_BITRATE_STANDARD>;
sda-pin = <8>;
scl-pin = <9>;
};
&i2c1 {
clock-frequency = <I2C_BITRATE_STANDARD>;
sda-pin = <3>;
scl-pin = <4>;
};
&trng0 {
status = "okay";
};
&spi2 {
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
miso-pin = <13>;
mosi-pin = <11>;
sclk-pin = <12>;
csel-pin = <10>;
};
&spi3 {
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
miso-pin = <37>;
mosi-pin = <35>;
sclk-pin = <36>;
csel-pin = <34>;
};
&flash0 {
status = "okay";
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
storage_partition: partition@9000 {
label = "storage";
reg = <0x00009000 0x00006000>;
};
};
};