2021-04-18 18:47:28 +00:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2021 Nordic Semiconductor ASA
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
|
|
|
#include <nordic/nrf52840_qiaa.dtsi>
|
2022-11-19 15:03:06 +00:00
|
|
|
#include "custom_plank-pinctrl.dtsi"
|
2021-04-18 18:47:28 +00:00
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "Custom Plank Board";
|
|
|
|
compatible = "vendor,custom-plank";
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
zephyr,console = &uart0;
|
|
|
|
zephyr,sram = &sram0;
|
|
|
|
zephyr,flash = &flash0;
|
|
|
|
};
|
|
|
|
|
|
|
|
examplesensor0: examplesensor_0 {
|
|
|
|
compatible = "zephyr,examplesensor";
|
|
|
|
input-gpios = <&gpio0 11 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2023-10-23 09:46:41 +00:00
|
|
|
&uicr {
|
|
|
|
gpio-as-nreset;
|
|
|
|
};
|
|
|
|
|
2021-04-18 18:47:28 +00:00
|
|
|
&gpio0 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&uart0 {
|
|
|
|
compatible = "nordic,nrf-uarte";
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
current-speed = <115200>;
|
2022-11-19 15:03:06 +00:00
|
|
|
pinctrl-0 = <&uart0_default>;
|
|
|
|
pinctrl-1 = <&uart0_sleep>;
|
|
|
|
pinctrl-names = "default", "sleep";
|
2021-04-18 18:47:28 +00:00
|
|
|
};
|