From: Tomeu Vizoso Date: Wed, 10 Jan 2024 15:37:01 +0000 (+0100) Subject: arm64: dts: amlogic: meson-g12-common: Set the rates of the clocks for the NPU X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=844e50c4a18f66462cad04b000506e7c063d74c5;p=linux.git 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 Suggested-by: Lucas Stach Reviewed-by: Neil Armstrong Link: https://lore.kernel.org/r/20240110153704.1364073-2-tomeu@tomeuvizoso.net Signed-off-by: Neil Armstrong --- diff --git a/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi index ff68b911b7297..9d5eab6595d02 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"; };