* [PATCH] arm64: dts: rockchip: Enable the NPU on NanoPi R6C/R6S
@ 2025-08-27 14:22 anton.kirilov
2025-08-28 13:30 ` Heiko Stuebner
0 siblings, 1 reply; 2+ messages in thread
From: anton.kirilov @ 2025-08-27 14:22 UTC (permalink / raw)
To: Heiko Stuebner
Cc: devicetree, linux-arm-kernel, linux-kernel, linux-rockchip, nd,
Anton Kirilov
From: Anton Kirilov <anton.kirilov@arm.com>
Enable the NPU on FriendlyElec NanoPi R6C/R6S boards.
Signed-off-by: Anton Kirilov <anton.kirilov@arm.com>
---
.../boot/dts/rockchip/rk3588s-nanopi-r6.dtsi | 34 +++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3588s-nanopi-r6.dtsi b/arch/arm64/boot/dts/rockchip/rk3588s-nanopi-r6.dtsi
index fbf062ec3bf1..5410fd35927d 100644
--- a/arch/arm64/boot/dts/rockchip/rk3588s-nanopi-r6.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3588s-nanopi-r6.dtsi
@@ -363,6 +363,10 @@ &pd_gpu {
domain-supply = <&vdd_gpu_s0>;
};
+&pd_npu {
+ domain-supply = <&vdd_npu_s0>;
+};
+
&pinctrl {
gpio-key {
key1_pin: key1-pin {
@@ -421,6 +425,36 @@ rtl8211f_rst: rtl8211f-rst {
};
};
+&rknn_core_0 {
+ npu-supply = <&vdd_npu_s0>;
+ sram-supply = <&vdd_npu_s0>;
+ status = "okay";
+};
+
+&rknn_core_1 {
+ npu-supply = <&vdd_npu_s0>;
+ sram-supply = <&vdd_npu_s0>;
+ status = "okay";
+};
+
+&rknn_core_2 {
+ npu-supply = <&vdd_npu_s0>;
+ sram-supply = <&vdd_npu_s0>;
+ status = "okay";
+};
+
+&rknn_mmu_0 {
+ status = "okay";
+};
+
+&rknn_mmu_1 {
+ status = "okay";
+};
+
+&rknn_mmu_2 {
+ status = "okay";
+};
+
&saradc {
vref-supply = <&avcc_1v8_s0>;
status = "okay";
--
2.43.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] arm64: dts: rockchip: Enable the NPU on NanoPi R6C/R6S
2025-08-27 14:22 [PATCH] arm64: dts: rockchip: Enable the NPU on NanoPi R6C/R6S anton.kirilov
@ 2025-08-28 13:30 ` Heiko Stuebner
0 siblings, 0 replies; 2+ messages in thread
From: Heiko Stuebner @ 2025-08-28 13:30 UTC (permalink / raw)
To: anton.kirilov
Cc: Heiko Stuebner, devicetree, linux-arm-kernel, linux-kernel,
linux-rockchip, nd
On Wed, 27 Aug 2025 15:22:10 +0100, anton.kirilov@arm.com wrote:
> Enable the NPU on FriendlyElec NanoPi R6C/R6S boards.
>
>
Applied, thanks!
[1/1] arm64: dts: rockchip: Enable the NPU on NanoPi R6C/R6S
commit: dfdda0881b353453afc376f7f2bf6a8306fcada3
Best regards,
--
Heiko Stuebner <heiko@sntech.de>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-08-28 13:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-27 14:22 [PATCH] arm64: dts: rockchip: Enable the NPU on NanoPi R6C/R6S anton.kirilov
2025-08-28 13:30 ` Heiko Stuebner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).