2019-04-06 21:08:09 +08:00
|
|
|
/* SPDX-License-Identifier: Apache-2.0 */
|
|
|
|
|
2017-11-21 00:15:25 +08:00
|
|
|
/dts-v1/;
|
|
|
|
|
2018-09-15 12:21:56 +08:00
|
|
|
#include <mem.h>
|
|
|
|
|
|
|
|
#define DT_FLASH_SIZE DT_SIZE_K(128)
|
|
|
|
#define DT_SRAM_SIZE DT_SIZE_K(24)
|
|
|
|
#define DT_DCCM_SIZE DT_SIZE_K(8)
|
2017-11-21 00:15:25 +08:00
|
|
|
|
|
|
|
#define DT_FLASH_ADDR 0x40034000
|
|
|
|
|
|
|
|
#include "quark_se_c1000_ss.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "arduino_101_sss";
|
|
|
|
compatible = "intel,arduino_101_sss", "intel,quark_se_c1000";
|
|
|
|
|
|
|
|
aliases {
|
2018-10-05 09:00:16 +08:00
|
|
|
led0 = &led0;
|
2018-04-11 00:56:14 +08:00
|
|
|
uart-0 = &uart0;
|
|
|
|
uart-1 = &uart1;
|
2017-11-21 00:15:25 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
zephyr,sram = &sram0;
|
|
|
|
zephyr,flash = &flash0;
|
|
|
|
zephyr,console = &uart1;
|
2018-11-27 19:11:04 +08:00
|
|
|
zephyr,shell-uart = &uart1;
|
2017-11-21 00:15:25 +08:00
|
|
|
};
|
2018-10-05 09:00:16 +08:00
|
|
|
|
|
|
|
leds {
|
|
|
|
compatible = "gpio-leds";
|
|
|
|
led0: led_0 {
|
|
|
|
gpios = <&gpio0 8 0>;
|
|
|
|
label = "LED";
|
|
|
|
};
|
|
|
|
};
|
2017-11-21 00:15:25 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
&uart1 {
|
|
|
|
status = "ok";
|
|
|
|
current-speed = <115200>;
|
|
|
|
};
|
2018-02-28 22:50:52 +08:00
|
|
|
|
|
|
|
&i2c0 {
|
|
|
|
status = "ok";
|
|
|
|
};
|
|
|
|
|
|
|
|
&i2c1 {
|
|
|
|
status = "ok";
|
|
|
|
};
|
|
|
|
|
|
|
|
&i2c2 {
|
|
|
|
status = "ok";
|
|
|
|
};
|
|
|
|
|
|
|
|
&i2c3 {
|
|
|
|
status = "ok";
|
|
|
|
};
|
2018-08-17 16:52:24 +08:00
|
|
|
|
|
|
|
&adc0 {
|
|
|
|
status = "ok";
|
|
|
|
};
|
2018-09-27 04:31:53 +08:00
|
|
|
|
|
|
|
&spi0 {
|
|
|
|
status = "ok";
|
|
|
|
};
|
|
|
|
|
|
|
|
&spi1 {
|
|
|
|
status = "ok";
|
2018-11-07 05:00:30 +08:00
|
|
|
|
|
|
|
bmi160@1 {
|
|
|
|
compatible = "bosch,bmi160";
|
|
|
|
reg = <0x1>;
|
|
|
|
label = "bmi160";
|
|
|
|
spi-max-frequency = <640000>;
|
|
|
|
int-gpios = <&gpio1 4 0>;
|
|
|
|
status = "ok";
|
|
|
|
};
|
2018-09-27 04:31:53 +08:00
|
|
|
};
|