Skip to contentSkip to conversation

dt-bindings: arm: marvell: Convert marvell,dove boards to DT schema

PATCH New Rob Herring (Arm) 1 participant 1 message Aug 5, 2025

Subsystems (3)
lore
Share & tools
lore

Rob Herring (Arm)

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: arm: marvell: Convert marvell,dove boards to DT schema

Convert Marvell Dove based boards to DT schema format.

---
 .../bindings/arm/marvell/marvell,dove.txt     |  7 ----
 .../bindings/arm/marvell/marvell,dove.yaml    | 35 +++++++++++++++++++
 MAINTAINERS                                   |  2 +-
 3 files changed, 36 insertions(+), 8 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/arm/marvell/marvell,dove.txt
 create mode 100644 Documentation/devicetree/bindings/arm/marvell/marvell,dove.yaml
Documentation/devicetree/bindings/arm/marvell/marvell,dove.txt deleted +0 -7
deleted file mode 100644
index e10e8525eabd..000000000000
@@ -1,7 +0,0 @@
-Marvell Dove Platforms Device Tree Bindings
------------------------------------------------
-
-Boards with a Marvell Dove SoC shall have the following properties:
-
-Required root node property:
-- compatible: must contain "marvell,dove";
Documentation/devicetree/bindings/arm/marvell/marvell,dove.yaml new file +35 -0
new file mode 100644
index 000000000000..a37804fb30c4
@@ -0,0 +1,35 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/arm/marvell/marvell,dove.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Marvell Dove SoC
+
+maintainers:
+  - Andrew Lunn <[email protected]>
+  - Gregory Clement <[email protected]>
+
+properties:
+  $nodename:
+    const: '/'
+  compatible:
+    oneOf:
+      - items:
+          - enum:
+              - compulab,cm-a510
+              - solidrun,cubox
+              - globalscale,d2plug
+              - globalscale,d3plug
+              - marvell,dove-db
+          - const: marvell,dove
+      - items:
+          - const: solidrun,cubox-es
+          - const: solidrun,cubox
+          - const: marvell,dove
+      - items:
+          - const: compulab,sbc-a510
+          - const: compulab,cm-a510
+          - const: marvell,dove
+
+additionalProperties: true
MAINTAINERS +1 -1
index 4912b8a83bbb..424d2a9cee49 100644
@@ -2831,7 +2831,7 @@ M:	Gregory Clement <[email protected]>
 L:	[email protected] (moderated for non-subscribers)
 S:	Maintained
 T:	git git://git.kernel.org/pub/scm/linux/kernel/git/gclement/mvebu.git
-F:	Documentation/devicetree/bindings/arm/marvell/marvell,dove.txt
+F:	Documentation/devicetree/bindings/arm/marvell/marvell,dove.yaml
 F:	Documentation/devicetree/bindings/arm/marvell/marvell,orion5x.txt
 F:	Documentation/devicetree/bindings/soc/dove/
 F:	arch/arm/boot/dts/marvell/dove*
Signature · 1 line
2.47.2