ARM: dts: msm: Add device_type in PCIe nodes for sdxkova

If device_type is not present in PCIe nodes in device tree, flags parsed
from ranges property are seen to be invalid and following errors are
seen. To resolve this add device_type as PCI in all 3 PCIe nodes for
sdxkova.

Error logs before the fix:
pci-msm 1bf0000.qcom,pcie:      err 0x0048200000..0x00482fffff ->
0x0048200000
pci-msm 1bf0000.qcom,pcie:      err 0x0048300000..0x004bffffff ->
0x0048300000

Success logs after the fix:
pci-msm 1bf0000.qcom,pcie:      IO 0x0048200000..0x00482fffff ->
0x0048200000
pci-msm 1bf0000.qcom,pcie:      MEM 0x0048300000..0x004bffffff ->
0x0048300000.

Change-Id: Ib5e8e8b536a6e006ca267020e6ed13aeb9ba9db1
Signed-off-by: Sai Chaitanya Kaveti <quic_skaveti@quicinc.com>
This commit is contained in:
Sai Chaitanya Kaveti
2024-10-29 15:43:57 +05:30
parent 9f9ced2e3c
commit 2309da4817

View File

@@ -8,6 +8,7 @@
&soc { &soc {
pcie0: qcom,pcie@1bf0000 { pcie0: qcom,pcie@1bf0000 {
compatible = "qcom,pci-msm"; compatible = "qcom,pci-msm";
device_type = "pci";
reg = <0x0 0x01bf0000 0x0 0x4000>, reg = <0x0 0x01bf0000 0x0 0x4000>,
<0x0 0x01bf7000 0x0 0x2000>, <0x0 0x01bf7000 0x0 0x2000>,
@@ -330,6 +331,7 @@
pcie1: qcom,pcie@1c08000 { pcie1: qcom,pcie@1c08000 {
compatible = "qcom,pci-msm"; compatible = "qcom,pci-msm";
device_type = "pci";
reg = <0x0 0x01c08000 0x0 0x4000>, reg = <0x0 0x01c08000 0x0 0x4000>,
<0x0 0x01c0e000 0x0 0x2000>, <0x0 0x01c0e000 0x0 0x2000>,
@@ -592,6 +594,7 @@
pcie2: qcom,pcie@1c10000 { pcie2: qcom,pcie@1c10000 {
compatible = "qcom,pci-msm"; compatible = "qcom,pci-msm";
device_type = "pci";
reg = <0x0 0x01c10000 0x0 0x4000>, reg = <0x0 0x01c10000 0x0 0x4000>,
<0x0 0x1c16000 0x0 0x2000>, <0x0 0x1c16000 0x0 0x2000>,