linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 1/3] dt-bindings: ls2k1000: add gpu device node
@ 2021-12-01 11:35 Sui Jingfeng
  2021-12-01 11:35 ` [PATCH v2 2/3] drm/etnaviv: add pci device driver support Sui Jingfeng
  2021-12-01 11:35 ` [PATCH v2 3/3] mips: loongson64: enable etnaviv drm driver on ls2k1000 and ls3a4000 Sui Jingfeng
  0 siblings, 2 replies; 4+ messages in thread
From: Sui Jingfeng @ 2021-12-01 11:35 UTC (permalink / raw)
  To: Lucas Stach, Russell King, Christian Gmeiner, David Airlie,
	Daniel Vetter, Rob Herring, Thomas Bogendoerfer,
	Krzysztof Kozlowski, Andrey Zhizhikin, Sam Ravnborg, Tiezhu Yang,
	Qing Zhang, Jinyang He, Jiaxun Yang, Xiaochuan Mao, zhaoxiao,
	suijingfeng
  Cc: linux-mips, linux-kernel, etnaviv, dri-devel, devicetree

From: suijingfeng <suijingfeng@loongson.cn>

There is a vivante gpu (GC1000 V5037) in ls2k1000,
but it is pci device not platform device.

ls2k1000 is dual-core mips64 cpu made by loongson.

Signed-off-by: suijingfeng <suijingfeng@loongson.cn>
Signed-off-by: Sui Jingfeng <15330273260@189.cn>
---
 arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi b/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi
index bfc3d3243ee7..f1feffac78a6 100644
--- a/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi
+++ b/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi
@@ -193,6 +193,17 @@
 				interrupt-parent = <&liointc0>;
 			};
 
+			gpu@5,0 {
+				compatible = "pci0014,7a05.0",
+						   "pci0014,7a05",
+						   "pciclass030200",
+						   "pciclass0302";
+
+				reg = <0x2800 0x0 0x0 0x0 0x0>;
+				interrupts = <29 IRQ_TYPE_LEVEL_LOW>;
+				interrupt-parent = <&liointc0>;
+			};
+
 			pci_bridge@9,0 {
 				compatible = "pci0014,7a19.0",
 						   "pci0014,7a19",
-- 
2.20.1


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

end of thread, other threads:[~2021-12-01 18:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-01 11:35 [PATCH v2 1/3] dt-bindings: ls2k1000: add gpu device node Sui Jingfeng
2021-12-01 11:35 ` [PATCH v2 2/3] drm/etnaviv: add pci device driver support Sui Jingfeng
2021-12-01 18:48   ` Lucas Stach
2021-12-01 11:35 ` [PATCH v2 3/3] mips: loongson64: enable etnaviv drm driver on ls2k1000 and ls3a4000 Sui Jingfeng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).