zephyr/boards/arm/nrf51_vbluno51/nrf51_vbluno51.dts

70 lines
1.1 KiB
Plaintext

/*
* Copyright (c) 2017 VNG IoT Lab Limited
*
* SPDX-License-Identifier: Apache-2.0
*/
/dts-v1/;
#include <nordic/nrf51822_qfac.dtsi>
/ {
model = "VNG VBLUno51 BLE board";
compatible = "vng,vbluno51", "nordic,nrf51822-qfac",
"nordic,nrf51822";
chosen {
zephyr,console = &uart0;
zephyr,sram = &sram0;
zephyr,flash = &flash0;
};
/* These aliases are provided for compatibility with samples */
aliases {
led0 = &led0;
sw0 = &button0;
};
leds {
compatible = "gpio-leds";
/* green led */
led0: led_0 {
gpios = <&gpio0 7 0>;
label = "LED";
};
};
buttons {
/* Push button switch 0 KEY1 */
compatible = "gpio-keys";
button0: button_0 {
/* gpio flags need validation */
gpios = <&gpio0 15 GPIO_INT_ACTIVE_LOW>;
label = "Button";
};
};
};
&gpiote {
status ="ok";
};
&gpio0 {
status ="ok";
};
&uart0 {
current-speed = <115200>;
status = "ok";
tx-pin = <10>;
rx-pin = <11>;
rts-pin = <12>;
cts-pin = <13>;
};
&i2c0 {
status = "ok";
clock-frequency = <I2C_BITRATE_FAST>;
sda-pin = <29>;
scl-pin = <30>;
};