| #include <dt-bindings/interconnect/qcom,waipio.h> |
| |
| &wlan { |
| status = "disabled"; |
| }; |
| |
| &soc { |
| wlan_kiwi: qcom,cnss-kiwi@b0000000 { |
| compatible = "qcom,cnss-kiwi"; |
| reg = <0xb0000000 0x10000>; |
| reg-names = "smmu_iova_ipa"; |
| wlan-en-gpio = <&tlmm 80 0>; |
| pinctrl-names = "wlan_en_active", "wlan_en_sleep"; |
| pinctrl-0 = <&cnss_wlan_en_active>; |
| pinctrl-1 = <&cnss_wlan_en_sleep>; |
| qcom,wlan; |
| qcom,wlan-rc-num = <1>; |
| qcom,wlan-ramdump-dynamic = <0x780000>; |
| qcom,wlan-cbc-enabled; |
| use-pm-domain; |
| qcom,same-dt-multi-dev; |
| mboxes = <&qmp_aop 0>; |
| |
| vdd-wlan-io-supply = <&S10B>; |
| qcom,vdd-wlan-io-config = <1800000 1800000 0 0 0>; |
| vdd-wlan-supply = <&S3E>; |
| qcom,vdd-wlan-config = <1000000 1000000 0 0 0>; |
| vdd-wlan-aon-supply = <&S2E>; |
| qcom,vdd-wlan-aon-config = <980000 980000 0 0 0>; |
| vdd-wlan-dig-supply = <&S11B>; |
| qcom,vdd-wlan-dig-config = <950000 950000 0 0 0>; |
| vdd-wlan-rfa1-supply = <&S1C>; |
| qcom,vdd-wlan-rfa1-config = <1900000 1900000 0 0 0>; |
| vdd-wlan-rfa2-supply = <&S12B>; |
| qcom,vdd-wlan-rfa2-config = <1350000 1350000 0 0 0>; |
| |
| interconnects = |
| <&pcie_noc MASTER_PCIE_1 &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 390000>, |
| /* low: 18-60 Mbps snoc/anoc: 100 Mhz */ |
| <7500 390000>, |
| /* medium: 60-240 Mbps snoc/anoc: 200 Mhz */ |
| <30000 790000>, |
| /* high: 240-1080 Mbps snoc/anoc: 200 Mhz */ |
| <100000 790000>, |
| /* very high: > 1080 Mbps snoc/anoc: 403 Mhz */ |
| <175000 1600000>, |
| /* ultra high: DBS mode snoc/anoc: 403 Mhz */ |
| <175000 6448000>, |
| /* super high: DBS mode snoc/anoc: 533 Mhz */ |
| <175000 8528000>, |
| /* low (latency critical): 18-60 Mbps snoc/anoc: 200 Mhz */ |
| <7500 390000>, |
| |
| /** ICC Path 2 **/ |
| <0 0>, |
| /* idle: 0-18 Mbps ddr: 451.2 MHz */ |
| <2250 1804800>, |
| /* low: 18-60 Mbps ddr: 451.2 MHz */ |
| <7500 1804800>, |
| /* medium: 60-240 Mbps ddr: 451.2 MHz */ |
| <30000 1804800>, |
| /* high: 240-1080 Mbps ddr: 451.2 MHz */ |
| <100000 1804800>, |
| /* very high: > 1080 Mbps ddr: 451.2 MHz */ |
| <175000 6220800>, |
| /* ultra high: DBS mode ddr: 2092 MHz */ |
| <175000 8368000>, |
| /* super high: DBS mode ddr: 3.2GHz */ |
| <175000 12800000>, |
| /* low (latency critical): 18-60 Mbps ddr: 547.2 MHz */ |
| <7500 2188800>; |
| }; |
| }; |
| |
| &pcie1_rp { |
| #address-cells = <5>; |
| #size-cells = <0>; |
| |
| cnss_pci1: cnss_pci1 { |
| reg = <0 0 0 0 0>; |
| qcom,iommu-group = <&cnss_pci_iommu_group1>; |
| memory-region = <&cnss_wlan_mem>; |
| |
| #address-cells = <1>; |
| #size-cells = <1>; |
| |
| cnss_pci_iommu_group1: cnss_pci_iommu_group1 { |
| qcom,iommu-msi-size = <0x1000>; |
| qcom,iommu-dma-addr-pool = <0xa0000000 0x10000000>; |
| qcom,iommu-dma = "fastmap"; |
| qcom,iommu-pagetable = "coherent"; |
| qcom,iommu-faults = "stall-disable", "HUPCF", "no-CFRE", |
| "non-fatal"; |
| }; |
| }; |
| }; |