mirror of
https://github.com/torvalds/linux.git
synced 2026-06-02 03:24:19 +02:00
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>
This commit is contained in:
parent
8fd18d9b7b
commit
843b912c72
|
|
@ -393,7 +393,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>;
|
||||
|
|
@ -564,6 +563,10 @@ &pd_gpu {
|
|||
domain-supply = <&vdd_gpu_s0>;
|
||||
};
|
||||
|
||||
&pd_npu {
|
||||
domain-supply = <&vdd_npu_s0>;
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
emmc {
|
||||
emmc_reset: emmc-reset {
|
||||
|
|
@ -618,6 +621,36 @@ typec1_sbu_dc_pins: typec1-sbu-dc-pins {
|
|||
};
|
||||
};
|
||||
|
||||
&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 = <&vcc_1v8_s0>;
|
||||
status = "okay";
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user