mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 15:49:17 -04:00
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:
parent
9582caf2df
commit
38707df4bf
3 changed files with 42 additions and 36 deletions
41
qcom/sdxlemur-mtp-cpe-hsp.dtsi
Normal file
41
qcom/sdxlemur-mtp-cpe-hsp.dtsi
Normal 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";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue