1/*
2 * Copyright (c) 2018 Peter Bigot Consulting, LLC
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7/dts-v1/;
8#include <nordic/nrf52840_qiaa.dtsi>
9#include <zephyr/dt-bindings/gpio/gpio.h>
10#include "mesh_feather.dtsi"
11#include "particle_boron-pinctrl.dtsi"
12
13/ {
14	model = "Particle Boron";
15	compatible = "particle,boron", "particle,feather";
16
17	sky13351: sky13351 {
18		compatible = "skyworks,sky13351";
19		vctl1-gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
20		/* on Boron VCTL2 is inverted VCTL1 signal via SN74LVC1G04
21		 * single inverter gate -- requires a definition below,
22		 * but is not used in board.c */
23		vctl2-gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
24	};
25
26	/* Power to the level shifter for uart1 */
27	en_buff_pwr: enable-buff-pwr {
28		compatible = "regulator-fixed";
29		regulator-name = "en_buff_pwr";
30		enable-gpios = <&gpio0 25 GPIO_ACTIVE_LOW>;
31		regulator-boot-on;
32	};
33
34	aliases {
35		watchdog0 = &wdt0;
36	};
37};
38
39&reg1 {
40	regulator-initial-mode = <NRF5X_REG_MODE_DCDC>;
41};
42
43&uicr {
44	gpio-as-nreset;
45};
46
47&i2c1 { /* power monitoring */
48	compatible = "nordic,nrf-twi";
49	status = "okay";
50	clock-frequency = <I2C_BITRATE_FAST>;
51	pinctrl-0 = <&i2c1_default>;
52	pinctrl-1 = <&i2c1_sleep>;
53	pinctrl-names = "default", "sleep";
54};
55
56&uart1 { /* u-blox SARA-U2 or SARA-R4 */
57	compatible = "nordic,nrf-uarte";
58	current-speed = <115200>;
59	status = "okay";
60
61	hw-flow-control;
62
63	pinctrl-0 = <&uart1_default>;
64	pinctrl-1 = <&uart1_sleep>;
65	pinctrl-names = "default", "sleep";
66	sara_r4 {
67		compatible = "u-blox,sara-r4";
68		status = "okay";
69
70		mdm-power-gpios = <&gpio0 16 0>;
71		mdm-reset-gpios = <&gpio0 12 0>;
72		mdm-vint-gpios = <&gpio0 2 0>;
73	};
74};
75