aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2019-06-18 13:45:19 -0600
committerRob Herring <robh@kernel.org>2019-06-27 11:24:33 -0600
commit7eefa9047ea5f909761c6cec800be3be8d3f372f (patch)
treee877febf05bed8ffc793215ee47d7e2ddc66c5dc
parentdt-bindings: arm: Convert Axxia board/soc bindings to json-schema (diff)
downloadwireguard-linux-7eefa9047ea5f909761c6cec800be3be8d3f372f.tar.xz
wireguard-linux-7eefa9047ea5f909761c6cec800be3be8d3f372f.zip
dt-bindings: arm: Convert MOXA ART board/soc bindings to json-schema
Convert MOXA ART SoC bindings to DT schema format using json-schema. Cc: Jonas Jensen <jonas.jensen@gmail.com> Signed-off-by: Rob Herring <robh@kernel.org>
-rw-r--r--Documentation/devicetree/bindings/arm/moxart.txt12
-rw-r--r--Documentation/devicetree/bindings/arm/moxart.yaml19
2 files changed, 19 insertions, 12 deletions
diff --git a/Documentation/devicetree/bindings/arm/moxart.txt b/Documentation/devicetree/bindings/arm/moxart.txt
deleted file mode 100644
index 11087edb0658..000000000000
--- a/Documentation/devicetree/bindings/arm/moxart.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-MOXA ART device tree bindings
-
-Boards with the MOXA ART SoC shall have the following properties:
-
-Required root node property:
-
-compatible = "moxa,moxart";
-
-Boards:
-
-- UC-7112-LX: embedded computer
- compatible = "moxa,moxart-uc-7112-lx", "moxa,moxart"
diff --git a/Documentation/devicetree/bindings/arm/moxart.yaml b/Documentation/devicetree/bindings/arm/moxart.yaml
new file mode 100644
index 000000000000..c068df59fad2
--- /dev/null
+++ b/Documentation/devicetree/bindings/arm/moxart.yaml
@@ -0,0 +1,19 @@
+# SPDX-License-Identifier: GPL-2.0
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/arm/moxart.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: MOXA ART device tree bindings
+
+maintainers:
+ - Jonas Jensen <jonas.jensen@gmail.com>
+
+properties:
+ compatible:
+ description: UC-7112-LX embedded computer
+ items:
+ - const: moxa,moxart-uc-7112-lx
+ - const: moxa,moxart
+
+...