ARM: dts: msm: gunyah: Add test nodes for parrot vm

Add test-dbl-tuivm, test-msgq-tuivm and tlmm-vm-test
nodes for parrot and parrot vm.

Change-Id: I15e3312cf74f9ddae27b93a941e7d6c7df844c9b
Signed-off-by: Saranya R <quic_sarar@quicinc.com>
This commit is contained in:
Saranya R
2025-02-04 18:00:39 +05:30
parent 7dc162272f
commit 357667d318
4 changed files with 80 additions and 8 deletions

View File

@@ -1,6 +1,6 @@
// SPDX-License-Identifier: BSD-3-Clause // SPDX-License-Identifier: BSD-3-Clause
/* /*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved. * Copyright (c) 2024-2025 Qualcomm Innovation Center, Inc. All rights reserved.
*/ */
&soc { &soc {
@@ -1897,4 +1897,11 @@
&tlmm 12 0 &tlmm 13 0 &tlmm 64 0 &tlmm 65 0>; &tlmm 12 0 &tlmm 13 0 &tlmm 64 0 &tlmm 65 0>;
}; };
}; };
tlmm-vm-test {
compatible = "qcom,tlmm-vm-test";
qcom,master;
tlmm-vm-gpio-list = <&tlmm 98 0 &tlmm 99 0 &tlmm 10 0 &tlmm 11 0
&tlmm 12 0 &tlmm 13 0 &tlmm 64 0 &tlmm 65 0>;
};
}; };

View File

@@ -1,6 +1,6 @@
// SPDX-License-Identifier: BSD-3-Clause // SPDX-License-Identifier: BSD-3-Clause
/* /*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved. * Copyright (c) 2024-2025 Qualcomm Innovation Center, Inc. All rights reserved.
*/ */
#include "waipio-vm.dtsi" #include "waipio-vm.dtsi"
@@ -56,6 +56,39 @@
tlmm: pinctrl@f000000 { tlmm: pinctrl@f000000 {
compatible = "qcom,parrot-vm-tlmm"; compatible = "qcom,parrot-vm-tlmm";
gpios = /bits/ 16 <98 99 10 11 12 13 64 65>; gpios = /bits/ 16 <98 99 10 11 12 13 64 65>;
qupv3_se11_i2c_active: qupv3_se11_i2c_sda_active {
mux {
pins = "gpio10";
function = "qup1_se3_l0";
};
config {
pins = "gpio10";
drive-strength = <2>;
bias-pull-up;
};
};
qupv3_se11_i2c_sleep: qupv3_se11_i2c_sleep {
mux {
pins = "gpio10";
function = "gpio";
};
config {
pins = "gpio10";
drive-strength = <2>;
};
};
};
tlmm-vm-test {
pinctrl-names = "active", "sleep";
pinctrl-0 = <&qupv3_se11_i2c_active>;
pinctrl-1 = <&qupv3_se11_i2c_sleep>;
tlmm-vm-gpio-list = <&tlmm 98 0 &tlmm 99 0 &tlmm 10 0 &tlmm 11 0
&tlmm 12 0 &tlmm 13 0 &tlmm 64 0 &tlmm 65 0>;
}; };
tlmm-vm-mem-access { tlmm-vm-mem-access {

View File

@@ -2618,7 +2618,16 @@
qcom,pipe-attr-ee; qcom,pipe-attr-ee;
}; };
qcom,test-dbl-tuivm {
compatible = "qcom,gh-dbl";
qcom,label = <0x4>;
};
qcom,test-msgq-tuivm {
compatible = "qcom,gh-msgq-test";
gunyah-label = <0x4>;
qcom,primary;
};
thermal_zones: thermal-zones { thermal_zones: thermal-zones {
}; };

View File

@@ -1,6 +1,6 @@
// SPDX-License-Identifier: BSD-3-Clause // SPDX-License-Identifier: BSD-3-Clause
/* /*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved. * Copyright (c) 2024-2025 Qualcomm Innovation Center, Inc. All rights reserved.
*/ */
#include <dt-bindings/interrupt-controller/arm-gic.h> #include <dt-bindings/interrupt-controller/arm-gic.h>
@@ -215,16 +215,25 @@
}; };
}; };
test-dbl { test-dbl-tuivm {
vdevice-type = "doorbell"; vdevice-type = "doorbell";
generate = "/hypervisor/test-dbl"; generate = "/hypervisor/test-dbl-tuivm";
qcom,label = <0x4>; qcom,label = <0x4>;
peer-default; peer-default;
}; };
test-dbl-source { test-dbl-tuivm-source {
vdevice-type = "doorbell-source"; vdevice-type = "doorbell-source";
generate = "/hypervisor/test-dbl-source"; generate = "/hypervisor/test-dbl-tuivm-source";
qcom,label = <0x4>;
peer-default;
};
test-msgq-tuivm {
vdevice-type = "message-queue-pair";
generate = "/hypervisor/test-msgq-tuivm-pair";
message-size = <0xf0>;
queue-depth = <0x8>;
qcom,label = <0x4>; qcom,label = <0x4>;
peer-default; peer-default;
}; };
@@ -280,6 +289,13 @@
gpios = /bits/ 16 <64 65 66 67 0 4 86 87 16 17 18 19 20 21>; gpios = /bits/ 16 <64 65 66 67 0 4 86 87 16 17 18 19 20 21>;
}; };
tlmm-vm-test {
compatible = "qcom,tlmm-vm-test";
tlmm-vm-gpio-list = <&tlmm 64 0 &tlmm 65 0 &tlmm 66 0 &tlmm 67 0 &tlmm 0 0
&tlmm 4 0 &tlmm 86 0 &tlmm 87 0 &tlmm 16 0 &tlmm 17 0
&tlmm 18 0 &tlmm 19 0 &tlmm 20 0 &tlmm 21 0>;
};
psci { psci {
compatible = "arm,psci-1.0"; compatible = "arm,psci-1.0";
method = "smc"; method = "smc";
@@ -396,10 +412,17 @@
qcom,support-hypervisor; qcom,support-hypervisor;
}; };
qcom,test-dbl { qcom,test-dbl-tuivm {
compatible = "qcom,gh-dbl"; compatible = "qcom,gh-dbl";
qcom,label = <0x4>; qcom,label = <0x4>;
}; };
qcom,test-msgq-tuivm {
compatible = "qcom,gh-msgq-test";
gunyah-label = <0x4>;
affinity = <0>;
};
}; };
#include "waipio-vm-dma-heaps.dtsi" #include "waipio-vm-dma-heaps.dtsi"