zephyr/dts/bindings/lora/semtech,sx126x-base.yaml
Andreas Sandberg 3d1fa70e80 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>
2020-07-02 08:32:37 -04:00

57 lines
1.4 KiB
YAML

# Copyright (c) 2019 Manivannan Sadhasivam
# Copyright (c) 2020 Andreas Sandberg
# SPDX-License-Identifier: Apache-2.0
include: spi-device.yaml
properties:
reset-gpios:
type: phandle-array
required: true
description: |
GPIO connected to the modem's NRST signal.
This signal is open-drain, active-low as interpreted by the
modem.
busy-gpios:
type: phandle-array
required: true
description: |
GPIO connected to the modem's BUSY signal.
antenna-enable-gpios:
type: phandle-array
required: false
description: |
Antenna power enable pin.
dio1-gpios:
type: phandle-array
required: true
description: |
GPIO connected to DIO1. This GPIO will be used as a generic
IRQ line from the chip.
dio2-tx-enable:
type: boolean
required: false
description: |
Use DIO2 to drive an RF switch selecting between the TX and RX
paths. When enabled, DIO2 goes high when the chip is
transmitting.
dio3-tcxo-voltage:
type: int
required: false
description: |
TCXO supply voltage controlled by DIO3 if present.
See constants in dt-bindings/lora/sx126x.h.
tcxo-power-startup-delay-ms:
type: int
required: false
description: |
Startup delay to let the TCXO stabilize after TCXO power on.