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:
parent
7049733478
commit
d4d0db0551
1 changed files with 12 additions and 0 deletions
|
@ -58,6 +58,7 @@
|
||||||
sw0 = &user_button_1;
|
sw0 = &user_button_1;
|
||||||
sw1 = &user_button_2;
|
sw1 = &user_button_2;
|
||||||
sw2 = &user_button_3;
|
sw2 = &user_button_3;
|
||||||
|
lora0 = &lora;
|
||||||
};
|
};
|
||||||
|
|
||||||
power-states {
|
power-states {
|
||||||
|
@ -135,6 +136,17 @@
|
||||||
status = "okay";
|
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 {
|
&flash0 {
|
||||||
/*
|
/*
|
||||||
* For more information, see:
|
* For more information, see:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue