Skip to content

Commit 5360ad4

Browse files
rpardinimmind
authored andcommitted
arm64: dts: rockchip: Enable the NPU on Turing RK1
Enable the NPU on Turing RK1. The regulator vdd_npu_s0 was already in place; since the NPU power domain supply is now described, remove the regulator's always-on. Signed-off-by: Ricardo Pardini <ricardo@pardini.net> Link: https://patch.msgid.link/20260101-arm64-dts-rockchip-rk3588-npu-enablements-v2-3-013cf5d5c39d@pardini.net Signed-off-by: Heiko Stuebner <heiko@sntech.de>
1 parent 628aea3 commit 5360ad4

1 file changed

Lines changed: 34 additions & 1 deletion

File tree

arch/arm64/boot/dts/rockchip/rk3588-turing-rk1.dtsi

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,6 @@
171171
reg = <0x42>;
172172
fcs,suspend-voltage-selector = <1>;
173173
regulator-name = "vdd_npu_s0";
174-
regulator-always-on;
175174
regulator-boot-on;
176175
regulator-min-microvolt = <550000>;
177176
regulator-max-microvolt = <950000>;
@@ -293,6 +292,10 @@
293292
domain-supply = <&vdd_gpu_s0>;
294293
};
295294

295+
&pd_npu {
296+
domain-supply = <&vdd_npu_s0>;
297+
};
298+
296299
&pinctrl {
297300
fan {
298301
fan_int: fan-int {
@@ -333,6 +336,36 @@
333336
status = "okay";
334337
};
335338

339+
&rknn_core_0 {
340+
npu-supply = <&vdd_npu_s0>;
341+
sram-supply = <&vdd_npu_s0>;
342+
status = "okay";
343+
};
344+
345+
&rknn_core_1 {
346+
npu-supply = <&vdd_npu_s0>;
347+
sram-supply = <&vdd_npu_s0>;
348+
status = "okay";
349+
};
350+
351+
&rknn_core_2 {
352+
npu-supply = <&vdd_npu_s0>;
353+
sram-supply = <&vdd_npu_s0>;
354+
status = "okay";
355+
};
356+
357+
&rknn_mmu_0 {
358+
status = "okay";
359+
};
360+
361+
&rknn_mmu_1 {
362+
status = "okay";
363+
};
364+
365+
&rknn_mmu_2 {
366+
status = "okay";
367+
};
368+
336369
&sdhci {
337370
bus-width = <8>;
338371
no-sdio;

0 commit comments

Comments
 (0)