From eb102ccbd6a41d55478a8b9a95ef1f093ecaf82a Mon Sep 17 00:00:00 2001 From: Rex-BC Chen Date: Mon, 6 Dec 2021 10:20:42 +0800 Subject: soc/mediatek/mt8186: Correct SPI_HZ for PLL The SPI speed is 218.4MHz, so correct the value of SPI_HZ. BUG=b:202871018 TEST=build pass Signed-off-by: Rex-BC Chen Change-Id: I6e8ba10a851e1507405cdd41939a176462734487 Reviewed-on: https://review.coreboot.org/c/coreboot/+/59939 Tested-by: build bot (Jenkins) Reviewed-by: Yu-Ping Wu --- src/soc/mediatek/mt8186/include/soc/pll.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/soc/mediatek/mt8186') diff --git a/src/soc/mediatek/mt8186/include/soc/pll.h b/src/soc/mediatek/mt8186/include/soc/pll.h index ce980774e2..c2dace3220 100644 --- a/src/soc/mediatek/mt8186/include/soc/pll.h +++ b/src/soc/mediatek/mt8186/include/soc/pll.h @@ -492,12 +492,12 @@ enum { /* top_div rate */ enum { CLK26M_HZ = 26 * MHz, - UNIVPLL_D6_D2_HZ = UNIV2PLL_HZ / 2 / 6 / 2, + MAINPLL_D5_HZ = MAINPLL_HZ / 5, }; /* top_mux rate */ enum { - SPI_HZ = UNIVPLL_D6_D2_HZ, + SPI_HZ = MAINPLL_D5_HZ, UART_HZ = CLK26M_HZ, }; -- cgit v1.2.3