Skip to content

Commit 843b912

Browse files
Heiko Stuebnermmind
authored andcommitted
arm64: dts: rockchip: enable NPU on rk3588-jaguar
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-2-heiko@sntech.de Signed-off-by: Heiko Stuebner <heiko@sntech.de>
1 parent 8fd18d9 commit 843b912

1 file changed

Lines changed: 34 additions & 1 deletion

File tree

arch/arm64/boot/dts/rockchip/rk3588-jaguar.dts

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,6 @@
393393
reg = <0x42>;
394394
fcs,suspend-voltage-selector = <1>;
395395
regulator-name = "vdd_npu_s0";
396-
regulator-always-on;
397396
regulator-boot-on;
398397
regulator-min-microvolt = <550000>;
399398
regulator-max-microvolt = <950000>;
@@ -564,6 +563,10 @@
564563
domain-supply = <&vdd_gpu_s0>;
565564
};
566565

566+
&pd_npu {
567+
domain-supply = <&vdd_npu_s0>;
568+
};
569+
567570
&pinctrl {
568571
emmc {
569572
emmc_reset: emmc-reset {
@@ -618,6 +621,36 @@
618621
};
619622
};
620623

624+
&rknn_core_0 {
625+
npu-supply = <&vdd_npu_s0>;
626+
sram-supply = <&vdd_npu_s0>;
627+
status = "okay";
628+
};
629+
630+
&rknn_core_1 {
631+
npu-supply = <&vdd_npu_s0>;
632+
sram-supply = <&vdd_npu_s0>;
633+
status = "okay";
634+
};
635+
636+
&rknn_core_2 {
637+
npu-supply = <&vdd_npu_s0>;
638+
sram-supply = <&vdd_npu_s0>;
639+
status = "okay";
640+
};
641+
642+
&rknn_mmu_0 {
643+
status = "okay";
644+
};
645+
646+
&rknn_mmu_1 {
647+
status = "okay";
648+
};
649+
650+
&rknn_mmu_2 {
651+
status = "okay";
652+
};
653+
621654
&saradc {
622655
vref-supply = <&vcc_1v8_s0>;
623656
status = "okay";

0 commit comments

Comments
 (0)