stm32mp1: clock tree update
authorPatrick Delaunay <patrick.delaunay@st.com>
Mon, 9 Jul 2018 13:17:24 +0000 (15:17 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 20 Jul 2018 19:55:06 +0000 (15:55 -0400)
Configure clock tree for all the devices.

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi

index f6d1528aeb5feeec27efcfcd18865680ab759a22..39a0ebce9073fd794c5d8242ded88a37495e8f9f 100644 (file)
        >;
 
        st,pkcs = <
-               CLK_CKPER_DISABLED
+               CLK_CKPER_HSE
+               CLK_FMC_ACLK
+               CLK_QSPI_ACLK
+               CLK_ETH_DISABLED
                CLK_SDMMC12_PLL3R
+               CLK_DSI_DSIPLL
                CLK_STGEN_HSE
-               CLK_I2C46_PCLK5
-               CLK_I2C12_PCLK1
+               CLK_USBPHY_HSE
+               CLK_SPI2S1_PLL3Q
+               CLK_SPI2S23_PLL3Q
+               CLK_SPI45_HSI
+               CLK_SPI6_HSI
+               CLK_I2C46_HSI
                CLK_SDMMC3_PLL3R
-               CLK_I2C35_PCLK1
-               CLK_UART1_PCLK5
-               CLK_UART24_PCLK1
-               CLK_UART35_PCLK1
-               CLK_UART6_PCLK2
-               CLK_UART78_PCLK1
+               CLK_USBO_USBPHY
+               CLK_ADC_CKPER
+               CLK_CEC_LSE
+               CLK_I2C12_HSI
+               CLK_I2C35_HSI
+               CLK_UART1_HSI
+               CLK_UART24_HSI
+               CLK_UART35_HSI
+               CLK_UART6_HSI
+               CLK_UART78_HSI
+               CLK_SPDIF_PLL3Q
+               CLK_FDCAN_PLL4Q
+               CLK_SAI1_PLL3Q
+               CLK_SAI2_PLL3Q
+               CLK_SAI3_PLL3Q
+               CLK_SAI4_PLL3Q
+               CLK_RNG1_CSI
+               CLK_RNG2_CSI
+               CLK_LPTIM1_PCLK1
+               CLK_LPTIM23_PCLK3
+               CLK_LPTIM45_PCLK3
        >;
 
        /* VCO = 1300.0 MHz => P = 650 (CPU) */
                u-boot,dm-pre-reloc;
        };
 
-       /* VCO = 774.0 MHz => P = 194, Q = 37, R = 97 */
+       /* VCO = 786.4 MHz => P = 197, Q = 49, R = 98 */
        pll3: st,pll@2 {
-               cfg = < 3 128 3 20 7 PQR(1,1,1) >;
+               cfg = < 2 97 3 15 7 PQR(1,1,1) >;
+               frac = < 0x9ba >;
                u-boot,dm-pre-reloc;
        };