From ba214bc999de47a21f21b9ecac433bd0a2a2607d Mon Sep 17 00:00:00 2001
From: Samuel Dolt <samuel.dolt@netmodule.com>
Date: Tue, 24 Jan 2023 15:24:00 +0100
Subject: [PATCH] cn913x: fix compatible node inside dts

---
 arch/arm64/boot/dts/marvell/cn9130-cex7.dts     | 2 ++
 arch/arm64/boot/dts/marvell/cn9130-cf-pro.dts   | 2 ++
 arch/arm64/boot/dts/marvell/cn9131-bldn-mbv.dts | 4 ++--
 3 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/marvell/cn9130-cex7.dts b/arch/arm64/boot/dts/marvell/cn9130-cex7.dts
index 9636dc01993c..2f684c91bd97 100644
--- a/arch/arm64/boot/dts/marvell/cn9130-cex7.dts
+++ b/arch/arm64/boot/dts/marvell/cn9130-cex7.dts
@@ -11,6 +11,8 @@
 
 / {
 	model = "SolidRun CN9130 based COM Express type 7";
+	compatible = "solidrun,cn9130-cex7", "marvell,cn9130",
+		"marvell,armada-ap807-quad", "marvell,armada-ap807";
 
 	chosen {
 		stdout-path = "serial0:115200n8";
diff --git a/arch/arm64/boot/dts/marvell/cn9130-cf-pro.dts b/arch/arm64/boot/dts/marvell/cn9130-cf-pro.dts
index 54068d75542a..5adb762141a7 100644
--- a/arch/arm64/boot/dts/marvell/cn9130-cf-pro.dts
+++ b/arch/arm64/boot/dts/marvell/cn9130-cf-pro.dts
@@ -12,6 +12,8 @@
 
 / {
 	model = "SolidRun CN9130 based SOM Clearfog Pro";
+	compatible = "solidrun,cn9130-cf-pro", "marvell,cn9130",
+		"marvell,armada-ap807-quad", "marvell,armada-ap807";
 
 	chosen {
 		stdout-path = "serial0:115200n8";
diff --git a/arch/arm64/boot/dts/marvell/cn9131-bldn-mbv.dts b/arch/arm64/boot/dts/marvell/cn9131-bldn-mbv.dts
index b0140000141c..43ef7e6cb92f 100644
--- a/arch/arm64/boot/dts/marvell/cn9131-bldn-mbv.dts
+++ b/arch/arm64/boot/dts/marvell/cn9131-bldn-mbv.dts
@@ -9,8 +9,8 @@
 
 / {
 	model = "CN9131 based BLDN MBV";
-	compatible = "marvell,cn9131", "marvell,cn9130",
-		     "marvell,armada-ap807-quad", "marvell,armada-ap807";
+	compatible = "solidrun,cn9131-bldn-mbv", "marvell,cn9131", "marvell,cn9130",
+		"marvell,armada-ap807-quad", "marvell,armada-ap807";
 
 	aliases {
 		gpio3 = &cp1_gpio1;
