]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: rockchip: Enable the NPU on rk3588-rock-5-itx
authorSten-Silver Ots <stensilver@gmail.com>
Mon, 13 Apr 2026 21:52:49 +0000 (00:52 +0300)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 27 Apr 2026 12:02:44 +0000 (14:02 +0200)
This commit enables the NPU on Radxa Rock 5 ITX board.
The regulator vdd_npu_s0 was already in place and since the NPUs
power domain supply is now described remove the always-on property
from the regulator.

Signed-off-by: Sten-Silver Ots <stensilver@gmail.com>
Link: https://patch.msgid.link/20260413215301.4656-1-stensilver@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3588-rock-5-itx.dts

index f7dd01d6fa0ab3acf2577d57c292e547394223a9..1ff786251eb061722f303d0507156d247bc9b32f 100644 (file)
                reg = <0x42>;
                fcs,suspend-voltage-selector = <1>;
                regulator-name = "vdd_npu_s0";
-               regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = <550000>;
                regulator-max-microvolt = <950000>;
        domain-supply = <&vdd_gpu_s0>;
 };
 
+&pd_npu {
+       domain-supply = <&vdd_npu_s0>;
+};
+
 &pinctrl {
        hym8563 {
                rtc_int: rtc-int {
        };
 };
 
+&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";
+};
+
 &pwm14 {
        pinctrl-names = "default";
        pinctrl-0 = <&pwm14m1_pins>;