[PATCH 1/2] arm64: dts: marvell: puzzle-m801: add board specific compatible

Subsystems: arm/marvell kirkwood and armada 370, 375, 38x, 39x, xp, 3700, 7k/8k, cn9130 soc support, the rest

DORMANTno replies

2 messages, 1 author, 2021-09-28 · open the first message on its own page

[PATCH 1/2] arm64: dts: marvell: puzzle-m801: add board specific compatible

From: Robert Marko <robert.marko@sartura.hr>
Date: 2021-09-28 11:01:07

Currently, the Puzzle M801 board has no compatible specified for it
and just uses the generic Armada ones.
This prevents projects like OpenWrt that depend on using the compatible
on DT aware systems to actually identify the board for configuration.

So, add the vendor and board specific compatible like its common practice
with other boards.

Signed-off-by: Robert Marko <robert.marko@sartura.hr>
---
 arch/arm64/boot/dts/marvell/armada-8040-puzzle-m801.dts | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/marvell/armada-8040-puzzle-m801.dts b/arch/arm64/boot/dts/marvell/armada-8040-puzzle-m801.dts
index dac85fa748de..a6126e4c7fbd 100644
--- a/arch/arm64/boot/dts/marvell/armada-8040-puzzle-m801.dts
+++ b/arch/arm64/boot/dts/marvell/armada-8040-puzzle-m801.dts
@@ -13,7 +13,8 @@
 
 / {
 	model = "IEI-Puzzle-M801";
-	compatible = "marvell,armada8040", "marvell,armada-ap806-quad", "marvell,armada-ap806";
+	compatible = "iei,puzzle-m801", "marvell,armada8040",
+		     "marvell,armada-ap806-quad", "marvell,armada-ap806";
 
 	aliases {
 		ethernet0 = &cp0_eth0;
-- 
2.31.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

[PATCH 2/2] arm64: dts: marvell: puzzle-m801: update model name

From: Robert Marko <robert.marko@sartura.hr>
Date: 2021-09-28 11:01:05

Update the model name to match the vendor advertised one.

Signed-off-by: Robert Marko <robert.marko@sartura.hr>
---
 arch/arm64/boot/dts/marvell/armada-8040-puzzle-m801.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/boot/dts/marvell/armada-8040-puzzle-m801.dts b/arch/arm64/boot/dts/marvell/armada-8040-puzzle-m801.dts
index a6126e4c7fbd..24431ec6a0dc 100644
--- a/arch/arm64/boot/dts/marvell/armada-8040-puzzle-m801.dts
+++ b/arch/arm64/boot/dts/marvell/armada-8040-puzzle-m801.dts
@@ -3,7 +3,7 @@
  * Copyright (C) 2016 Marvell Technology Group Ltd.
  * Copyright (C) 2020 Sartura Ltd.
  *
- * Device Tree file for IEI Puzzle-M801
+ * Device Tree file for iEi Puzzle-M801
  */
 
 #include "armada-8040.dtsi"
@@ -12,7 +12,7 @@
 #include <dt-bindings/leds/common.h>
 
 / {
-	model = "IEI-Puzzle-M801";
+	model = "iEi Puzzle-M801";
 	compatible = "iei,puzzle-m801", "marvell,armada8040",
 		     "marvell,armada-ap806-quad", "marvell,armada-ap806";
 
-- 
2.31.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help