60 lines
883 B
Plaintext
60 lines
883 B
Plaintext
/*
|
|
* Copyright (c) 2017 Linaro Limited
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/dts-v1/;
|
|
#include <nordic/nrf51822_qfac.dtsi>
|
|
|
|
/ {
|
|
model = "Seeed Studio Carbon nRF51 96board";
|
|
compatible = "seeed,carbon_nrf51", "nordic,nrf51822-qfac",
|
|
"nordic,nrf51822";
|
|
|
|
chosen {
|
|
zephyr,console = &uart0;
|
|
zephyr,shell-uart = &uart0;
|
|
zephyr,bt-mon-uart = &uart0;
|
|
zephyr,sram = &sram0;
|
|
zephyr,flash = &flash0;
|
|
};
|
|
};
|
|
|
|
&gpiote {
|
|
status ="ok";
|
|
};
|
|
|
|
&gpio0 {
|
|
status ="ok";
|
|
};
|
|
|
|
&i2c0 {
|
|
status = "ok";
|
|
sda-pin = <28>;
|
|
scl-pin = <2>;
|
|
};
|
|
|
|
&uart0 {
|
|
current-speed = <115200>;
|
|
status = "ok";
|
|
tx-pin = <29>;
|
|
rx-pin = <11>;
|
|
};
|
|
|
|
&spi1 {
|
|
compatible = "nordic,nrf-spis";
|
|
status = "ok";
|
|
sck-pin = <7>;
|
|
mosi-pin = <0>;
|
|
miso-pin = <30>;
|
|
csn-pin = <25>;
|
|
def-char = <0x00>;
|
|
|
|
bt-hci@0 {
|
|
compatible = "zephyr,bt-hci-spi-slave";
|
|
reg = <0>;
|
|
irq-gpios = <&gpio0 28 0>;
|
|
};
|
|
};
|