AM64X PLL Defaults¶
PLL Defaults for AM64X Device¶
This chapter provides information on the PLL defaults which the System firmware programs for AM64X SoC.
This is what the system firmware programs after the PM board configuration is provided. The exact M and N values programmed are based on the crystal connected on the board. The crystal frequency is understood by the ROM from the BOOTPINS. This value is read by the System Firmware from the DEVSTAT register to determine which HFOSC is connected to the device
The System Firmware maintains a table of device clock frequency defaults at which the PLLs are programmed. This document is a reference that the users of System Firmware can look at to determine the default PLL configuration done during boot when PM board configuration message is sent.
Once the PM Init during board configuration is complete the bootloader or application can program individual clocks of individual modules to tweak the clocks based on the usecase which differ from the default. The APIs to refer to setting individual module clocks are TISCI_MSG_SET_FREQ, TISCI_MSG_QUERY_FREQ.
Note
Any PLL configurations that are done before the PM board configuration is provided will be overwritten with the PLL defaults mentioned in the below tables. However, there are some PLLs that don’t get overwritten and the list can be found in the table PLL No Reinit Defaults for AM64X Device
The following table gives the PLL configurations for the input crystal Frequency of 19.2 MHz.
PLL Name | CLKOUT Freq (Hz) | N+1 | M | Fractional M | M2 | HSDIV0 | HSDIV1 | HSDIV2 | HSDIV3 | HSDIV4 | HSDIV5 | HSDIV6 | HSDIV7 | HSDIV8 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MCU (PLLFRACF_SSMOD_16FFT_MCU_0) | 2400000000U | 1 | 125 | 0 | 1 | 6 | 25 | 25 | 12 | 12 | NA | NA | NA | NA |
MAIN (PLLFRACF_SSMOD_16FFT_MAIN_0) | 1000000000U | 3 | 312 | 8388608 | 2 | 4 | 10 | 25 | 15 | 8 | 5 | 5 | 5 | 8 |
PER0 (PLLFRACF_SSMOD_16FFT_MAIN_1) | 960000000U | 1 | 100 | 0 | 2 | 10 | 12 | 5 | 10 | 80 | 6 | 16 | NA | NA |
PER1 (PLLFRACF_SSMOD_16FFT_MAIN_2) | 1800000000U | 1 | 93 | 12582912 | 1 | 8 | NA | 9 | 6 | 18 | 8 | 8 | 18 | 30 |
ARM0 (PLLFRACF_SSMOD_16FFT_MAIN_8) | 2000000000U | 3 | 312 | 8388608 | 1 | 2 | NA | NA | NA | NA | NA | NA | NA | NA |
DDR (PLLFRACF_SSMOD_16FFT_MAIN_12) | 1600000000U | 3 | 250 | 0 | 1 | 4 | NA | NA | NA | NA | NA | NA | NA | NA |
R5F (PLLFRACF_SSMOD_16FFT_MAIN_14) | 2400000000U | 1 | 125 | 0 | 1 | 3 | 3 | NA | NA | NA | NA | NA | NA | NA |
The following table gives the PLL configurations for the input crystal Frequency of 20.0 MHz.
PLL Name | CLKOUT Freq (Hz) | N+1 | M | Fractional M | M2 | HSDIV0 | HSDIV1 | HSDIV2 | HSDIV3 | HSDIV4 | HSDIV5 | HSDIV6 | HSDIV7 | HSDIV8 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MCU (PLLFRACF_SSMOD_16FFT_MCU_0) | 2400000000U | 1 | 120 | 0 | 1 | 6 | 25 | 25 | 12 | 12 | NA | NA | NA | NA |
MAIN (PLLFRACF_SSMOD_16FFT_MAIN_0) | 1000000000U | 1 | 100 | 0 | 2 | 4 | 10 | 25 | 15 | 8 | 5 | 5 | 5 | 8 |
PER0 (PLLFRACF_SSMOD_16FFT_MAIN_1) | 960000000U | 1 | 96 | 0 | 2 | 10 | 12 | 5 | 10 | 80 | 6 | 16 | NA | NA |
PER1 (PLLFRACF_SSMOD_16FFT_MAIN_2) | 1800000000U | 1 | 90 | 0 | 1 | 8 | NA | 9 | 6 | 18 | 8 | 8 | 18 | 30 |
ARM0 (PLLFRACF_SSMOD_16FFT_MAIN_8) | 2000000000U | 1 | 100 | 0 | 1 | 2 | NA | NA | NA | NA | NA | NA | NA | NA |
DDR (PLLFRACF_SSMOD_16FFT_MAIN_12) | 1600000000U | 1 | 80 | 0 | 1 | 4 | NA | NA | NA | NA | NA | NA | NA | NA |
R5F (PLLFRACF_SSMOD_16FFT_MAIN_14) | 2400000000U | 1 | 120 | 0 | 1 | 3 | 3 | NA | NA | NA | NA | NA | NA | NA |
The following table gives the PLL configurations for the input crystal Frequency of 24.0 MHz.
PLL Name | CLKOUT Freq (Hz) | N+1 | M | Fractional M | M2 | HSDIV0 | HSDIV1 | HSDIV2 | HSDIV3 | HSDIV4 | HSDIV5 | HSDIV6 | HSDIV7 | HSDIV8 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MCU (PLLFRACF_SSMOD_16FFT_MCU_0) | 2400000000U | 1 | 100 | 0 | 1 | 6 | 25 | 25 | 12 | 12 | NA | NA | NA | NA |
MAIN (PLLFRACF_SSMOD_16FFT_MAIN_0) | 1000000000U | 1 | 83 | 5592406 | 2 | 4 | 10 | 25 | 15 | 8 | 5 | 5 | 5 | 8 |
PER0 (PLLFRACF_SSMOD_16FFT_MAIN_1) | 960000000U | 1 | 80 | 0 | 2 | 10 | 12 | 5 | 10 | 80 | 6 | 16 | NA | NA |
PER1 (PLLFRACF_SSMOD_16FFT_MAIN_2) | 1800000000U | 1 | 75 | 0 | 1 | 8 | NA | 9 | 6 | 18 | 8 | 8 | 18 | 30 |
ARM0 (PLLFRACF_SSMOD_16FFT_MAIN_8) | 2000000000U | 1 | 83 | 5592406 | 1 | 2 | NA | NA | NA | NA | NA | NA | NA | NA |
DDR (PLLFRACF_SSMOD_16FFT_MAIN_12) | 1600000000U | 1 | 66 | 11184811 | 1 | 4 | NA | NA | NA | NA | NA | NA | NA | NA |
R5F (PLLFRACF_SSMOD_16FFT_MAIN_14) | 2400000000U | 1 | 100 | 0 | 1 | 3 | 3 | NA | NA | NA | NA | NA | NA | NA |
The following table gives the PLL configurations for the input crystal Frequency of 25.0 MHz.
PLL Name | CLKOUT Freq (Hz) | N+1 | M | Fractional M | M2 | HSDIV0 | HSDIV1 | HSDIV2 | HSDIV3 | HSDIV4 | HSDIV5 | HSDIV6 | HSDIV7 | HSDIV8 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MCU (PLLFRACF_SSMOD_16FFT_MCU_0) | 2400000000U | 1 | 96 | 0 | 1 | 6 | 25 | 25 | 12 | 12 | NA | NA | NA | NA |
MAIN (PLLFRACF_SSMOD_16FFT_MAIN_0) | 1000000000U | 1 | 80 | 0 | 2 | 4 | 10 | 25 | 15 | 8 | 5 | 5 | 5 | 8 |
PER0 (PLLFRACF_SSMOD_16FFT_MAIN_1) | 960000000U | 5 | 384 | 0 | 2 | 10 | 12 | 5 | 10 | 80 | 6 | 16 | NA | NA |
PER1 (PLLFRACF_SSMOD_16FFT_MAIN_2) | 1800000000U | 1 | 72 | 0 | 1 | 8 | NA | 9 | 6 | 18 | 8 | 8 | 18 | 30 |
ARM0 (PLLFRACF_SSMOD_16FFT_MAIN_8) | 2000000000U | 1 | 80 | 0 | 1 | 2 | NA | NA | NA | NA | NA | NA | NA | NA |
DDR (PLLFRACF_SSMOD_16FFT_MAIN_12) | 1600000000U | 1 | 64 | 0 | 1 | 4 | NA | NA | NA | NA | NA | NA | NA | NA |
R5F (PLLFRACF_SSMOD_16FFT_MAIN_14) | 2400000000U | 1 | 96 | 0 | 1 | 3 | 3 | NA | NA | NA | NA | NA | NA | NA |
The following table gives the PLL configurations for the input crystal Frequency of 26.0 MHz.
PLL Name | CLKOUT Freq (Hz) | N+1 | M | Fractional M | M2 | HSDIV0 | HSDIV1 | HSDIV2 | HSDIV3 | HSDIV4 | HSDIV5 | HSDIV6 | HSDIV7 | HSDIV8 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MCU (PLLFRACF_SSMOD_16FFT_MCU_0) | 2400000000U | 1 | 92 | 5162221 | 1 | 6 | 25 | 25 | 12 | 12 | NA | NA | NA | NA |
MAIN (PLLFRACF_SSMOD_16FFT_MAIN_0) | 1000000000U | 1 | 76 | 15486661 | 2 | 4 | 10 | 25 | 15 | 8 | 5 | 5 | 5 | 8 |
PER0 (PLLFRACF_SSMOD_16FFT_MAIN_1) | 960000000U | 1 | 73 | 14196106 | 2 | 10 | 12 | 5 | 10 | 80 | 6 | 16 | NA | NA |
PER1 (PLLFRACF_SSMOD_16FFT_MAIN_2) | 1800000000U | 2 | 138 | 7743331 | 1 | 8 | NA | 9 | 6 | 18 | 8 | 8 | 18 | 30 |
ARM0 (PLLFRACF_SSMOD_16FFT_MAIN_8) | 2000000000U | 1 | 76 | 15486661 | 1 | 2 | NA | NA | NA | NA | NA | NA | NA | NA |
DDR (PLLFRACF_SSMOD_16FFT_MAIN_12) | 1600000000U | 1 | 61 | 9033886 | 1 | 4 | NA | NA | NA | NA | NA | NA | NA | NA |
R5F (PLLFRACF_SSMOD_16FFT_MAIN_14) | 2400000000U | 2 | 184 | 10324441 | 1 | 3 | 3 | NA | NA | NA | NA | NA | NA | NA |
The following table gives the PLL configurations for the input crystal Frequency of 27.0 MHz.
PLL Name | CLKOUT Freq (Hz) | N+1 | M | Fractional M | M2 | HSDIV0 | HSDIV1 | HSDIV2 | HSDIV3 | HSDIV4 | HSDIV5 | HSDIV6 | HSDIV7 | HSDIV8 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MCU (PLLFRACF_SSMOD_16FFT_MCU_0) | 2400000000U | 1 | 88 | 14913081 | 1 | 6 | 25 | 25 | 12 | 12 | NA | NA | NA | NA |
MAIN (PLLFRACF_SSMOD_16FFT_MAIN_0) | 1000000000U | 1 | 74 | 1242757 | 2 | 4 | 10 | 25 | 15 | 8 | 5 | 5 | 5 | 8 |
PER0 (PLLFRACF_SSMOD_16FFT_MAIN_1) | 960000000U | 5 | 355 | 9320676 | 2 | 10 | 12 | 5 | 10 | 80 | 6 | 16 | NA | NA |
PER1 (PLLFRACF_SSMOD_16FFT_MAIN_2) | 1800000000U | 1 | 66 | 11184811 | 1 | 8 | NA | 9 | 6 | 18 | 8 | 8 | 18 | 30 |
ARM0 (PLLFRACF_SSMOD_16FFT_MAIN_8) | 2000000000U | 1 | 74 | 1242757 | 1 | 2 | NA | NA | NA | NA | NA | NA | NA | NA |
DDR (PLLFRACF_SSMOD_16FFT_MAIN_12) | 1600000000U | 1 | 59 | 4349649 | 1 | 4 | NA | NA | NA | NA | NA | NA | NA | NA |
R5F (PLLFRACF_SSMOD_16FFT_MAIN_14) | 2400000000U | 1 | 88 | 14913081 | 1 | 3 | 3 | NA | NA | NA | NA | NA | NA | NA |
PLL No Reinit Defaults for AM64X Device¶
The following table gives details on PLLs (CLKOUT and HSDIVs) that are excluded from reinitializing when PM board configuration is received.
PLL Name | CLKOUT | HSDIV0 | HSDIV1 | HSDIV2 | HSDIV3 | HSDIV4 | HSDIV5 | HSDIV6 | HSDIV7 | HSDIV8 |
---|---|---|---|---|---|---|---|---|---|---|
MCU (PLLFRACF_SSMOD_16FFT_MCU_0) | – | – | – | – | – | – | NA | NA | NA | NA |
MAIN (PLLFRACF_SSMOD_16FFT_MAIN_0) | – | – | – | – | – | – | – | – | – | – |
PER0 (PLLFRACF_SSMOD_16FFT_MAIN_1) | – | – | – | – | – | – | – | – | NA | NA |
PER1 (PLLFRACF_SSMOD_16FFT_MAIN_2) | – | – | NA | – | – | – | – | – | – | – |
ARM0 (PLLFRACF_SSMOD_16FFT_MAIN_8) | – | – | NA | NA | NA | NA | NA | NA | NA | NA |
DDR (PLLFRACF_SSMOD_16FFT_MAIN_12) | – | – | NA | NA | NA | NA | NA | NA | NA | NA |
R5F (PLLFRACF_SSMOD_16FFT_MAIN_14) | – | – | – | NA | NA | NA | NA | NA | NA | NA |