1/* 2 * Copyright (c) 2017 VNG IoT Lab Limited 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7/dts-v1/; 8#include <nordic/nrf52832_qfaa.dtsi> 9#include "nrf52_vbluno52-pinctrl.dtsi" 10#include <zephyr/dt-bindings/input/input-event-codes.h> 11 12/ { 13 model = "VNG VBLUno52 BLE 5.0 board"; 14 compatible = "vng,vbluno52"; 15 16 chosen { 17 zephyr,console = &uart0; 18 zephyr,shell-uart = &uart0; 19 zephyr,bt-mon-uart = &uart0; 20 zephyr,bt-c2h-uart = &uart0; 21 zephyr,sram = &sram0; 22 zephyr,flash = &flash0; 23 }; 24 25 /* These aliases are provided for compatibility with samples */ 26 aliases { 27 led0 = &led0; 28 sw0 = &button0; 29 watchdog0 = &wdt0; 30 }; 31 32 leds { 33 compatible = "gpio-leds"; 34 /* Green LED */ 35 led0: led_0 { 36 gpios = <&gpio0 12 0>; 37 label = "LED"; 38 }; 39 }; 40 41 buttons { 42 compatible = "gpio-keys"; 43 button0: button_0 { 44 /* gpio flags need validation */ 45 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>; 46 label = "Button"; 47 zephyr,code = <INPUT_KEY_0>; 48 }; 49 }; 50}; 51 52&uicr { 53 gpio-as-nreset; 54}; 55 56&gpiote { 57 status = "okay"; 58}; 59 60&gpio0 { 61 status = "okay"; 62}; 63 64&uart0 { 65 status = "okay"; 66 compatible = "nordic,nrf-uart"; 67 current-speed = <115200>; 68 pinctrl-0 = <&uart0_default>; 69 pinctrl-1 = <&uart0_sleep>; 70 pinctrl-names = "default", "sleep"; 71}; 72 73&i2c0 { 74 compatible = "nordic,nrf-twim"; 75 status = "okay"; 76 clock-frequency = <I2C_BITRATE_FAST>; 77 pinctrl-0 = <&i2c0_default>; 78 pinctrl-1 = <&i2c0_sleep>; 79 pinctrl-names = "default", "sleep"; 80}; 81