[PATCH] arm64: dts: VIM3: Set the rates of the clocks for the NPU

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Otherwise they are left at 24MHz and the NPU runs very slowly.

Signed-off-by: Tomeu Vizoso <tomeu@xxxxxxxxxxxxxxx>
Suggested-by: Lucas Stach <l.stach@xxxxxxxxxxxxxx>
---
 arch/arm64/boot/dts/amlogic/meson-g12b-a311d-khadas-vim3.dts | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-a311d-khadas-vim3.dts b/arch/arm64/boot/dts/amlogic/meson-g12b-a311d-khadas-vim3.dts
index 4e8266056bca..3a14b21998c4 100644
--- a/arch/arm64/boot/dts/amlogic/meson-g12b-a311d-khadas-vim3.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-g12b-a311d-khadas-vim3.dts
@@ -52,6 +52,9 @@ galcore {
 
 &npu {
 	status = "okay";
+	assigned-clocks = <&clkc CLKID_NNA_CORE_CLK>,
+			  <&clkc CLKID_NNA_AXI_CLK>;
+	assigned-clock-rates = <800000000>, <800000000>;
 };
 
 /*
-- 
2.38.1




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux