[PATCH v5 30/33] riscv: Try to get cpu frequency from a "clocks" node if it exists