Skip to content

Commit

Permalink
chips/earlgrey/chip_config: increase CW310 FPGA clock frequencies
Browse files Browse the repository at this point in the history
This is in accordance with an upstream change [1]. While the register
set and other chip attributes are frozen for EarlGrey, the clock
frequencies are not. This change will also be backported to the
lowRISC/opentitan `earlgrey_es` branch [2].

[1]: lowRISC/opentitan#19368
[2]: lowRISC/opentitan#19479
  • Loading branch information
Leon Schuermann committed Aug 22, 2023
1 parent 68fce76 commit bf34764
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions chips/earlgrey/src/chip_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,9 @@ pub struct Config<'a> {
#[cfg(any(feature = "config_fpga_cw310", not(feature = "config_disable_default")))]
pub const CONFIG: Config = Config {
name: "fpga_cw310",
cpu_freq: 10_000_000,
peripheral_freq: 2_500_000,
// Clock frequencies as of https://github.com/lowRISC/opentitan/pull/19368
cpu_freq: 24_000_000,
peripheral_freq: 6_000_000,
aon_timer_freq: 250_000,
uart_baudrate: 115200,
};
Expand Down

0 comments on commit bf34764

Please sign in to comment.