boards: oct: osd32mp1_brk: provide HSE clock frequency in DTS
Provide the HSE clock frequency by enabling and configuring its Device Tree node in the board's DTS instead of using Kconfig. Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
This commit is contained in:
committed by
Johan Hedberg
parent
7162afe6a3
commit
5f1ced737f
@@ -7,7 +7,4 @@ config SPI_STM32_INTERRUPT
|
||||
default y
|
||||
depends on SPI
|
||||
|
||||
config CLOCK_STM32_HSE_CLOCK
|
||||
default 24000000
|
||||
|
||||
endif # BOARD_OSD32MP1_BRK
|
||||
|
||||
@@ -52,6 +52,11 @@
|
||||
};
|
||||
};
|
||||
|
||||
&clk_hse {
|
||||
clock-frequency = <DT_FREQ_M(24)>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&spi4_miso_pe13 {
|
||||
slew-rate = "very-high-speed";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user