[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20230426052831.59391-1-tomeu@tomeuvizoso.net>
Date: Wed, 26 Apr 2023 07:28:31 +0200
From: Tomeu Vizoso <tomeu@...euvizoso.net>
To: linux-kernel@...r.kernel.org
Cc: Tomeu Vizoso <tomeu@...euvizoso.net>,
Lucas Stach <l.stach@...gutronix.de>,
Rob Herring <robh+dt@...nel.org>,
Neil Armstrong <narmstrong@...libre.com>,
Kevin Hilman <khilman@...libre.com>,
Jerome Brunet <jbrunet@...libre.com>,
Martin Blumenstingl <martin.blumenstingl@...glemail.com>,
devicetree@...r.kernel.org (open list:OPEN FIRMWARE AND FLATTENED
DEVICE TREE BINDINGS),
linux-arm-kernel@...ts.infradead.org (moderated list:ARM/Amlogic Meson
SoC support),
linux-amlogic@...ts.infradead.org (open list:ARM/Amlogic Meson SoC
support)
Subject: [PATCH] arm64: dts: VIM3: 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@...euvizoso.net>
Suggested-by: Lucas Stach <l.stach@...gutronix.de>
---
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
Powered by blists - more mailing lists