Skip to content

Commit c8fd2aa

Browse files
author
Alain Volmat
committed
boards: st: add pllsai for ltdc input on stm32f4/stm32f7 boards
Add the pllsai configuration for boards that enables the LTDC and are relying on the LTDC driver to perform the PLLSAI configuration. This will allow to remove the PLLSAI code from the LTDC driver. Impacted boards are: boards/st/stm32f429i_disc1/stm32f429i_disc1.dts boards/st/stm32f746g_disco/stm32f746g_disco.dts boards/st/stm32f7508_dk/stm32f7508_dk.dts Signed-off-by: Alain Volmat <[email protected]>
1 parent ba93928 commit c8fd2aa

File tree

3 files changed

+27
-0
lines changed

3 files changed

+27
-0
lines changed

boards/st/stm32f429i_disc1/stm32f429i_disc1.dts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,15 @@
122122
status = "okay";
123123
};
124124

125+
&pllsai {
126+
div-m = <8>;
127+
mul-n = <192>;
128+
div-r = <4>;
129+
div-divr = <8>;
130+
clocks = <&clk_hse>;
131+
status = "okay";
132+
};
133+
125134
&rcc {
126135
clocks = <&pll>;
127136
clock-frequency = <DT_FREQ_M(168)>;

boards/st/stm32f746g_disco/stm32f746g_disco.dts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,15 @@
9292
status = "okay";
9393
};
9494

95+
&pllsai {
96+
div-m = <25>;
97+
mul-n = <384>;
98+
div-r = <5>;
99+
div-divr = <8>;
100+
clocks = <&clk_hse>;
101+
status = "okay";
102+
};
103+
95104
&rcc {
96105
clocks = <&pll>;
97106
clock-frequency = <DT_FREQ_M(216)>;

boards/st/stm32f7508_dk/stm32f7508_dk.dts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,15 @@
8383
status = "okay";
8484
};
8585

86+
&pllsai {
87+
div-m = <25>;
88+
mul-n = <384>;
89+
div-r = <5>;
90+
div-divr = <8>;
91+
clocks = <&clk_hse>;
92+
status = "okay";
93+
};
94+
8695
&rcc {
8796
clocks = <&pll>;
8897
clock-frequency = <DT_FREQ_M(216)>;

0 commit comments

Comments
 (0)