Skip to content

Commit bb0c234

Browse files
AlexJones0jwnrt
authored andcommitted
[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 <[email protected]>
1 parent 878918f commit bb0c234

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hw/riscv/ot_earlgrey.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,8 @@ enum OtEgResetRequest {
154154
OT_EG_RESET_COUNT
155155
};
156156

157-
/* EarlGrey/CW310 Peripheral clock is 2.5 MHz */
158-
#define OT_EG_PERIPHERAL_CLK_HZ 2500000u
157+
/* EarlGrey/CW310 Peripheral clock is 6 MHz */
158+
#define OT_EG_PERIPHERAL_CLK_HZ 6000000u
159159

160160
/* EarlGrey/CW310 AON clock is 250 kHz */
161161
#define OT_EG_AON_CLK_HZ 250000u

0 commit comments

Comments
 (0)