arm64: dts: rockchip: Enable the NPU on rk3588-rock-5-itx
Subsystems (2)
PATCH 1/1 arm64: dts: rockchip: Enable the NPU on rk3588-rock-5-itx
This commit enables the NPU on Radxa Rock 5 ITX board. The regulator vdd_npu_s0 was already in place and since the NPUs power domain supply is now described remove the always-on property from the regulator.
Signed-off-by Sten-Silver Ots <[email protected]>
--- .../boot/dts/rockchip/rk3588-rock-5-itx.dts | 35 ++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-)
arch/arm64/boot/dts/rockchip/rk3588-rock-5-itx.dts +34 -1
@@ -421,7 +421,6 @@ vdd_npu_s0: regulator@42 { reg = <0x42>; fcs,suspend-voltage-selector = <1>; regulator-name = "vdd_npu_s0"; - regulator-always-on; regulator-boot-on; regulator-min-microvolt = <550000>; regulator-max-microvolt = <950000>;
@@ -683,6 +682,10 @@ &pd_gpu { domain-supply = <&vdd_gpu_s0>; }; +&pd_npu { + domain-supply = <&vdd_npu_s0>; +}; + &pinctrl { hym8563 { rtc_int: rtc-int {
@@ -802,6 +805,36 @@ dp1_hpd: dp1-hpd { }; }; +&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"; +}; + &pwm14 { pinctrl-names = "default"; pinctrl-0 = <&pwm14m1_pins>;
Signature · 1 line
2.53.0
Quoted 6 lines · Sten-Silver Ots
This commit enables the NPU on Radxa Rock 5 ITX board. The regulator
vdd_npu_s0was already in place and since the NPUs power domain supply is now described remove the always-on property from the regulator.
Applied, thanks!
[1/1] arm64: dts: rockchip: Enable the NPU on rk3588-rock-5-itx
commit: e4f7054e819eece6fd83072ff2dcefc7a36224c0
Best regards,
Signature · 1 line
Heiko Stuebner <[email protected]>