boards: rakwireless: rak3172: Fix RF controller pins

Fixing wrongly defined tx-enable and rx-enable pins.

Signed-off-by: Sercan Erat <sercanerat@gmail.com>
This commit is contained in:
Sercan Erat 2025-05-07 23:54:51 +03:00 committed by Fabio Baltieri
commit 01a92d0a42
2 changed files with 3 additions and 18 deletions

View file

@ -6,6 +6,7 @@
/dts-v1/;
#include <st/wl/stm32wle5Xc.dtsi>
#include <st/wl/stm32wle5ccux-pinctrl.dtsi>
#include <arm/rakwireless/rak3172.dtsi>
/ {
model = "RAKWireless RAK3172 WisDuo LPWAN Module with a STM32WLE5CC SoC";
@ -114,26 +115,10 @@
status = "okay";
};
&clk_lse {
clock-frequency = <32768>;
};
&clk_hsi {
status = "okay";
};
&subghzspi {
status = "okay";
lora: radio@0 {
status = "okay";
tx-enable-gpios = <&gpioc 13 GPIO_ACTIVE_LOW>; /* FE_CTRL1 */
rx-enable-gpios = <&gpiob 8 GPIO_ACTIVE_LOW>; /* FE_CTRL2 */
power-amplifier-output = "rfo-lp";
rfo-lp-max-power = <14>;
};
};
&flash0 {
partitions {
compatible = "fixed-partitions";

View file

@ -18,8 +18,8 @@
status = "okay";
lora: radio@0 {
status = "okay";
tx-enable-gpios = <&gpiob 8 GPIO_ACTIVE_LOW>;
rx-enable-gpios = <&gpioc 13 GPIO_ACTIVE_LOW>;
tx-enable-gpios = <&gpioc 13 GPIO_ACTIVE_HIGH>; /* FE_CTRL1 */
rx-enable-gpios = <&gpiob 8 GPIO_ACTIVE_HIGH>; /* FE_CTRL2 */
power-amplifier-output = "rfo-hp";
rfo-hp-max-power = <22>;
};