1/*
2 * Copyright (c) 2018 Endre Karlson
3 * Copyright (c) 2018 Peter Bigot Consulting, LLC
4 *
5 * SPDX-License-Identifier: Apache-2.0
6 */
7
8/dts-v1/;
9#include <nordic/nrf52840_qiaa.dtsi>
10#include "mesh_feather.dtsi"
11#include "particle_xenon-pinctrl.dtsi"
12
13/ {
14	model = "Particle Xenon";
15	compatible = "particle,xenon", "particle,feather";
16
17	sky13351: sky13351 {
18		compatible = "skyworks,sky13351";
19		vctl1-gpios = <&gpio0 24 GPIO_ACTIVE_LOW>;
20		vctl2-gpios = <&gpio0 25 GPIO_ACTIVE_LOW>;
21	};
22
23	vbatt {
24		compatible = "voltage-divider";
25		io-channels = <&adc 3>;
26		output-ohms = <2100000>;
27		full-ohms = <(2100000 + 806000)>;
28	};
29
30	aliases {
31		watchdog0 = &wdt0;
32		spi-flash0 = &mx25l32;
33	};
34};
35
36&uicr {
37	gpio-as-nreset;
38};
39
40&uart1 { /* feather UART2 */
41	compatible = "nordic,nrf-uarte";
42	current-speed = <115200>;
43	status = "disabled";
44	pinctrl-0 = <&uart1_default>;
45	pinctrl-1 = <&uart1_sleep>;
46	pinctrl-names = "default", "sleep";
47};
48