Currently the WLAN SNOC voting is set based on PCIe SN4 BCM width as 16.The PCIe port width has been updated to 8 for tuna. Hence, this change will bring in the corresponding WLAN SNOC voting to support the new width. Also, update the DDR voting accordingly. CRs-Fixed: 3999629 Change-Id: Iff5b87616f1f340257096826906ca77bdba4ce29
191 lines
5.6 KiB
Plaintext
191 lines
5.6 KiB
Plaintext
// SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
/*
|
|
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
|
*/
|
|
|
|
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
|
#include <dt-bindings/interconnect/qcom,tuna.h>
|
|
|
|
&soc {
|
|
qcom,smp2p-wpss {
|
|
smp2p_wlan_1_in: qcom,smp2p-wlan-1-in {
|
|
qcom,entry-name = "wlan";
|
|
interrupt-controller;
|
|
#interrupt-cells = <2>;
|
|
};
|
|
|
|
smp2p_wlan_1_out: qcom,smp2p-wlan-1-out {
|
|
qcom,entry-name = "wlan";
|
|
#qcom,smem-state-cells = <1>;
|
|
};
|
|
|
|
smp2p_wlan_2_in: qcom,smp2p-wlan-2-in {
|
|
qcom,entry-name = "wlan_soc_wake";
|
|
interrupt-controller;
|
|
#interrupt-cells = <2>;
|
|
};
|
|
|
|
smp2p_wlan_2_out: qcom,smp2p-wlan-2-out {
|
|
qcom,entry-name = "wlan_soc_wake";
|
|
#qcom,smem-state-cells = <1>;
|
|
};
|
|
|
|
smp2p_wlan_3_out: qcom,smp2p-wlan-3-out {
|
|
qcom,entry-name = "wlan_ep_power_save";
|
|
#qcom,smem-state-cells = <1>;
|
|
};
|
|
};
|
|
|
|
icnss2_direct_link_iommu_group0: icnss2_direct_link_iommu_group0 {
|
|
qcom,iommu-dma-addr-pool = <0xb0000000 0x10000000>;
|
|
qcom,iommu-geometry = <0xb0000000 0x10010000>;
|
|
qcom,iommu-dma = "fastmap";
|
|
qcom,iommu-faults = "stall-disable", "HUPCF", "non-fatal";
|
|
};
|
|
|
|
icnss2: qcom,wcn7750 {
|
|
compatible = "qcom,wcn7750";
|
|
reg = <0x17110040 0x0>,
|
|
<0xc0000000 0x10000>;
|
|
reg-names = "msi_addr", "smmu_iova_ipa";
|
|
qcom,rproc-handle = <&wpss_pas>;
|
|
iommus = <&apps_smmu 0x1400 0x1>;
|
|
wlan-en-gpio =<35>;
|
|
host-sol-gpio =<132>;
|
|
dev-sol-gpio =<32>;
|
|
wlan-sw-ctrl-gpio =<80>;
|
|
interrupts = <GIC_SPI 768 IRQ_TYPE_EDGE_RISING>,
|
|
<GIC_SPI 769 IRQ_TYPE_EDGE_RISING>,
|
|
<GIC_SPI 770 IRQ_TYPE_EDGE_RISING>,
|
|
<GIC_SPI 771 IRQ_TYPE_EDGE_RISING>,
|
|
<GIC_SPI 772 IRQ_TYPE_EDGE_RISING>,
|
|
<GIC_SPI 773 IRQ_TYPE_EDGE_RISING>,
|
|
<GIC_SPI 774 IRQ_TYPE_EDGE_RISING>,
|
|
<GIC_SPI 775 IRQ_TYPE_EDGE_RISING>,
|
|
<GIC_SPI 776 IRQ_TYPE_EDGE_RISING>,
|
|
<GIC_SPI 777 IRQ_TYPE_EDGE_RISING>,
|
|
<GIC_SPI 778 IRQ_TYPE_EDGE_RISING>,
|
|
<GIC_SPI 779 IRQ_TYPE_EDGE_RISING>,
|
|
<GIC_SPI 780 IRQ_TYPE_EDGE_RISING>,
|
|
<GIC_SPI 781 IRQ_TYPE_EDGE_RISING>,
|
|
<GIC_SPI 782 IRQ_TYPE_EDGE_RISING>,
|
|
<GIC_SPI 783 IRQ_TYPE_EDGE_RISING>,
|
|
<GIC_SPI 784 IRQ_TYPE_EDGE_RISING>,
|
|
<GIC_SPI 785 IRQ_TYPE_EDGE_RISING>,
|
|
<GIC_SPI 786 IRQ_TYPE_EDGE_RISING>,
|
|
<GIC_SPI 787 IRQ_TYPE_EDGE_RISING>,
|
|
<GIC_SPI 788 IRQ_TYPE_EDGE_RISING>,
|
|
<GIC_SPI 789 IRQ_TYPE_EDGE_RISING>,
|
|
<GIC_SPI 790 IRQ_TYPE_EDGE_RISING>,
|
|
<GIC_SPI 791 IRQ_TYPE_EDGE_RISING>,
|
|
<GIC_SPI 792 IRQ_TYPE_EDGE_RISING>,
|
|
<GIC_SPI 793 IRQ_TYPE_EDGE_RISING>,
|
|
<GIC_SPI 794 IRQ_TYPE_EDGE_RISING>,
|
|
<GIC_SPI 795 IRQ_TYPE_EDGE_RISING>,
|
|
<GIC_SPI 796 IRQ_TYPE_EDGE_RISING>,
|
|
<GIC_SPI 797 IRQ_TYPE_EDGE_RISING>,
|
|
<GIC_SPI 798 IRQ_TYPE_EDGE_RISING>,
|
|
<GIC_SPI 799 IRQ_TYPE_EDGE_RISING>;
|
|
|
|
qcom,iommu-group = <&icnss2_direct_link_iommu_group0>;
|
|
dma-coherent;
|
|
qcom,fw-prefix;
|
|
qcom,wlan;
|
|
tsens = "sys-therm-3";
|
|
qcom,wlan-msa-fixed-region = <&wlan_msa_mem>;
|
|
|
|
vdd-cx-mx-supply = <&S3B>;
|
|
qcom,vdd-cx-mx-config = <880000 1040000 0 0 0>;
|
|
vdd-1.8-xo-supply = <&S1B>;
|
|
qcom,vdd-1.8-xo-config = <1856000 2104000 0 0 0>;
|
|
vdd-1.3-rfa-supply = <&S2B>;
|
|
qcom,vdd-1.3-rfa-config = <1256000 1408000 0 0 0>;
|
|
vdd-1.8-io-supply = <&L3G>;
|
|
qcom,vdd-1.8-io-config = <1800000 1800000 0 0 0>;
|
|
|
|
qcom,smem-states = <&smp2p_wlan_1_out 0>,
|
|
<&smp2p_wlan_2_out 0>,
|
|
<&smp2p_wlan_3_out 0>;
|
|
qcom,smem-state-names = "wlan-smp2p-out",
|
|
"wlan-soc-wake-smp2p-out",
|
|
"wlan-ep-powersave-smp2p-out";
|
|
|
|
qcom,qmp = <&aoss_qmp>;
|
|
qcom,vreg_ol_cpr ="s3b";
|
|
|
|
interconnects =
|
|
<&pcie_noc MASTER_PCIE_0 &pcie_noc SLAVE_ANOC_PCIE_GEM_NOC>,
|
|
<&gem_noc MASTER_ANOC_PCIE_GEM_NOC &mc_virt SLAVE_EBI1>;
|
|
interconnect-names = "pcie_to_memnoc", "memnoc_to_ddr";
|
|
|
|
qcom,icc-path-count = <2>;
|
|
qcom,bus-bw-cfg-count = <9>;
|
|
qcom,bus-bw-cfg =
|
|
/** ICC Path 1 **/
|
|
<0 0>, /* no vote */
|
|
/* idle: 0-18 Mbps snoc/anoc: 100 Mhz */
|
|
<2250 400000>,
|
|
/* low: 18-60 Mbps snoc/anoc: 100 Mhz */
|
|
<7500 400000>,
|
|
/* medium: 60-240 Mbps snoc/anoc: 100 Mhz */
|
|
<30000 400000>,
|
|
/* high: 240-1200 Mbps snoc/anoc: 100 Mhz */
|
|
<100000 400000>,
|
|
/* very high: > 1200 Mbps snoc/anoc: 403 Mhz */
|
|
<175000 1612000>,
|
|
/* ultra high: DBS mode snoc/anoc: 403 Mhz */
|
|
<312500 1612000>,
|
|
/* super high: DBS mode snoc/anoc: 533 Mhz */
|
|
<587500 2171000>,
|
|
/* low (latency critical): 18-60 Mbps snoc/anoc: 200 Mhz */
|
|
<7500 800000>,
|
|
|
|
/** ICC Path 2 **/
|
|
<0 0>,
|
|
/* idle: 0-18 Mbps ddr: 547 MHz */
|
|
<2250 2188800>,
|
|
/* low: 18-60 Mbps ddr: 547 MHz */
|
|
<7500 2188800>,
|
|
/* medium: 60-240 Mbps ddr: 547 MHz */
|
|
<30000 2188800>,
|
|
/* high: 240-1200 Mbps ddr: 547 MHz */
|
|
<100000 2188800>,
|
|
/* very high: > 1200 Mbps ddr: 1555 MHz */
|
|
<175000 6220800>,
|
|
/* ultra high: DBS mode ddr: 2092 MHz */
|
|
<312500 8371200>,
|
|
/* super high: DBS mode ddr: 3.2 GHz */
|
|
<587500 14745600>,
|
|
/* low (latency critical): 18-60 Mbps ddr: 547 MHz */
|
|
<7500 2188800>;
|
|
|
|
icnss_cdev_apss: qcom,icnss_cdev1 {
|
|
#cooling-cells = <2>;
|
|
};
|
|
|
|
icnss_cdev_wpss: qcom,icnss_cdev2 {
|
|
#cooling-cells = <2>;
|
|
};
|
|
|
|
qcom,smp2p_map_wlan_1_in {
|
|
interrupts-extended = <&smp2p_wlan_1_in 0 0>,
|
|
<&smp2p_wlan_1_in 1 0>;
|
|
interrupt-names = "qcom,smp2p-force-fatal-error",
|
|
"qcom,smp2p-early-crash-ind";
|
|
};
|
|
|
|
qcom,smp2p_map_wlan_2_in {
|
|
interrupts-extended = <&smp2p_wlan_2_in 0 0>;
|
|
interrupt-names = "qcom,smp2p-soc-wake-ack";
|
|
};
|
|
};
|
|
|
|
wlan_direct_link: qcom,icnss-direct-link {
|
|
compatible = "qcom,icnss-direct-link";
|
|
iommus = <&apps_smmu 0x100f 0x0>;
|
|
qcom,iommu-group = <&icnss2_direct_link_iommu_group0>;
|
|
dma-coherent;
|
|
};
|
|
};
|