diff mbox series

[v2] MIPS:DTS:Correct device id of pcie for Loongnon-2K

Message ID 20210428120628.21041-1-maoxiaochuan@loongson.cn (mailing list archive)
State Accepted
Commit 9fa996c5f003beae0d8ca323caf06a2b73e471ec
Headers show
Series [v2] MIPS:DTS:Correct device id of pcie for Loongnon-2K | expand

Commit Message

Xiaochuan Mao April 28, 2021, 12:06 p.m. UTC
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>
---
v1:
revert class code
---
 .../boot/dts/loongson/loongson64-2k1000.dtsi     | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

Comments

Jiaxun Yang April 29, 2021, 1:45 a.m. UTC | #1
在 2021/4/28 20:06, Xiaochuan Mao 写道:
> 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>

> ---
> v1:
> revert class code
> ---
>   .../boot/dts/loongson/loongson64-2k1000.dtsi     | 16 ++++++++--------
[...]
Thomas Bogendoerfer May 11, 2021, 8:41 p.m. UTC | #2
On Wed, Apr 28, 2021 at 08:06:28PM +0800, Xiaochuan Mao wrote:
> 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>
> ---
> v1:
> revert class code
> ---
>  .../boot/dts/loongson/loongson64-2k1000.dtsi     | 16 ++++++++--------
>  1 file changed, 8 insertions(+), 8 deletions(-)

applied to mips-next.

Thomas.
diff mbox series

Patch

diff --git a/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi b/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi
index 569e814def83..912dcad361ef 100644
--- a/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi
+++ b/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi
@@ -163,8 +163,8 @@ 
 			};
 
 			pci_bridge@a,0 {
-				compatible = "pci0014,7a19.0",
-						   "pci0014,7a19",
+				compatible = "pci0014,7a09.0",
+						   "pci0014,7a09",
 						   "pciclass060400",
 						   "pciclass0604";
 
@@ -178,8 +178,8 @@ 
 			};
 
 			pci_bridge@b,0 {
-				compatible = "pci0014,7a19.0",
-						   "pci0014,7a19",
+				compatible = "pci0014,7a09.0",
+						   "pci0014,7a09",
 						   "pciclass060400",
 						   "pciclass0604";
 
@@ -193,8 +193,8 @@ 
 			};
 
 			pci_bridge@c,0 {
-				compatible = "pci0014,7a19.0",
-						   "pci0014,7a19",
+				compatible = "pci0014,7a09.0",
+						   "pci0014,7a09",
 						   "pciclass060400",
 						   "pciclass0604";
 
@@ -223,8 +223,8 @@ 
 			};
 
 			pci_bridge@e,0 {
-				compatible = "pci0014,7a19.0",
-						   "pci0014,7a19",
+				compatible = "pci0014,7a09.0",
+						   "pci0014,7a09",
 						   "pciclass060400",
 						   "pciclass0604";