1# Copyright (c) 2019 Manivannan Sadhasivam 2# Copyright (c) 2020 Andreas Sandberg 3# SPDX-License-Identifier: Apache-2.0 4 5include: spi-device.yaml 6 7properties: 8 reset-gpios: 9 type: phandle-array 10 description: | 11 GPIO connected to the modem's NRESET signal. 12 13 This signal is open-drain, active-low as interpreted by the 14 modem. 15 16 busy-gpios: 17 type: phandle-array 18 description: | 19 GPIO connected to the modem's BUSY signal. 20 21 antenna-enable-gpios: 22 type: phandle-array 23 description: | 24 Antenna power enable pin. 25 26 tx-enable-gpios: 27 type: phandle-array 28 description: | 29 Antenna switch TX enable GPIO. If set, the driver tracks the 30 state of the radio and controls the RF switch. 31 32 rx-enable-gpios: 33 type: phandle-array 34 description: | 35 Antenna switch RX enable GPIO. If set, the driver tracks the 36 state of the radio and controls the RF switch. 37 38 dio1-gpios: 39 type: phandle-array 40 description: | 41 GPIO connected to DIO1. This GPIO will be used as a generic 42 IRQ line from the chip. 43 44 dio2-tx-enable: 45 type: boolean 46 description: | 47 Use DIO2 to drive an RF switch selecting between the TX and RX 48 paths. When enabled, DIO2 goes high when the chip is 49 transmitting. 50 51 dio3-tcxo-voltage: 52 type: int 53 description: | 54 TCXO supply voltage controlled by DIO3 if present. 55 56 See constants in dt-bindings/lora/sx126x.h. 57 58 tcxo-power-startup-delay-ms: 59 type: int 60 description: | 61 Startup delay to let the TCXO stabilize after TCXO power on. 62