summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu@tomeuvizoso.net>2024-01-10 18:37:01 +0300
committerNeil Armstrong <neil.armstrong@linaro.org>2024-02-13 11:38:47 +0300
commit844e50c4a18f66462cad04b000506e7c063d74c5 (patch)
tree2f2dbcf794b023ab007c4183c126c6cc9a97dab5 /arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi
parent1e75c2276a4fa080a97524b657a41b57e90bbd0b (diff)
downloadlinux-844e50c4a18f66462cad04b000506e7c063d74c5.tar.xz
arm64: dts: amlogic: meson-g12-common: Set the rates of the clocks for the NPU
Otherwise they are left at 24MHz and the NPU runs very slowly. Signed-off-by: Tomeu Vizoso <tomeu@tomeuvizoso.net> Suggested-by: Lucas Stach <l.stach@pengutronix.de> Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Link: https://lore.kernel.org/r/20240110153704.1364073-2-tomeu@tomeuvizoso.net Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Diffstat (limited to 'arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi')
-rw-r--r--arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi
index ff68b911b729..9d5eab6595d0 100644
--- a/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi
@@ -2502,6 +2502,9 @@
clocks = <&clkc CLKID_NNA_CORE_CLK>,
<&clkc CLKID_NNA_AXI_CLK>;
clock-names = "core", "bus";
+ assigned-clocks = <&clkc CLKID_NNA_CORE_CLK>,
+ <&clkc CLKID_NNA_AXI_CLK>;
+ assigned-clock-rates = <800000000>, <800000000>;
resets = <&reset RESET_NNA>;
status = "disabled";
};