boards: nucleo_wl55jc: add lora support

Enable the subghz radio for the lora samples in nucleo_wl55jc.

Signed-off-by: Fabio Baltieri <fabio.baltieri@gmail.com>
This commit is contained in:
Fabio Baltieri 2021-06-13 00:13:45 +01:00 committed by Christopher Friedt
commit d4d0db0551

View file

@ -58,6 +58,7 @@
sw0 = &user_button_1;
sw1 = &user_button_2;
sw2 = &user_button_3;
lora0 = &lora;
};
power-states {
@ -135,6 +136,17 @@
status = "okay";
};
&subghzspi {
status = "okay";
lora: radio@0 {
status = "okay";
tx-enable-gpios = <&gpioc 4 GPIO_ACTIVE_LOW>;
rx-enable-gpios = <&gpioc 5 GPIO_ACTIVE_LOW>;
dio3-tcxo-voltage = <SX126X_DIO3_TCXO_1V7>;
tcxo-power-startup-delay-ms = <5>;
};
};
&flash0 {
/*
* For more information, see: