dt-bindings: Correct RISC-V's timebase-frequency
Someone must have read the device tree specification incorrectly,
because we were putting timebase-frequency in the wrong place. This
corrects the issue, moving it from
/ {
cpus {
timebase-frequency = X;
}
}
to
/ {
cpus {
cpu@0 {
timebase-frequency = X;
}
}
}
This is great, because the timer's frequency should really be a per-cpu
quantity on RISC-V systems since there's a timer per CPU. This should
lead to some cleanups in our timer driver.
CC: Wesley Terpstra <wesley@sifive.com>
Signed-off-by:
Palmer Dabbelt <palmer@sifive.com>
parent
ae64f9bd
Please register or sign in to comment