Skip to content

Commit

Permalink
s32: soc: s32z2: update QSPI clock sources
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
congnguyenhuu committed Oct 18, 2024
1 parent 682c43d commit 82edd1b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions s32/soc/s32z270/src/Clock_Ip_Cfg.c
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ static const Clock_Ip_SelectorConfigType Clock_Ip_SelectorConfigurations_0[CLOCK
#if CLOCK_IP_CONFIGURED_SELECTORS_0_NO > 41U
{
P4_QSPI0_2X_CLK, /* Clock name associated to selector */
FIRC_CLK, /* Name of the selected input source */
PERIPHPLL_DFS0_CLK, /* Name of the selected input source */
},
#endif

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

Expand Down Expand Up @@ -1345,7 +1345,7 @@ static const Clock_Ip_DividerConfigType Clock_Ip_DividerConfigurations_0[CLOCK_I
#if CLOCK_IP_CONFIGURED_DIVIDERS_0_NO > 63U
{
P4_QSPI0_2X_CLK, /* name */
1U, /* value */
2U, /* value */
{
0U,
}
Expand Down Expand Up @@ -1555,7 +1555,7 @@ static const Clock_Ip_DividerConfigType Clock_Ip_DividerConfigurations_0[CLOCK_I
#if CLOCK_IP_CONFIGURED_DIVIDERS_0_NO > 84U
{
P4_SDHC_CLK, /* name */
1U, /* value */
2U, /* value */
{
0U,
}
Expand Down Expand Up @@ -1672,7 +1672,7 @@ static const Clock_Ip_FracDivConfigType Clock_Ip_FracDivsConfigurations_0[CLOCK_
1U, /* Enabled */
{
2U, /* integer part */
18U, /* fractional part */
0U, /* fractional part */
},
},
#endif
Expand Down

0 comments on commit 82edd1b

Please sign in to comment.