summaryrefslogtreecommitdiff
path: root/qcom/direwolf-vm.dtsi
diff options
context:
space:
mode:
Diffstat (limited to 'qcom/direwolf-vm.dtsi')
-rwxr-xr-xqcom/direwolf-vm.dtsi195
1 files changed, 176 insertions, 19 deletions
diff --git a/qcom/direwolf-vm.dtsi b/qcom/direwolf-vm.dtsi
index a38f885d..0a978442 100755
--- a/qcom/direwolf-vm.dtsi
+++ b/qcom/direwolf-vm.dtsi
@@ -1,12 +1,12 @@
#include <dt-bindings/clock/qcom,gcc-direwolf.h>
#include "quin-vm-common.dtsi"
-
/ {
model = "Qualcomm Technologies, Inc. Direwolf Virtual Machine";
qcom,msm-name = "SA_DIREWOLF_IVI";
qcom,msm-id = <460 0x10000>;
aliases {
+ ufshc2 = &ufshc2_mem;
hsuart0 = &qupv3_se2_4uart;
pci-domain0 = &pcie0; /* PCIe0 domain */
pci-domain1 = &pcie1; /* PCIe1 domain */
@@ -14,6 +14,141 @@
pci-domain3 = &pcie3; /* PCIe3 domain */
pci-domain4 = &pcie4; /* PCIe4 domain */
};
+
+ cpus {
+ #address-cells = <2>;
+ #size-cells = <0>;
+
+ cluster_0_opp_table: opp-table0 {
+ compatible = "operating-points-v2";
+ opp-shared;
+
+ opp-2592000000 {
+ opp-hz = /bits/ 64 <2592000000>;
+ opp-microvolt = <952000>;
+ };
+ };
+
+ cluster_1_opp_table: opp-table1 {
+ compatible = "operating-points-v2";
+ opp-shared;
+
+ opp-2246400000 {
+ opp-hz = /bits/ 64 <2246400000>;
+ opp-microvolt = <952000>;
+ };
+ };
+
+ CPU0: cpu@0 {
+ device_type = "cpu";
+ compatible = "arm,armv8";
+ reg = <0x0 0x0>;
+ capacity-dmips-mhz = <1024>;
+ dynamic-power-coefficient = <100>;
+ operating-points-v2 = <&cluster_0_opp_table>;
+ };
+
+ CPU1: cpu@1 {
+ device_type = "cpu";
+ compatible = "arm,armv8";
+ reg = <0x0 0x1>;
+ capacity-dmips-mhz = <1024>;
+ dynamic-power-coefficient = <100>;
+ operating-points-v2 = <&cluster_0_opp_table>;
+ };
+
+ CPU2: cpu@2 {
+ device_type = "cpu";
+ compatible = "arm,armv8";
+ reg = <0x0 0x2>;
+ capacity-dmips-mhz = <1024>;
+ dynamic-power-coefficient = <100>;
+ operating-points-v2 = <&cluster_0_opp_table>;
+ };
+
+ CPU3: cpu@3 {
+ device_type = "cpu";
+ compatible = "arm,armv8";
+ reg = <0x0 0x3>;
+ capacity-dmips-mhz = <1024>;
+ dynamic-power-coefficient = <100>;
+ operating-points-v2 = <&cluster_0_opp_table>;
+ };
+
+ CPU4: cpu@4 {
+ device_type = "cpu";
+ compatible = "arm,armv8";
+ reg = <0x0 0x4>;
+ capacity-dmips-mhz = <943>;
+ dynamic-power-coefficient = <100>;
+ operating-points-v2 = <&cluster_1_opp_table>;
+ };
+
+ CPU5: cpu@5 {
+ device_type = "cpu";
+ compatible = "arm,armv8";
+ reg = <0x0 0x5>;
+ capacity-dmips-mhz = <943>;
+ dynamic-power-coefficient = <100>;
+ operating-points-v2 = <&cluster_1_opp_table>;
+ };
+
+ CPU6: cpu@6 {
+ device_type = "cpu";
+ compatible = "arm,armv8";
+ reg = <0x0 0x6>;
+ capacity-dmips-mhz = <943>;
+ dynamic-power-coefficient = <100>;
+ operating-points-v2 = <&cluster_1_opp_table>;
+ };
+
+ CPU7: cpu@7 {
+ device_type = "cpu";
+ compatible = "arm,armv8";
+ reg = <0x0 0x7>;
+ capacity-dmips-mhz = <943>;
+ dynamic-power-coefficient = <100>;
+ operating-points-v2 = <&cluster_1_opp_table>;
+ };
+
+ cpu-map {
+ cluster0 {
+ core0 {
+ cpu = <&CPU0>;
+ };
+
+ core1 {
+ cpu = <&CPU1>;
+ };
+
+ core2 {
+ cpu = <&CPU2>;
+ };
+
+ core3 {
+ cpu = <&CPU3>;
+ };
+ };
+
+ cluster1 {
+ core0 {
+ cpu = <&CPU4>;
+ };
+
+ core1 {
+ cpu = <&CPU5>;
+ };
+
+ core2 {
+ cpu = <&CPU6>;
+ };
+
+ core3 {
+ cpu = <&CPU7>;
+ };
+ };
+ };
+ };
};
&firmware {
@@ -23,6 +158,34 @@
};
&soc {
+ /* Rome 3.3V supply */
+ vreg_wlan: vreg_wlan {
+ compatible = "qcom,stub-regulator";
+ regulator-name = "vreg_wlan";
+ };
+
+ /* PWR_CTR2_VDD_1P8 supply */
+ vreg_conn_1p8: vreg_conn_1p8 {
+ compatible = "regulator-fixed";
+ regulator-name = "vreg_conn_1p8";
+ pinctrl-names = "default";
+ pinctrl-0 = <&conn_power_1p8_active>;
+ startup-delay-us = <4000>;
+ enable-active-high;
+ gpio = <&tlmm 128 0>;
+ };
+
+ /* PWR_CTR1_VDD_PA supply */
+ vreg_conn_pa: vreg_conn_pa {
+ compatible = "regulator-fixed";
+ regulator-name = "vreg_conn_pa";
+ pinctrl-names = "default";
+ pinctrl-0 = <&conn_power_pa_active>;
+ startup-delay-us = <4000>;
+ enable-active-high;
+ gpio = <&tlmm 129 0>;
+ };
+
apps_smmu: apps-smmu@15000000 {
compatible = "qcom,qsmmu-v500";
reg = <0x15000000 0x100000>,
@@ -310,26 +473,15 @@
#clock-cells = <0>;
};
- /* PWR_CTR2_VDD_1P8 supply */
- vreg_conn_1p8: vreg_conn_1p8 {
+ /* PWR_CTR1_VDD_PA supply for wlan2 */
+ vreg_conn_pa2: vreg_conn_pa2 {
compatible = "regulator-fixed";
- regulator-name = "vreg_conn_1p8";
+ regulator-name = "vreg_conn_pa2";
pinctrl-names = "default";
- pinctrl-0 = <&conn_power_1p8_active>;
+ pinctrl-0 = <&conn_power_pa_active2>;
startup-delay-us = <4000>;
enable-active-high;
- gpio = <&tlmm 128 0>;
- };
-
- /* PWR_CTR1_VDD_PA supply */
- vreg_conn_pa: vreg_conn_pa {
- compatible = "regulator-fixed";
- regulator-name = "vreg_conn_pa";
- pinctrl-names = "default";
- pinctrl-0 = <&conn_power_pa_active>;
- startup-delay-us = <4000>;
- enable-active-high;
- gpio = <&tlmm 129 0>;
+ gpio = <&tlmm 216 0>;
};
};
@@ -442,6 +594,11 @@
};
&soc {
+ virt_smmuv3: qcom,virt-smmuv3 {
+ #iommu-cells = <1>;
+ compatible = "arm,virt-smmu-v3";
+ };
+
tcsr_compute_signal_glb: syscon@0x1fd8000 {
compatible = "syscon";
reg = <0x1fd8000 0x1000>;
@@ -506,9 +663,9 @@
#include "pm8540-vm.dtsi"
#include "direwolf-pinctrl.dtsi"
#include "direwolf-vm-pcie.dtsi"
-#include "direwolf-qupv3.dtsi"
+#include "direwolf-vm-qupv3.dtsi"
#include "direwolf-vm-usb.dtsi"
-
+#include "direwolf-vm-ufs.dtsi"
&qupv3_0 {
qcom,iommu-dma = "bypass";
};