Skip to content

Commit 5576d44

Browse files
congnguyenhuummahadevan108
authored andcommitted
s32: soc: s32z2: update QSPI clock sources
Select PERIPHPLL_DFS0 clock as QSPI0 clock source Select PERIPHPLL_DFS2 clock as QSPI1 clock source Update QSPI dividers so that value clocks: P4_QSPI0_1X_CLK is 200 MHz P4_QSPI0_2X_CLK is 400 MHz P4_QSPI1_1X_CLK is 150 MHz P4_QSPI1_2X_CLK is 300 MHz Signed-off-by: Cong Nguyen Huu <[email protected]>
1 parent 24a9e16 commit 5576d44

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

s32/soc/s32z270/src/Clock_Ip_Cfg.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ static const Clock_Ip_SelectorConfigType Clock_Ip_SelectorConfigurations_0[CLOCK
557557
#if CLOCK_IP_CONFIGURED_SELECTORS_0_NO > 41U
558558
{
559559
P4_QSPI0_2X_CLK, /* Clock name associated to selector */
560-
FIRC_CLK, /* Name of the selected input source */
560+
PERIPHPLL_DFS0_CLK, /* Name of the selected input source */
561561
},
562562
#endif
563563

@@ -571,7 +571,7 @@ static const Clock_Ip_SelectorConfigType Clock_Ip_SelectorConfigurations_0[CLOCK
571571
#if CLOCK_IP_CONFIGURED_SELECTORS_0_NO > 43U
572572
{
573573
P4_SDHC_CLK, /* Clock name associated to selector */
574-
FIRC_CLK, /* Name of the selected input source */
574+
PERIPHPLL_DFS2_CLK, /* Name of the selected input source */
575575
},
576576
#endif
577577

@@ -1345,7 +1345,7 @@ static const Clock_Ip_DividerConfigType Clock_Ip_DividerConfigurations_0[CLOCK_I
13451345
#if CLOCK_IP_CONFIGURED_DIVIDERS_0_NO > 63U
13461346
{
13471347
P4_QSPI0_2X_CLK, /* name */
1348-
1U, /* value */
1348+
2U, /* value */
13491349
{
13501350
0U,
13511351
}
@@ -1555,7 +1555,7 @@ static const Clock_Ip_DividerConfigType Clock_Ip_DividerConfigurations_0[CLOCK_I
15551555
#if CLOCK_IP_CONFIGURED_DIVIDERS_0_NO > 84U
15561556
{
15571557
P4_SDHC_CLK, /* name */
1558-
1U, /* value */
1558+
2U, /* value */
15591559
{
15601560
0U,
15611561
}
@@ -1672,7 +1672,7 @@ static const Clock_Ip_FracDivConfigType Clock_Ip_FracDivsConfigurations_0[CLOCK_
16721672
1U, /* Enabled */
16731673
{
16741674
2U, /* integer part */
1675-
18U, /* fractional part */
1675+
0U, /* fractional part */
16761676
},
16771677
},
16781678
#endif

0 commit comments

Comments
 (0)