2017-06-23 01:49:42 +08:00
|
|
|
/dts-v1/;
|
|
|
|
|
2017-11-07 01:32:33 +08:00
|
|
|
#define DT_FLASH_SIZE __SIZE_K(144)
|
|
|
|
#define DT_SRAM_SIZE __SIZE_K(55)
|
|
|
|
|
2017-06-23 01:49:42 +08:00
|
|
|
#include "intel_curie.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "Arduino 101";
|
|
|
|
compatible = "arduino,101","intel,quark";
|
|
|
|
|
|
|
|
aliases {
|
|
|
|
uart_0 = &uart0;
|
|
|
|
uart_1 = &uart1;
|
|
|
|
};
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
zephyr,sram = &sram0;
|
|
|
|
zephyr,flash = &flash0;
|
2017-08-24 23:08:45 +08:00
|
|
|
#ifdef CONFIG_USB_UART_CONSOLE
|
|
|
|
zephyr,console = &usb_cdc;
|
|
|
|
#else
|
2017-06-23 01:49:42 +08:00
|
|
|
zephyr,console = &uart1;
|
2017-08-24 23:08:45 +08:00
|
|
|
#endif
|
2017-07-12 23:40:25 +08:00
|
|
|
zephyr,bt-uart = &uart0;
|
|
|
|
zephyr,uart-pipe = &uart1;
|
|
|
|
zephyr,bt-mon-uart = &uart1;
|
2017-06-23 01:49:42 +08:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&uart0 {
|
|
|
|
status = "ok";
|
|
|
|
current-speed = <1000000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&uart1 {
|
|
|
|
status = "ok";
|
|
|
|
current-speed = <115200>;
|
|
|
|
};
|