dts: bindings: Add bindings for Semtech SX126x

Add device tree bindings for the Semtech SX1261 and SX1262
radios. These will be used by Zephyr's LoRa drivers.

Signed-off-by: Andreas Sandberg <andreas@sandberg.pp.se>
This commit is contained in:
Andreas Sandberg 2020-05-05 23:31:47 +01:00 committed by Anas Nashif
commit 3d1fa70e80
4 changed files with 90 additions and 0 deletions

View file

@ -0,0 +1,18 @@
/*
* Copyright (c) 2020 Andreas Sandberg
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_LORA_SX126X_H_
#define ZEPHYR_INCLUDE_DT_BINDINGS_LORA_SX126X_H_
#define SX126X_DIO3_TCXO_1V6 0x00
#define SX126X_DIO3_TCXO_1V7 0x01
#define SX126X_DIO3_TCXO_1V8 0x02
#define SX126X_DIO3_TCXO_2V2 0x03
#define SX126X_DIO3_TCXO_2V4 0x04
#define SX126X_DIO3_TCXO_2V7 0x05
#define SX126X_DIO3_TCXO_3V0 0x06
#define SX126X_DIO3_TCXO_3V3 0x07
#endif /* ZEPHYR_INCLUDE_DT_BINDINGS_LORA_SX126X_H_ */