From 08e4e8f8d6da64e191e753a463dfc8ce545e938d Mon Sep 17 00:00:00 2001 From: Alex Jones Date: Thu, 16 Jan 2025 15:36:11 +0000 Subject: [PATCH] [ot] hw/opentitan: ot_earlgrey: Update peripheral clock speed For the CW310, OpenTitan's peripheral clock frequency has been changed to be 6 MHz instead of 2.5 MHz, as it was previously. Signed-off-by: Alex Jones --- hw/riscv/ot_earlgrey.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/riscv/ot_earlgrey.c b/hw/riscv/ot_earlgrey.c index 184f9230992fc..cd379d6cb6686 100644 --- a/hw/riscv/ot_earlgrey.c +++ b/hw/riscv/ot_earlgrey.c @@ -154,8 +154,8 @@ enum OtEgResetRequest { OT_EG_RESET_COUNT }; -/* EarlGrey/CW310 Peripheral clock is 2.5 MHz */ -#define OT_EG_PERIPHERAL_CLK_HZ 2500000u +/* EarlGrey/CW310 Peripheral clock is 6 MHz */ +#define OT_EG_PERIPHERAL_CLK_HZ 6000000u /* EarlGrey/CW310 AON clock is 250 kHz */ #define OT_EG_AON_CLK_HZ 250000u