Skip to content

Commit 01a92d0

Browse files
srcnertfabiobaltieri
authored andcommitted
boards: rakwireless: rak3172: Fix RF controller pins
Fixing wrongly defined tx-enable and rx-enable pins. Signed-off-by: Sercan Erat <[email protected]>
1 parent 7a9fb54 commit 01a92d0

File tree

2 files changed

+3
-18
lines changed

2 files changed

+3
-18
lines changed

boards/rakwireless/rak3172/rak3172.dts

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
/dts-v1/;
77
#include <st/wl/stm32wle5Xc.dtsi>
88
#include <st/wl/stm32wle5ccux-pinctrl.dtsi>
9+
#include <arm/rakwireless/rak3172.dtsi>
910

1011
/ {
1112
model = "RAKWireless RAK3172 WisDuo LPWAN Module with a STM32WLE5CC SoC";
@@ -114,26 +115,10 @@
114115
status = "okay";
115116
};
116117

117-
&clk_lse {
118-
clock-frequency = <32768>;
119-
};
120-
121118
&clk_hsi {
122119
status = "okay";
123120
};
124121

125-
&subghzspi {
126-
status = "okay";
127-
128-
lora: radio@0 {
129-
status = "okay";
130-
tx-enable-gpios = <&gpioc 13 GPIO_ACTIVE_LOW>; /* FE_CTRL1 */
131-
rx-enable-gpios = <&gpiob 8 GPIO_ACTIVE_LOW>; /* FE_CTRL2 */
132-
power-amplifier-output = "rfo-lp";
133-
rfo-lp-max-power = <14>;
134-
};
135-
};
136-
137122
&flash0 {
138123
partitions {
139124
compatible = "fixed-partitions";

dts/arm/rakwireless/rak3172.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
status = "okay";
1919
lora: radio@0 {
2020
status = "okay";
21-
tx-enable-gpios = <&gpiob 8 GPIO_ACTIVE_LOW>;
22-
rx-enable-gpios = <&gpioc 13 GPIO_ACTIVE_LOW>;
21+
tx-enable-gpios = <&gpioc 13 GPIO_ACTIVE_HIGH>; /* FE_CTRL1 */
22+
rx-enable-gpios = <&gpiob 8 GPIO_ACTIVE_HIGH>; /* FE_CTRL2 */
2323
power-amplifier-output = "rfo-hp";
2424
rfo-hp-max-power = <22>;
2525
};

0 commit comments

Comments
 (0)