[PATCH v7 5/7] MIPS: Loongson: ls2k1000: add the display controller device node
Sui Jingfeng
15330273260 at 189.cn
Sun Feb 13 14:16:47 UTC 2022
From: suijingfeng <suijingfeng at loongson.cn>
The display controller is a pci device, its PCI vendor id is 0x0014
its PCI device id is 0x7a06.
Signed-off-by: suijingfeng <suijingfeng at loongson.cn>
Signed-off-by: Sui Jingfeng <15330273260 at 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 768cf2abcea3..41ae3c984969 100644
--- a/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi
+++ b/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi
@@ -209,6 +209,17 @@ gpu at 5,0 {
interrupt-parent = <&liointc0>;
};
+ lsdc: dc at 6,0 {
+ compatible = "pci0014,7a06.0",
+ "pci0014,7a06",
+ "pciclass030000",
+ "pciclass0300";
+
+ reg = <0x3000 0x0 0x0 0x0 0x0>;
+ interrupts = <28 IRQ_TYPE_LEVEL_LOW>;
+ interrupt-parent = <&liointc0>;
+ };
+
pci_bridge at 9,0 {
compatible = "pci0014,7a19.0",
"pci0014,7a19",
--
2.25.1
More information about the dri-devel
mailing list