MIPS:DTS:Correct device id of pcie for Loongnon-2K
authorXiaochuan Mao <maoxiaochuan@loongson.cn>
Wed, 28 Apr 2021 12:06:28 +0000 (20:06 +0800)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Tue, 11 May 2021 20:21:50 +0000 (22:21 +0200)
from Loongson-2K user manual know that Loongson-2K have two
pcie controller pcie0 and pcie1, pcie0 have four port named port0~port3
and pcie1 have 2 port named port0~port1. the device id of port0 is 7a19
in each pcie controller and others are 7a09.

Signed-off-by: Xiaochuan Mao <maoxiaochuan@loongson.cn>
Reviewed-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi

index 569e814..912dcad 100644 (file)
                        };
 
                        pci_bridge@a,0 {
-                               compatible = "pci0014,7a19.0",
-                                                  "pci0014,7a19",
+                               compatible = "pci0014,7a09.0",
+                                                  "pci0014,7a09",
                                                   "pciclass060400",
                                                   "pciclass0604";
 
                        };
 
                        pci_bridge@b,0 {
-                               compatible = "pci0014,7a19.0",
-                                                  "pci0014,7a19",
+                               compatible = "pci0014,7a09.0",
+                                                  "pci0014,7a09",
                                                   "pciclass060400",
                                                   "pciclass0604";
 
                        };
 
                        pci_bridge@c,0 {
-                               compatible = "pci0014,7a19.0",
-                                                  "pci0014,7a19",
+                               compatible = "pci0014,7a09.0",
+                                                  "pci0014,7a09",
                                                   "pciclass060400",
                                                   "pciclass0604";
 
                        };
 
                        pci_bridge@e,0 {
-                               compatible = "pci0014,7a19.0",
-                                                  "pci0014,7a19",
+                               compatible = "pci0014,7a09.0",
+                                                  "pci0014,7a09",
                                                   "pciclass060400",
                                                   "pciclass0604";