riscv: Fix Canaan Kendryte K210 device tree
authorDamien Le Moal <damien.lemoal@wdc.com>
Sun, 13 Dec 2020 13:50:39 +0000 (22:50 +0900)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Thu, 14 Jan 2021 23:08:47 +0000 (15:08 -0800)
Remove the clocks property from the cpu and clint nodes as these are
ignored. Also remove the clock-frequency property from the cpu nodes as
riscv relies on the timebase-frequency property.

Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
arch/riscv/boot/dts/canaan/k210.dtsi

index d2d0ff6..354b263 100644 (file)
@@ -38,8 +38,6 @@
                        i-cache-block-size = <64>;
                        d-cache-size = <0x8000>;
                        d-cache-block-size = <64>;
-                       clocks = <&sysctl K210_CLK_CPU>;
-                       clock-frequency = <390000000>;
                        cpu0_intc: interrupt-controller {
                                #interrupt-cells = <1>;
                                interrupt-controller;
@@ -56,8 +54,6 @@
                        i-cache-block-size = <64>;
                        d-cache-size = <0x8000>;
                        d-cache-block-size = <64>;
-                       clocks = <&sysctl K210_CLK_CPU>;
-                       clock-frequency = <390000000>;
                        cpu1_intc: interrupt-controller {
                                #interrupt-cells = <1>;
                                interrupt-controller;
                        reg = <0x2000000 0xC000>;
                        interrupts-extended =  <&cpu0_intc 3 &cpu0_intc 7
                                                &cpu1_intc 3 &cpu1_intc 7>;
-                       clocks = <&sysctl K210_CLK_ACLK>;
                };
 
                plic0: interrupt-controller@c000000 {