[PATCH 2/2] arm64: dts: qcom: sc7280: Add PCIe device-id

Sushrut Shree Trivedi posted 2 patches 4 days, 6 hours ago
[PATCH 2/2] arm64: dts: qcom: sc7280: Add PCIe device-id
Posted by Sushrut Shree Trivedi 4 days, 6 hours ago
HW doesn't program the correct device-id, causing misidentification
of the controller in lspci as SM8250.

So, add correct device-id for this target.

Signed-off-by: Sushrut Shree Trivedi <sushrut.trivedi@oss.qualcomm.com>
---
 arch/arm64/boot/dts/qcom/sc7280.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi
index 4b04dea57ec8..797b19e40467 100644
--- a/arch/arm64/boot/dts/qcom/sc7280.dtsi
+++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi
@@ -2211,6 +2211,7 @@ pcie0: pcie@1c00000 {
 			      <0 0x01c03000 0 0x1000>;
 			reg-names = "parf", "dbi", "elbi", "atu", "config", "mhi";
 			device_type = "pci";
+			device-id = <0x012f>;
 			linux,pci-domain = <0>;
 			bus-range = <0x00 0xff>;
 			num-lanes = <1>;
@@ -2340,6 +2341,7 @@ pcie1: pcie@1c08000 {
 
 			reg-names = "parf", "dbi", "elbi", "atu", "config";
 			device_type = "pci";
+			device-id = <0x012f>;
 			linux,pci-domain = <1>;
 			bus-range = <0x00 0xff>;
 			num-lanes = <2>;

-- 
2.25.1