]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
MIPS: dts: loongson: drop incorrect dwmac fallback compatible
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 11 Dec 2023 10:33:54 +0000 (18:33 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Jan 2024 22:52:29 +0000 (14:52 -0800)
[ Upstream commit 4907a3f54b12b8209864572a312cf967befcae80 ]

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 <krzysztof.kozlowski@linaro.org>
Signed-off-by: Yanteng Si <siyanteng@loongson.cn>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Acked-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi
arch/mips/boot/dts/loongson/ls7a-pch.dtsi

index bfc3d3243ee7fded475be8bbd89e011b5e74f451..d73d8f4fd78e6035035fcb93b8d37140fe6af0a3 100644 (file)
                                compatible = "pci0014,7a03.0",
                                                   "pci0014,7a03",
                                                   "pciclass0c0320",
-                                                  "pciclass0c03",
-                                                  "loongson, pci-gmac";
+                                                  "pciclass0c03";
 
                                reg = <0x1800 0x0 0x0 0x0 0x0>;
                                interrupts = <12 IRQ_TYPE_LEVEL_LOW>,
index 2f45fce2cdc4a3cc4a7404679ced8a651a791e33..ed99ee316febb6944aac9344f816b4c3134959cb 100644 (file)
                                compatible = "pci0014,7a03.0",
                                                   "pci0014,7a03",
                                                   "pciclass020000",
-                                                  "pciclass0200",
-                                                  "loongson, pci-gmac";
+                                                  "pciclass0200";
 
                                reg = <0x1800 0x0 0x0 0x0 0x0>;
                                interrupts = <12 IRQ_TYPE_LEVEL_HIGH>,