Skip to content

Commit 75a2e56

Browse files
arnopofabiobaltieri
authored andcommitted
boards: add HSE and HSI support for STM32MP257F boards.
Add declaration of the HSE and HSI frequency that will be used to compute the SystemCoreClock. Signed-off-by: Arnaud Pouliquen <[email protected]>
1 parent 3ffd741 commit 75a2e56

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

boards/st/stm32mp257f_dk/stm32mp257f_dk_stm32mp257fxx_m33.dts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,15 @@
4545
};
4646
};
4747

48+
&clk_hsi {
49+
status = "okay";
50+
};
51+
52+
&clk_hse {
53+
clock-frequency = <DT_FREQ_M(40)>;
54+
status = "okay";
55+
};
56+
4857
&rcc {
4958
clock-frequency = <DT_FREQ_M(400)>;
5059
};

boards/st/stm32mp257f_ev1/stm32mp257f_ev1_stm32mp257fxx_m33.dts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,15 @@
4545
};
4646
};
4747

48+
&clk_hsi {
49+
status = "okay";
50+
};
51+
52+
&clk_hse {
53+
clock-frequency = <DT_FREQ_M(40)>;
54+
status = "okay";
55+
};
56+
4857
&rcc {
4958
clock-frequency = <DT_FREQ_M(400)>;
5059
};

0 commit comments

Comments
 (0)