boards: st: add support for LPTIMER for nucleo_h563zi board
LPTIM4 is selected, since it is used only for internal timing and it doesn't support output/input Signed-off-by: Adam Berlinger <adam.berlinger@st.com>
This commit is contained in:
parent
91acd6c1e0
commit
e8b898f450
2 changed files with 36 additions and 0 deletions
|
@ -0,0 +1,26 @@
|
|||
/*
|
||||
* Copyright (c) 2024 STMicroelectronics
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
&usart3 {
|
||||
/* Set domain clock to HSI to allow wakeup from Stop mode */
|
||||
clocks = <&rcc STM32_CLOCK_BUS_APB1 0x00040000>,
|
||||
<&rcc STM32_SRC_HSI USART3_SEL(3)>;
|
||||
|
||||
/* Configure device as wakeup source */
|
||||
wakeup-source;
|
||||
|
||||
/* Configure sleep pinctrl configuration which will be used when
|
||||
* device is not configured as wakeup source by the application.
|
||||
* This use case is only applicable in PM_DEVICE mode.
|
||||
*/
|
||||
pinctrl-1 = <&analog_pd8 &analog_pd9>;
|
||||
pinctrl-names = "default", "sleep";
|
||||
};
|
||||
|
||||
&clk_hsi {
|
||||
/* Make sure HSI is enabled */
|
||||
status = "okay";
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue