ARM: dts: stm32: Adjust PLL4 settings on AV96 again
authorMarek Vasut <marex@denx.de>
Sat, 22 Aug 2020 20:45:25 +0000 (22:45 +0200)
committerPatrick Delaunay <patrick.delaunay@st.com>
Wed, 9 Sep 2020 13:02:23 +0000 (15:02 +0200)
PLL4Q is supplying both FDCAN and LTDC. In case HDMI is in use, the
50 MHz generated from PLL4Q cannot be divided well enough to produce
accurate clock for HDMI pixel clock. Adjust it to generate 74.25 MHz
instead. The PLL4P/PLL4R are generating 99 MHz instead of 100 MHz,
which is in tolerance for the SDMMC.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Gerald Baeza <gerald.baeza@st.com>
Cc: Patrick Delaunay <patrick.delaunay@st.com>
Cc: Patrice Chotard <patrice.chotard@st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@st.com>
arch/arm/dts/stm32mp15xx-dhcor-u-boot.dtsi

index 7529068..c733184 100644 (file)
                u-boot,dm-pre-reloc;
        };
 
-       /* VCO = 600.0 MHz => P = 100, Q = 50, R = 100 */
+       /* VCO = 600.0 MHz => P = 99, Q = 74, R = 99 */
        pll4: st,pll@3 {
                compatible = "st,stm32mp1-pll";
                reg = <3>;
-               cfg = < 1 49 5 11 5 PQR(1,1,1) >;
+               cfg = < 3 98 5 7 5 PQR(1,1,1) >;
                u-boot,dm-pre-reloc;
        };
 };