2017-09-08 02:07:36 +08:00
|
|
|
/dts-v1/;
|
|
|
|
|
2017-11-07 01:32:33 +08:00
|
|
|
#define DT_FLASH_SIZE __SIZE_K(4092)
|
|
|
|
|
|
|
|
#if XIP
|
|
|
|
#define DT_SRAM_SIZE __SIZE_K(4096)
|
|
|
|
#else
|
|
|
|
#define DT_SRAM_SIZE __SIZE_K(8188)
|
|
|
|
#endif
|
|
|
|
|
2017-09-08 02:07:36 +08:00
|
|
|
#include <ia32.dtsi>
|
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "QEMU X86";
|
|
|
|
compatible = "intel,ia32";
|
|
|
|
|
|
|
|
aliases {
|
2018-04-11 00:56:14 +08:00
|
|
|
uart-0 = &uart0;
|
|
|
|
uart-1 = &uart1;
|
2017-09-08 02:07:36 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
zephyr,sram = &sram0;
|
|
|
|
zephyr,flash = &flash0;
|
|
|
|
zephyr,console = &uart0;
|
|
|
|
zephyr,bt-uart = &uart1;
|
|
|
|
zephyr,uart-pipe = &uart1;
|
|
|
|
zephyr,bt-mon-uart = &uart1;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&uart0 {
|
|
|
|
status = "ok";
|
|
|
|
current-speed = <115200>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&uart1 {
|
|
|
|
status = "ok";
|
|
|
|
current-speed = <115200>;
|
|
|
|
};
|
|
|
|
|