2016-09-23 21:13:13 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2017 Linaro Limited
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
2018-09-15 12:47:30 +08:00
|
|
|
#include <nordic/nrf51822_qfac.dtsi>
|
2016-09-23 21:13:13 +08:00
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "Seeed Studio Carbon nRF51 96board";
|
|
|
|
compatible = "seeed,carbon_nrf51", "nordic,nrf51822-qfac",
|
|
|
|
"nordic,nrf51822";
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
zephyr,console = &uart0;
|
2018-11-27 19:11:04 +08:00
|
|
|
zephyr,shell-uart = &uart0;
|
2019-03-19 01:11:31 +08:00
|
|
|
zephyr,bt-mon-uart = &uart0;
|
2016-09-23 21:13:13 +08:00
|
|
|
zephyr,sram = &sram0;
|
|
|
|
zephyr,flash = &flash0;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2018-07-03 22:09:32 +08:00
|
|
|
&gpiote {
|
|
|
|
status ="ok";
|
|
|
|
};
|
|
|
|
|
|
|
|
&gpio0 {
|
|
|
|
status ="ok";
|
|
|
|
};
|
|
|
|
|
2018-10-03 00:29:05 +08:00
|
|
|
&i2c0 {
|
|
|
|
status = "ok";
|
|
|
|
sda-pin = <28>;
|
|
|
|
scl-pin = <2>;
|
|
|
|
};
|
|
|
|
|
2016-09-23 21:13:13 +08:00
|
|
|
&uart0 {
|
|
|
|
current-speed = <115200>;
|
|
|
|
status = "ok";
|
2018-08-28 22:24:22 +08:00
|
|
|
tx-pin = <29>;
|
|
|
|
rx-pin = <11>;
|
2016-09-23 21:13:13 +08:00
|
|
|
};
|
2018-09-04 21:03:58 +08:00
|
|
|
|
|
|
|
&spi1 {
|
2019-01-31 16:45:15 +08:00
|
|
|
compatible = "nordic,nrf-spis";
|
2018-09-04 21:03:58 +08:00
|
|
|
status = "ok";
|
|
|
|
sck-pin = <7>;
|
|
|
|
mosi-pin = <0>;
|
|
|
|
miso-pin = <30>;
|
|
|
|
csn-pin = <25>;
|
2019-01-31 16:45:15 +08:00
|
|
|
def-char = <0x00>;
|
|
|
|
|
|
|
|
bt-hci@0 {
|
|
|
|
compatible = "zephyr,bt-hci-spi-slave";
|
|
|
|
reg = <0>;
|
|
|
|
irq-gpios = <&gpio0 28 0>;
|
|
|
|
};
|
2018-09-04 21:03:58 +08:00
|
|
|
};
|