riscv: dts: fu540-c000: drop "timebase-frequency"
authorPaul Walmsley <paul.walmsley@sifive.com>
Thu, 25 Jul 2019 20:41:31 +0000 (13:41 -0700)
committerPaul Walmsley <paul.walmsley@sifive.com>
Wed, 31 Jul 2019 19:26:10 +0000 (12:26 -0700)
On FU540-based systems, the "timebase-frequency" (RTCCLK) is sourced
from an external crystal located on the PCB.  Thus the
timebase-frequency DT property should be defined by the board that
uses the SoC, not the SoC itself.  Drop the superfluous
timebase-frequency property from the SoC DT data.  (It's already
present in the board DT data.)

Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/riscv/boot/dts/sifive/fu540-c000.dtsi

index 9bf63f0ab253479f0cd3fb5dad43fb99ac6b0cbe..42b5ec2231008ede5252f96b506fd50752eef018 100644 (file)
@@ -21,7 +21,6 @@
        cpus {
                #address-cells = <1>;
                #size-cells = <0>;
-               timebase-frequency = <1000000>;
                cpu0: cpu@0 {
                        compatible = "sifive,e51", "sifive,rocket0", "riscv";
                        device_type = "cpu";