Unverified Commit 56685616 authored by Palmer Dabbelt's avatar Palmer Dabbelt
Browse files

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: default avatarPalmer Dabbelt <palmer@sifive.com>
parent ae64f9bd
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment