Skip to content

Commit 7127b6d

Browse files
rpardinimmind
authored andcommitted
arm64: dts: rockchip: Enable the NPU on NanoPC T6/T6-LTS
Enable the NPU on FriendlyElec NanoPC T6/T6-LTS boards. 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-1-013cf5d5c39d@pardini.net Signed-off-by: Heiko Stuebner <heiko@sntech.de>
1 parent cd50298 commit 7127b6d

1 file changed

Lines changed: 35 additions & 1 deletion

File tree

arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dtsi

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,6 @@
458458
reg = <0x42>;
459459
fcs,suspend-voltage-selector = <1>;
460460
regulator-name = "vdd_npu_s0";
461-
regulator-always-on;
462461
regulator-boot-on;
463462
regulator-min-microvolt = <550000>;
464463
regulator-max-microvolt = <950000>;
@@ -629,6 +628,10 @@
629628
domain-supply = <&vdd_gpu_s0>;
630629
};
631630

631+
&pd_npu {
632+
domain-supply = <&vdd_npu_s0>;
633+
};
634+
632635
&pinctrl {
633636
gpio-leds {
634637
sys_led_pin: sys-led-pin {
@@ -706,6 +709,37 @@
706709
status = "okay";
707710
};
708711

712+
&rknn_core_0 {
713+
npu-supply = <&vdd_npu_s0>;
714+
sram-supply = <&vdd_npu_s0>;
715+
status = "okay";
716+
};
717+
718+
&rknn_core_1 {
719+
npu-supply = <&vdd_npu_s0>;
720+
sram-supply = <&vdd_npu_s0>;
721+
status = "okay";
722+
};
723+
724+
&rknn_core_2 {
725+
npu-supply = <&vdd_npu_s0>;
726+
sram-supply = <&vdd_npu_s0>;
727+
status = "okay";
728+
};
729+
730+
&rknn_mmu_0 {
731+
status = "okay";
732+
};
733+
734+
&rknn_mmu_1 {
735+
status = "okay";
736+
};
737+
738+
&rknn_mmu_2 {
739+
status = "okay";
740+
};
741+
742+
709743
&saradc {
710744
vref-supply = <&avcc_1v8_s0>;
711745
status = "okay";

0 commit comments

Comments
 (0)