timebase_frequency_hz_from_fdt

Function timebase_frequency_hz_from_fdt 

Source
pub fn timebase_frequency_hz_from_fdt() -> Option<u64>
Expand description

Read the RISC-V timebase frequency (Hz) from the device tree.

The standard location is the /cpus node property timebase-frequency. Returns None if FDT is unavailable or the property is missing/invalid.