All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] MIPS:DTS:Correct device id of pcie for Loongnon-2K
@ 2021-04-28 12:06 Xiaochuan Mao
  2021-04-29  1:45 ` Jiaxun Yang
  2021-05-11 20:41 ` Thomas Bogendoerfer
  0 siblings, 2 replies; 3+ messages in thread
From: Xiaochuan Mao @ 2021-04-28 12:06 UTC (permalink / raw)
  To: Rob Herring, Thomas Bogendoerfer, Jiaxun Yang, Qing Zhang
  Cc: devicetree, linux-mips, linux-kernel, 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>
---
v1:
revert class code
---
 .../boot/dts/loongson/loongson64-2k1000.dtsi     | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

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";
 
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH v2] MIPS:DTS:Correct device id of pcie for Loongnon-2K
  2021-04-28 12:06 [PATCH v2] MIPS:DTS:Correct device id of pcie for Loongnon-2K Xiaochuan Mao
@ 2021-04-29  1:45 ` Jiaxun Yang
  2021-05-11 20:41 ` Thomas Bogendoerfer
  1 sibling, 0 replies; 3+ messages in thread
From: Jiaxun Yang @ 2021-04-29  1:45 UTC (permalink / raw)
  To: Xiaochuan Mao, Rob Herring, Thomas Bogendoerfer, Qing Zhang
  Cc: devicetree, linux-mips, linux-kernel


在 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 ++++++++--------
[...]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v2] MIPS:DTS:Correct device id of pcie for Loongnon-2K
  2021-04-28 12:06 [PATCH v2] MIPS:DTS:Correct device id of pcie for Loongnon-2K Xiaochuan Mao
  2021-04-29  1:45 ` Jiaxun Yang
@ 2021-05-11 20:41 ` Thomas Bogendoerfer
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Bogendoerfer @ 2021-05-11 20:41 UTC (permalink / raw)
  To: Xiaochuan Mao
  Cc: Rob Herring, Jiaxun Yang, Qing Zhang, devicetree, linux-mips,
	linux-kernel

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.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-05-11 20:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-28 12:06 [PATCH v2] MIPS:DTS:Correct device id of pcie for Loongnon-2K Xiaochuan Mao
2021-04-29  1:45 ` Jiaxun Yang
2021-05-11 20:41 ` Thomas Bogendoerfer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.