Skip to content

Commit 64d81f6

Browse files
krzkgregkh
authored andcommitted
MIPS: dts: loongson: drop incorrect dwmac fallback compatible
[ Upstream commit 4907a3f ] Device binds to proper PCI ID (LOONGSON, 0x7a03), already listed in DTS, so checking for some other compatible does not make sense. It cannot be bound to unsupported platform. Drop useless, incorrect (space in between) and undocumented compatible. Signed-off-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Yanteng Si <[email protected]> Reviewed-by: Conor Dooley <[email protected]> Acked-by: Jiaxun Yang <[email protected]> Signed-off-by: David S. Miller <[email protected]> Signed-off-by: Sasha Levin <[email protected]>
1 parent 3f483a3 commit 64d81f6

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,7 @@
118118
compatible = "pci0014,7a03.0",
119119
"pci0014,7a03",
120120
"pciclass0c0320",
121-
"pciclass0c03",
122-
"loongson, pci-gmac";
121+
"pciclass0c03";
123122

124123
reg = <0x1800 0x0 0x0 0x0 0x0>;
125124
interrupts = <12 IRQ_TYPE_LEVEL_LOW>,

arch/mips/boot/dts/loongson/ls7a-pch.dtsi

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,7 @@
186186
compatible = "pci0014,7a03.0",
187187
"pci0014,7a03",
188188
"pciclass020000",
189-
"pciclass0200",
190-
"loongson, pci-gmac";
189+
"pciclass0200";
191190

192191
reg = <0x1800 0x0 0x0 0x0 0x0>;
193192
interrupts = <12 IRQ_TYPE_LEVEL_HIGH>,

0 commit comments

Comments
 (0)