aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorValentin Caron <valentin.caron@foss.st.com>2024-08-27 16:04:49 +0200
committerAlexandre Torgue <alexandre.torgue@foss.st.com>2024-10-29 16:41:42 +0100
commitb7c6e8c286f17d84165752d8864a57af1dfc4b5b (patch)
tree7f019b8daf0d9dbcba455f4a756375c78d874755
parentARM: dts: stm32: rtc, add pin to provide LSCO on stm32mp13 (diff)
downloadwireguard-linux-b7c6e8c286f17d84165752d8864a57af1dfc4b5b.tar.xz
wireguard-linux-b7c6e8c286f17d84165752d8864a57af1dfc4b5b.zip
ARM: dts: stm32: rtc, add LSCO to WLAN/BT module on stm32mp157c-dk2
On stm32mp157c-dk2 board, WLAN/BT module LPO_IN pin is wired to RTC OUT2_RMP pin. Provide a pinctrl configuration to enable LSCO on OUT2_RMP. Signed-off-by: Valentin Caron <valentin.caron@foss.st.com> Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
-rw-r--r--arch/arm/boot/dts/st/stm32mp157c-dk2.dts10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/st/stm32mp157c-dk2.dts b/arch/arm/boot/dts/st/stm32mp157c-dk2.dts
index 7a701f7ef0c7..8ac1233f9a02 100644
--- a/arch/arm/boot/dts/st/stm32mp157c-dk2.dts
+++ b/arch/arm/boot/dts/st/stm32mp157c-dk2.dts
@@ -84,6 +84,16 @@
};
};
+&rtc {
+ pinctrl-names = "default";
+ pinctrl-0 = <&rtc_rsvd_pins_a>;
+
+ rtc_lsco_pins_a: rtc-lsco-0 {
+ pins = "out2_rmp";
+ function = "lsco";
+ };
+};
+
&usart2 {
pinctrl-names = "default", "sleep", "idle";
pinctrl-0 = <&usart2_pins_c>;