Commit 844e50c4 authored by Tomeu Vizoso's avatar Tomeu Vizoso Committed by Neil Armstrong

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: default avatarTomeu Vizoso <tomeu@tomeuvizoso.net>
Suggested-by: default avatarLucas Stach <l.stach@pengutronix.de>
Reviewed-by: default avatarNeil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20240110153704.1364073-2-tomeu@tomeuvizoso.netSigned-off-by: default avatarNeil Armstrong <neil.armstrong@linaro.org>
parent 1e75c227
...@@ -2502,6 +2502,9 @@ npu: npu@ff100000 { ...@@ -2502,6 +2502,9 @@ npu: npu@ff100000 {
clocks = <&clkc CLKID_NNA_CORE_CLK>, clocks = <&clkc CLKID_NNA_CORE_CLK>,
<&clkc CLKID_NNA_AXI_CLK>; <&clkc CLKID_NNA_AXI_CLK>;
clock-names = "core", "bus"; 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>; resets = <&reset RESET_NNA>;
status = "disabled"; status = "disabled";
}; };
......
Markdown is supported
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