zephyr/boards/shields/semtech_sx1262mb2das/semtech_sx1262mb2das.overlay
Konstantinos Papadopoulos 9d3251e37a shields: add Semtech SX1262MB2DAS
Adding support for SX1262MB2DAS board which comes with SX1262.

Signed-off-by: Konstantinos Papadopoulos <kostas.papadopulos@gmail.com>
2022-12-08 10:33:38 +00:00

30 lines
697 B
Plaintext

/*
* Copyright (c) 2022 Konstantinos Papadopoulos <kostas.papadopulos@gmail.com>
* SPDX-License-Identifier: Apache-2.0
*/
/ {
aliases {
lora0 = &lora_semtech_sx1262mb2das;
};
};
&arduino_spi {
status = "okay";
cs-gpios = <&arduino_header 13 GPIO_ACTIVE_LOW>;
lora_semtech_sx1262mb2das: sx1262@0 {
compatible = "semtech,sx1262";
reg = <0>;
spi-max-frequency = <16000000>;
label = "SX1262";
reset-gpios = <&arduino_header 0 GPIO_ACTIVE_LOW>;
busy-gpios = <&arduino_header 9 GPIO_ACTIVE_HIGH>;
antenna-enable-gpios = <&arduino_header 14 GPIO_ACTIVE_HIGH>;
dio1-gpios = <&arduino_header 11 GPIO_ACTIVE_HIGH>;
dio2-tx-enable;
tcxo-power-startup-delay-ms = <5>;
};
};