Skip to content

Commit aeaf32a

Browse files
rruuaanngnashif
authored andcommitted
stm32: Fix wrong binding target for RTC_SEL in stm32u0
Change the stm32u0 clock from CSR_REG to BDCR_REG. Signed-off-by: James Roy <[email protected]>
1 parent 538753d commit aeaf32a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/zephyr/dt-bindings/clock/stm32u0_clock.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,6 @@
8787
#define CLK48_SEL(val) STM32_DOMAIN_CLOCK(val, 3, 26, CCIPR_REG)
8888
#define ADC_SEL(val) STM32_DOMAIN_CLOCK(val, 3, 28, CCIPR_REG)
8989
/** BDCR devices */
90-
#define RTC_SEL(val) STM32_DOMAIN_CLOCK(val, 3, 8, CSR_REG)
90+
#define RTC_SEL(val) STM32_DOMAIN_CLOCK(val, 3, 8, BDCR_REG)
9191

9292
#endif /* ZEPHYR_INCLUDE_DT_BINDINGS_CLOCK_STM32U0_CLOCK_H_ */

0 commit comments

Comments
 (0)