aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv
diff options
context:
space:
mode:
authorGravatar Jisheng Zhang <jszhang@kernel.org> 2024-04-29 08:13:13 +0800
committerGravatar Conor Dooley <conor.dooley@microchip.com> 2024-04-30 22:04:16 +0100
commitffddddf4aa8d0119c5fba6005b10a1e253a19b59 (patch)
tree858dde14d4300c5ced0a0da7b7d33f5a8ea08fc9 /arch/riscv
parentriscv: dts: starfive: visionfive 2: update sound and codec dt node name (diff)
downloadlinux-ffddddf4aa8d0119c5fba6005b10a1e253a19b59.tar.gz
linux-ffddddf4aa8d0119c5fba6005b10a1e253a19b59.tar.bz2
linux-ffddddf4aa8d0119c5fba6005b10a1e253a19b59.zip
riscv: dts: starfive: visionfive 2: use cpus label for timebase freq
As pointed out by Krzysztof "Board should not bring new CPU nodes. Override by label instead." Suggested-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Jisheng Zhang <jszhang@kernel.org> Reviewed-by: Emil Renner Berthing <emil.renner.berthing@canonical.com> Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Diffstat (limited to 'arch/riscv')
-rw-r--r--arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi b/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi
index 50955cc45658..910c07bd4af9 100644
--- a/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi
+++ b/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi
@@ -26,10 +26,6 @@
stdout-path = "serial0:115200n8";
};
- cpus {
- timebase-frequency = <4000000>;
- };
-
memory@40000000 {
device_type = "memory";
reg = <0x0 0x40000000 0x1 0x0>;
@@ -69,6 +65,10 @@
};
};
+&cpus {
+ timebase-frequency = <4000000>;
+};
+
&dvp_clk {
clock-frequency = <74250000>;
};