1/*
2 * Copyright (c) 2022 Konstantinos Papadopoulos <kostas.papadopulos@gmail.com>
3 * SPDX-License-Identifier: Apache-2.0
4 */
5
6/ {
7	aliases {
8		lora0 = &lora_semtech_sx1262mb2das;
9	};
10};
11
12&arduino_spi {
13	status = "okay";
14
15	cs-gpios = <&arduino_header 13 GPIO_ACTIVE_LOW>;
16
17	lora_semtech_sx1262mb2das: sx1262@0 {
18		compatible = "semtech,sx1262";
19		reg = <0>;
20		spi-max-frequency = <16000000>;
21		label = "SX1262";
22		reset-gpios = <&arduino_header 0 GPIO_ACTIVE_LOW>;
23		busy-gpios = <&arduino_header 9 GPIO_ACTIVE_HIGH>;
24		antenna-enable-gpios = <&arduino_header 14 GPIO_ACTIVE_HIGH>;
25		dio1-gpios = <&arduino_header 11 GPIO_ACTIVE_HIGH>;
26		dio2-tx-enable;
27		tcxo-power-startup-delay-ms = <5>;
28	};
29};
30