diff --git a/boards/arm/ronoth_lodev/ronoth_lodev.dts b/boards/arm/ronoth_lodev/ronoth_lodev.dts index 3df7d161d7c..bf464d54739 100644 --- a/boards/arm/ronoth_lodev/ronoth_lodev.dts +++ b/boards/arm/ronoth_lodev/ronoth_lodev.dts @@ -106,6 +106,18 @@ }; }; +&clk_hsi { + status = "okay"; +}; + +&rcc { + clocks = <&clk_hsi>; + clock-frequency = ; + ahb-prescaler = <1>; + apb1-prescaler = <1>; + apb2-prescaler = <1>; +}; + &usart1 { pinctrl-0 = <&usart1_tx_pa9 &usart1_rx_pa10>; current-speed = <115200>; diff --git a/boards/arm/ronoth_lodev/ronoth_lodev_defconfig b/boards/arm/ronoth_lodev/ronoth_lodev_defconfig index e1175de14e1..eb42f9c29b0 100644 --- a/boards/arm/ronoth_lodev/ronoth_lodev_defconfig +++ b/boards/arm/ronoth_lodev/ronoth_lodev_defconfig @@ -8,9 +8,6 @@ CONFIG_SOC_SERIES_STM32L0X=y # Platform Configuration CONFIG_SOC_STM32L073XX=y -# General Kernel Options -CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=16000000 - # Enable MPU CONFIG_ARM_MPU=y @@ -27,7 +24,5 @@ CONFIG_PINMUX=y # GPIO Controller CONFIG_GPIO=y -# Clock configuration +# Enable Clocks CONFIG_CLOCK_CONTROL=y -# SYSCLK selection -CONFIG_CLOCK_STM32_SYSCLK_SRC_HSI=y