1/*
2 * Copyright (c) 2017 Linaro Limited
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7/dts-v1/;
8#include <nordic/nrf51822_qfac.dtsi>
9#include "96b_carbon_nrf51822-pinctrl.dtsi"
10
11/ {
12	model = "Seeed Studio Carbon nRF51 96board";
13	compatible = "seeed,carbon_nrf51";
14
15	chosen {
16		zephyr,console = &uart0;
17		zephyr,shell-uart = &uart0;
18		zephyr,bt-mon-uart = &uart0;
19		zephyr,sram = &sram0;
20		zephyr,flash = &flash0;
21	};
22
23	aliases {
24		watchdog0 = &wdt0;
25	};
26};
27
28&gpiote {
29	status = "okay";
30};
31
32&gpio0 {
33	status = "okay";
34};
35
36&i2c0 {
37	status = "okay";
38	pinctrl-0 = <&i2c0_default>;
39	pinctrl-1 = <&i2c0_sleep>;
40	pinctrl-names = "default", "sleep";
41};
42
43&uart0 {
44	current-speed = <115200>;
45	status = "okay";
46	pinctrl-0 = <&uart0_default>;
47	pinctrl-1 = <&uart0_sleep>;
48	pinctrl-names = "default", "sleep";
49};
50
51&spi1 {
52	compatible = "nordic,nrf-spis";
53	status = "okay";
54	def-char = <0x00>;
55
56	pinctrl-0 = <&spi1_default>;
57	pinctrl-names = "default";
58	bt-hci@0 {
59		compatible = "zephyr,bt-hci-spi-slave";
60		reg = <0>;
61		irq-gpios = <&gpio0 28 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>;
62	};
63};
64