Commit b3d7fb3f authored by Jimmy Hon's avatar Jimmy Hon Committed by Heiko Stuebner
Browse files

arm64: dts: rockchip: enable NPU on OPI5/5B



The NPU on the Orange Pi 5/5B uses the same regulator for both the
sram-supply and the npu's supply. Enable all the NPU bits. Also add
the regulator as a domain-supply to the pd_npu power domain.

Signed-off-by: default avatarJimmy Hon <honyuenkwun@gmail.com>
Link: https://lore.kernel.org/r/20250812025755.2078-2-honyuenkwun@gmail.com


Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
parent 34f76209
Loading
Loading
Loading
Loading
+34 −0
Original line number Diff line number Diff line
@@ -377,6 +377,10 @@ &pd_gpu {
	domain-supply = <&vdd_gpu_s0>;
};

&pd_npu {
	domain-supply = <&vdd_npu_s0>;
};

&pinctrl {
	hym8563 {
		hym8563_int: hym8563-int {
@@ -407,6 +411,36 @@ &pwm0 {
	status = "okay";
};

&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";
};

&saradc {
	vref-supply = <&avcc_1v8_s0>;
	status = "okay";