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&uicr {
40	gpio-as-nreset;
41};
42
43&i2c1 { /* power monitoring */
44	compatible = "nordic,nrf-twi";
45	status = "okay";
46	clock-frequency = <I2C_BITRATE_FAST>;
47	pinctrl-0 = <&i2c1_default>;
48	pinctrl-1 = <&i2c1_sleep>;
49	pinctrl-names = "default", "sleep";
50};
51
52&uart1 { /* u-blox SARA-U2 or SARA-R4 */
53	compatible = "nordic,nrf-uarte";
54	current-speed = <115200>;
55	status = "okay";
56
57	hw-flow-control;
58
59	pinctrl-0 = <&uart1_default>;
60	pinctrl-1 = <&uart1_sleep>;
61	pinctrl-names = "default", "sleep";
62	sara_r4 {
63		compatible = "u-blox,sara-r4";
64		status = "okay";
65
66		mdm-power-gpios = <&gpio0 16 0>;
67		mdm-reset-gpios = <&gpio0 12 0>;
68		mdm-vint-gpios = <&gpio0 2 0>;
69	};
70};
71