From 8222ce611e7619365965881109c046f5e7dce235 Mon Sep 17 00:00:00 2001 From: xlemmingx Date: Tue, 30 Sep 2025 12:07:34 +0200 Subject: [PATCH] Fix STM32WL SubGHz radio device tree configuration Add missing compatible string and required properties for STM32WL integrated SubGHz radio to enable native Zephyr LoRa driver support. --- .../st/g2h_lorawan_heat_control/g2h_lorawan_heat_control.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/zephyr/boards/st/g2h_lorawan_heat_control/g2h_lorawan_heat_control.dts b/zephyr/boards/st/g2h_lorawan_heat_control/g2h_lorawan_heat_control.dts index 2b6204b..15d5706 100644 --- a/zephyr/boards/st/g2h_lorawan_heat_control/g2h_lorawan_heat_control.dts +++ b/zephyr/boards/st/g2h_lorawan_heat_control/g2h_lorawan_heat_control.dts @@ -150,6 +150,10 @@ stm32_lp_tick_source: &lptim1 { &subghzspi { status = "okay"; lora: radio@0 { + compatible = "st,stm32wl-subghz-radio"; + reg = <0>; + interrupts = <50 0>; + spi-max-frequency = <8000000>; status = "okay"; tx-enable-gpios = <&gpioc 4 GPIO_ACTIVE_LOW>; /* FE_CTRL1 */ rx-enable-gpios = <&gpioc 5 GPIO_ACTIVE_LOW>; /* FE_CTRL2 */