ARM: dts: qcom: Move all WLAN configs out of sdxlemur-mtp-cpe.dtsi

sdxlemur-mtp-cpe.dtsi is included in sdxlemur-mtp-cpe.dts as well as
sdxlemur-mtp-cpe-pine1x.dts. WLAN configs present in
sdxlemur-mtp-cpe.dtsi is not applicable for sdxlemur-mtp-cpe-pine1x.dts.

Move all WLAN specific configurations from sdxlemur-mtp-cpe.dtsi to a
new file sdxlemur-mtp-cpe-hsp.dtsi and include this file in
sdxlemur-mtp-cpe.dts only.

Change-Id: I245662cf6b23dcb3b5c5fc5ce2ac61783b801cdc
This commit is contained in:
Vignesh Viswanathan 2021-08-25 18:17:48 +05:30 • committed by Gerrit - the friendly Code Review server
commit 38707df4bf
3 changed files with 42 additions and 36 deletions

View file

@ -0,0 +1,41 @@
#include "sdxlemur-cnss.dtsi"
&pcie0 {
qcom,boot-option = <0x1>;
};
&pcie0_bus2_dev2_fn0 {
cnss_pci0: cnss_pci0 {
reg = <0 0 0 0 0>;
qcom,iommu-group = <&cnss_pci_iommu_group>;
memory-region = <&cnss_wlan_mem>;
#address-cells = <1>;
#size-cells = <1>;
};
};
&wlan {
mhi_events {
mhi_event@0 {
mhi,num-elements = <32>;
mhi,intmod = <0>;
mhi,msi = <1>;
mhi,priority = <0>;
mhi,brstmode = <2>;
mhi,data-type = <1>;
};
mhi_event@1 {
mhi,num-elements = <256>;
mhi,intmod = <0>;
mhi,msi = <2>;
mhi,priority = <1>;
mhi,brstmode = <2>;
};
mhi_event@2 {
status = "disabled";
};
};
};

View file

@ -2,6 +2,7 @@
#include "sdxlemur.dtsi"
#include "sdxlemur-mtp-cpe.dtsi"
#include "sdxlemur-mtp-cpe-hsp.dtsi"
#include "sdxlemur-1024mb-cpe.dtsi"
#include "sdxlemur-audio.dtsi"
#include "sdxlemur-mtp-audio-overlay.dtsi"

View file

@ -91,7 +91,6 @@
&pcie0 {
qcom,boot-option = <0x1>;
pcie-i2c-phandle = <&i2c_5>;
vreg-3p3-supply = <&aqr_vreg>;
@ -123,14 +122,6 @@
/* BDF 2.2.0 */
pcie0_bus2_dev2_fn0: pcie0_bus2_dev2_fn0 {
reg = <0x1000 0x0 0x0 0x0 0x0>;
cnss_pci0: cnss_pci0 {
reg = <0 0 0 0 0>;
qcom,iommu-group = <&cnss_pci_iommu_group>;
memory-region = <&cnss_wlan_mem>;
#address-cells = <1>;
#size-cells = <1>;
};
};
/* BDF 2.3.0 */
@ -182,30 +173,3 @@
};
};
};
#include "sdxlemur-cnss.dtsi"
&wlan {
mhi_events {
mhi_event@0 {
mhi,num-elements = <32>;
mhi,intmod = <0>;
mhi,msi = <1>;
mhi,priority = <0>;
mhi,brstmode = <2>;
mhi,data-type = <1>;
};
mhi_event@1 {
mhi,num-elements = <256>;
mhi,intmod = <0>;
mhi,msi = <2>;
mhi,priority = <1>;
mhi,brstmode = <2>;
};
mhi_event@2 {
status = "disabled";
};
};
};