mirror of
https://github.com/oplus-giulia-dev/android_kernel_oneplus_sm8650-devicetrees
synced 2025-11-05 15:26:47 +08:00
wlan: dts: autogvm: Add support for poipu-au
1) Add device tree files to support qc wlan configurations on autogvm with poipu-au; 2) Add device tree nodes to enable qca6390 chipset on autogvm with poipu-au. Change-Id: Idaf8604b8721ff0c7209a097049948a37749cbbc
This commit is contained in:
1
Kbuild
1
Kbuild
@@ -38,6 +38,7 @@ endif
|
|||||||
|
|
||||||
ifeq ($(CONFIG_QTI_QUIN_GVM),y)
|
ifeq ($(CONFIG_QTI_QUIN_GVM),y)
|
||||||
dtbo-y += sa8155p-vm-cnss.dtbo
|
dtbo-y += sa8155p-vm-cnss.dtbo
|
||||||
|
dtbo-y += sa8195p-vm-cnss.dtbo
|
||||||
endif
|
endif
|
||||||
|
|
||||||
always-y := $(dtb-y) $(dtbo-y)
|
always-y := $(dtb-y) $(dtbo-y)
|
||||||
|
|||||||
11
sa8195p-vm-cnss.dts
Normal file
11
sa8195p-vm-cnss.dts
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
/dts-v1/;
|
||||||
|
/plugin/;
|
||||||
|
|
||||||
|
#include "sa8195p-vm-cnss.dtsi"
|
||||||
|
|
||||||
|
/ {
|
||||||
|
model = "Qualcomm Technologies, Inc. SA8195 Single LA Guest Virtual Machine";
|
||||||
|
compatible = "qcom,sa8195p", "qcom,quinvm";
|
||||||
|
qcom,msm-id = <405 0x20000>;
|
||||||
|
qcom,board-id = <0x1000001 0>, <0 0x1000001>;
|
||||||
|
};
|
||||||
74
sa8195p-vm-cnss.dtsi
Normal file
74
sa8195p-vm-cnss.dtsi
Normal file
@@ -0,0 +1,74 @@
|
|||||||
|
&reserved_memory {
|
||||||
|
cnss_wlan_mem: cnss_wlan_region {
|
||||||
|
compatible = "shared-dma-pool";
|
||||||
|
alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
|
||||||
|
reusable;
|
||||||
|
alignment = <0x0 0x400000>;
|
||||||
|
size = <0x0 0x2000000>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&soc {
|
||||||
|
wlan: qcom,cnss-qca-converged {
|
||||||
|
compatible = "qcom,cnss-qca-converged";
|
||||||
|
qcom,wlan;
|
||||||
|
qcom,multi-wlan-exchg;
|
||||||
|
qcom,wlan-rc-num = <0>;
|
||||||
|
qcom,bus-type=<0>;
|
||||||
|
qcom,notify-modem-status;
|
||||||
|
qcom,wlan-cbc-enabled;
|
||||||
|
|
||||||
|
reg = <0xb0000000 0x10000>;
|
||||||
|
reg-names = "smmu_iova_ipa";
|
||||||
|
|
||||||
|
vdd-wlan-ctrl1-supply = <&vreg_conn_pa>;
|
||||||
|
vdd-wlan-ctrl2-supply = <&vreg_conn_1p8>;
|
||||||
|
vdd-wlan-supply = <&vreg_wlan>;
|
||||||
|
vdd-wlan-aon-supply = <&pm8195_1_s5>;
|
||||||
|
vdd-wlan-rfa1-supply = <&pm8195_1_s2>;
|
||||||
|
vdd-wlan-rfa2-supply = <&pm8195_2_s5>;
|
||||||
|
vdd-wlan-rfa3-supply = <&pm8195_2_l7>;
|
||||||
|
|
||||||
|
wlan_vregs = "vdd-wlan-ctrl1", "vdd-wlan-ctrl2";
|
||||||
|
qcom,vdd-wlan-ctrl1-config = <0 0 0 0 0>;
|
||||||
|
qcom,vdd-wlan-ctrl2-config = <0 0 0 0 0>;
|
||||||
|
wlan-en-gpio = <&tlmm 169 0>;
|
||||||
|
pinctrl-names = "wlan_en_active", "wlan_en_sleep";
|
||||||
|
pinctrl-0 = <&cnss_wlan_en_active>;
|
||||||
|
pinctrl-1 = <&cnss_wlan_en_sleep>;
|
||||||
|
|
||||||
|
chip_cfg@0 {
|
||||||
|
supported-ids = <0x1101>;
|
||||||
|
|
||||||
|
wlan_vregs = "vdd-wlan-aon", "vdd-wlan-rfa1",
|
||||||
|
"vdd-wlan-rfa2", "vdd-wlan-rfa3";
|
||||||
|
qcom,vdd-wlan-aon-config = <1000000 1000000 0 0 0>;
|
||||||
|
qcom,vdd-wlan-rfa1-config = <1370000 1370000 0 0 0>;
|
||||||
|
qcom,vdd-wlan-rfa2-config = <2040000 2040000 0 0 0>;
|
||||||
|
qcom,vdd-wlan-rfa3-config = <1900000 1900000 450000 0 0>;
|
||||||
|
|
||||||
|
qcom,wlan-ramdump-dynamic = <0x400000>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&pcie_rc0 {
|
||||||
|
#address-cells = <5>;
|
||||||
|
#size-cells = <0>;
|
||||||
|
cnss_pci: cnss_pci {
|
||||||
|
reg = <0 0 0 0 0>;
|
||||||
|
qcom,iommu-group = <&cnss_pci_iommu_group>;
|
||||||
|
memory-region = <&cnss_wlan_mem>;
|
||||||
|
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <1>;
|
||||||
|
|
||||||
|
cnss_pci_iommu_group: cnss_pci_iommu_group {
|
||||||
|
qcom,iommu-dma-addr-pool = <0xa0000000 0x10000000>;
|
||||||
|
qcom,iommu-dma = "fastmap";
|
||||||
|
qcom,iommu-pagetable = "coherent";
|
||||||
|
qcom,iommu-faults = "stall-disable", "no-CFRE", "HUPCF",
|
||||||
|
"non-fatal";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
Reference in New Issue
Block a user