2019-01-23 16:01:32 +05:30
|
|
|
/*
|
|
|
|
* Copyright (c) 2019 Intel Corporation.
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
2019-06-16 14:17:06 +03:00
|
|
|
#include <xtensa/xtensa.dtsi>
|
2019-01-23 16:01:32 +05:30
|
|
|
|
|
|
|
/ {
|
|
|
|
cpus {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
2019-06-21 14:47:08 +02:00
|
|
|
cpu0: cpu@0 {
|
2019-01-23 16:01:32 +05:30
|
|
|
device_type = "cpu";
|
2019-06-16 13:28:57 +03:00
|
|
|
compatible = "cadence,tensilica-xtensa-lx6";
|
2019-01-23 16:01:32 +05:30
|
|
|
reg = <0>;
|
|
|
|
};
|
|
|
|
|
2019-06-21 14:47:08 +02:00
|
|
|
cpu1: cpu@1 {
|
2019-01-23 16:01:32 +05:30
|
|
|
device_type = "cpu";
|
2019-06-16 13:28:57 +03:00
|
|
|
compatible = "cadence,tensilica-xtensa-lx6";
|
2019-01-23 16:01:32 +05:30
|
|
|
reg = <1>;
|
|
|
|
};
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
sram0: memory@3ffb0000 {
|
|
|
|
device_type = "memory";
|
|
|
|
compatible = "mmio-sram";
|
|
|
|
reg = <0x3FFB0000 0x50000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
soc {
|
2019-08-21 23:54:00 +02:00
|
|
|
uart0: uart@3ff40000 {
|
2019-08-22 21:52:54 +02:00
|
|
|
compatible = "espressif,esp32-uart";
|
2019-08-21 23:54:00 +02:00
|
|
|
reg = <0x3ff40000 0x400>;
|
|
|
|
/* interrupts = <12>; - FIXME: Enable interrupts when interrupt-controller got supported in device tree */
|
|
|
|
label = "UART_0";
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
uart1: uart@3ff50000 {
|
2019-08-22 21:52:54 +02:00
|
|
|
compatible = "espressif,esp32-uart";
|
2019-08-21 23:54:00 +02:00
|
|
|
reg = <0x3ff50000 0x400>;
|
|
|
|
/* interrupts = <17>; - FIXME: Enable interrupts when interrupt-controller got supported in device tree */
|
|
|
|
label = "UART_1";
|
|
|
|
status = "disabled";
|
|
|
|
};
|
2019-01-23 16:01:32 +05:30
|
|
|
|
2019-08-21 23:54:00 +02:00
|
|
|
uart2: uart@3ff6e000 {
|
2019-08-22 21:52:54 +02:00
|
|
|
compatible = "espressif,esp32-uart";
|
2019-08-21 23:54:00 +02:00
|
|
|
reg = <0x3ff6E000 0x400>;
|
|
|
|
/* interrupts = <18>; - FIXME: Enable interrupts when interrupt-controller got supported in device tree */
|
|
|
|
label = "UART_2";
|
2019-01-23 16:01:32 +05:30
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
};
|
|
|
|
};
|