2019-01-23 18:31:32 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2019 Intel Corporation.
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
|
2019-06-16 19:17:06 +08:00
|
|
|
#include <espressif/esp32.dtsi>
|
2019-01-23 18:31:32 +08:00
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "esp32";
|
2019-06-16 19:17:06 +08:00
|
|
|
compatible = "espressif,esp32";
|
2019-01-23 18:31:32 +08:00
|
|
|
|
|
|
|
aliases {
|
|
|
|
uart-0 = &uart0;
|
|
|
|
};
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
zephyr,sram = &sram0;
|
|
|
|
zephyr,console = &uart0;
|
2019-08-22 05:54:00 +08:00
|
|
|
zephyr,shell-uart = &uart0;
|
2019-01-23 18:31:32 +08:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2019-06-21 20:47:08 +08:00
|
|
|
&cpu0 {
|
|
|
|
clock-frequency = <40000000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&cpu1 {
|
|
|
|
clock-frequency = <40000000>;
|
|
|
|
};
|
|
|
|
|
2019-01-23 18:31:32 +08:00
|
|
|
&uart0 {
|
2019-06-15 01:31:16 +08:00
|
|
|
status = "okay";
|
2019-01-23 18:31:32 +08:00
|
|
|
current-speed = <115200>;
|
2019-08-22 05:54:00 +08:00
|
|
|
tx-pin = <1>;
|
|
|
|
rx-pin = <3>;
|
|
|
|
rts-pin = <22>;
|
|
|
|
cts-pin = <19>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&uart1 {
|
|
|
|
current-speed = <115200>;
|
|
|
|
tx-pin = <10>;
|
|
|
|
rx-pin = <9>;
|
|
|
|
rts-pin = <11>;
|
|
|
|
cts-pin = <6>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&uart2 {
|
|
|
|
current-speed = <115200>;
|
|
|
|
tx-pin = <17>;
|
|
|
|
rx-pin = <16>;
|
|
|
|
rts-pin = <7>;
|
|
|
|
cts-pin = <8>;
|
2019-01-23 18:31:32 +08:00
|
|
|
};
|