From 2309da4817cadd61a74a58dff4ac9988f3992011 Mon Sep 17 00:00:00 2001 From: Sai Chaitanya Kaveti Date: Tue, 29 Oct 2024 15:43:57 +0530 Subject: [PATCH] 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 --- qcom/sdxkova-pcie.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qcom/sdxkova-pcie.dtsi b/qcom/sdxkova-pcie.dtsi index 48f93432..8d1a9c35 100644 --- a/qcom/sdxkova-pcie.dtsi +++ b/qcom/sdxkova-pcie.dtsi @@ -8,6 +8,7 @@ &soc { pcie0: qcom,pcie@1bf0000 { compatible = "qcom,pci-msm"; + device_type = "pci"; reg = <0x0 0x01bf0000 0x0 0x4000>, <0x0 0x01bf7000 0x0 0x2000>, @@ -330,6 +331,7 @@ pcie1: qcom,pcie@1c08000 { compatible = "qcom,pci-msm"; + device_type = "pci"; reg = <0x0 0x01c08000 0x0 0x4000>, <0x0 0x01c0e000 0x0 0x2000>, @@ -592,6 +594,7 @@ pcie2: qcom,pcie@1c10000 { compatible = "qcom,pci-msm"; + device_type = "pci"; reg = <0x0 0x01c10000 0x0 0x4000>, <0x0 0x1c16000 0x0 0x2000>,