Message ID | 20240612-6-10-rocket-v1-5-060e48eea250@tomeuvizoso.net (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | New DRM accel driver for Rockchip's RKNN NPU | expand |
Hi, On Wed, Jun 12, 2024 at 03:52:58PM GMT, Tomeu Vizoso wrote: > Enable the nodes added in a previous commit to the rk3588s device tree. > > Signed-off-by: Tomeu Vizoso <tomeu@tomeuvizoso.net> > --- There is a separate regulator for the NPU. For QuartzPro64, which is basically the same as EVB1, it should look like this (obviously the "npu-supply" and "sram-supply" need to become part of the binding): &rknn { npu-supply = <&vdd_npu_s0>; sram-supply = <&vdd_npu_mem_s0>; }; Also the references are supposed to be done alphabetically in the DT file (so &rknn should not be added before &i2c). Greetings, -- Sebastian
diff --git a/arch/arm64/boot/dts/rockchip/rk3588-quartzpro64.dts b/arch/arm64/boot/dts/rockchip/rk3588-quartzpro64.dts index b4f22d95ac0e..9afb7efebace 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-quartzpro64.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588-quartzpro64.dts @@ -291,6 +291,14 @@ &gpu { status = "okay"; }; +&rknn { + status = "okay"; +}; + +&rknn_mmu { + status = "okay"; +}; + &i2c2 { status = "okay";
Enable the nodes added in a previous commit to the rk3588s device tree. Signed-off-by: Tomeu Vizoso <tomeu@tomeuvizoso.net> --- arch/arm64/boot/dts/rockchip/rk3588-quartzpro64.dts | 8 ++++++++ 1 file changed, 8 insertions(+)