50 lines
740 B
Plaintext
50 lines
740 B
Plaintext
/dts-v1/;
|
|
|
|
#define DT_FLASH_SIZE __SIZE_K(144)
|
|
#define DT_SRAM_SIZE __SIZE_K(55)
|
|
|
|
#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;
|
|
#ifdef CONFIG_USB_UART_CONSOLE
|
|
zephyr,console = &usb_cdc;
|
|
#else
|
|
zephyr,console = &uart1;
|
|
#endif
|
|
zephyr,bt-uart = &uart0;
|
|
zephyr,uart-pipe = &uart1;
|
|
zephyr,bt-mon-uart = &uart1;
|
|
};
|
|
};
|
|
|
|
&uart0 {
|
|
status = "ok";
|
|
current-speed = <1000000>;
|
|
};
|
|
|
|
&uart1 {
|
|
status = "ok";
|
|
current-speed = <115200>;
|
|
};
|
|
|
|
&i2c0 {
|
|
status = "ok";
|
|
clock-frequency = <I2C_BITRATE_FAST>;
|
|
};
|
|
|
|
&i2c1 {
|
|
status = "ok";
|
|
clock-frequency = <I2C_BITRATE_FAST>;
|
|
};
|