zephyr/boards/arm/particle_xenon/particle_xenon.dts
Peter Bigot 4230fde3eb boards: particle_*: update for new GPIO API
Provide correct active level and pull on all signals.  Use
init-to-active when configuring antenna switch.

Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
2020-02-05 12:00:36 +01:00

30 lines
624 B
Plaintext

/*
* Copyright (c) 2018 Endre Karlson
* Copyright (c) 2018 Peter Bigot Consulting, LLC
*
* SPDX-License-Identifier: Apache-2.0
*/
/dts-v1/;
#include <nordic/nrf52840_qiaa.dtsi>
#include "mesh_feather.dtsi"
/ {
model = "Particle Xenon";
compatible = "particle,xenon", "particle,feather",
"nordic,nrf52840-qiaa", "nordic,nrf52840";
sky13351 {
compatible = "skyworks,sky13351";
vctl1-gpios = <&gpio0 24 GPIO_ACTIVE_LOW>;
vctl2-gpios = <&gpio0 25 GPIO_ACTIVE_LOW>;
};
vbatt {
compatible = "voltage-divider";
io-channels = <&adc 3>;
output-ohms = <2100000>;
full-ohms = <(2100000 + 806000)>;
};
};