Skip to content

Commit 8fd18d9

Browse files
Heiko Stuebnermmind
authored andcommitted
arm64: dts: rockchip: enable NPU on rk3588-tiger
Enable the NPU cores and their mmus and wire up the supply-regulator. The regulator itself was already defined, but it does not need to be always on - the npu can control it. Signed-off-by: Heiko Stuebner <heiko.stuebner@cherry.de> Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de> Tested-by: Quentin Schulz <quentin.schulz@cherry.de> Link: https://patch.msgid.link/20250812085213.1071106-1-heiko@sntech.de Signed-off-by: Heiko Stuebner <heiko@sntech.de>
1 parent fc808f8 commit 8fd18d9

1 file changed

Lines changed: 34 additions & 1 deletion

File tree

arch/arm64/boot/dts/rockchip/rk3588-tiger.dtsi

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,6 @@
197197
reg = <0x42>;
198198
fcs,suspend-voltage-selector = <1>;
199199
regulator-name = "vdd_npu_s0";
200-
regulator-always-on;
201200
regulator-boot-on;
202201
regulator-min-microvolt = <550000>;
203202
regulator-max-microvolt = <950000>;
@@ -340,6 +339,10 @@
340339
domain-supply = <&vdd_gpu_s0>;
341340
};
342341

342+
&pd_npu {
343+
domain-supply = <&vdd_npu_s0>;
344+
};
345+
343346
&pinctrl {
344347
emmc {
345348
emmc_reset: emmc-reset {
@@ -372,6 +375,36 @@
372375
pinctrl-names = "default";
373376
};
374377

378+
&rknn_core_0 {
379+
npu-supply = <&vdd_npu_s0>;
380+
sram-supply = <&vdd_npu_s0>;
381+
status = "okay";
382+
};
383+
384+
&rknn_core_1 {
385+
npu-supply = <&vdd_npu_s0>;
386+
sram-supply = <&vdd_npu_s0>;
387+
status = "okay";
388+
};
389+
390+
&rknn_core_2 {
391+
npu-supply = <&vdd_npu_s0>;
392+
sram-supply = <&vdd_npu_s0>;
393+
status = "okay";
394+
};
395+
396+
&rknn_mmu_0 {
397+
status = "okay";
398+
};
399+
400+
&rknn_mmu_1 {
401+
status = "okay";
402+
};
403+
404+
&rknn_mmu_2 {
405+
status = "okay";
406+
};
407+
375408
&saradc {
376409
vref-supply = <&vcc_1v8_s0>;
377410
status = "okay";

0 commit comments

Comments
 (0)