]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
ARM: dts: stm32: rtc, add LSCO to WLAN/BT module on stm32mp157c-dk2
authorValentin Caron <valentin.caron@foss.st.com>
Tue, 27 Aug 2024 14:04:49 +0000 (16:04 +0200)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Tue, 29 Oct 2024 15:41:42 +0000 (16:41 +0100)
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>
arch/arm/boot/dts/st/stm32mp157c-dk2.dts

index 7a701f7ef0c70467181e71719f17712ca4341562..8ac1233f9a02d26ebb78f5b5e91cce0b566e0d51 100644 (file)
        };
 };
 
+&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>;