[PATCH 2/5] dt-bindings: arm: econet: Add binding for EN7523 SoC and EVB

From: Bert Vermeulen
Date: Fri Jul 30 2021 - 09:54:02 EST


From: John Crispin <john@xxxxxxxxxxx>

Add devicetree binding for Econet EN7523 SoC and evaluation board.

Signed-off-by: John Crispin <john@xxxxxxxxxxx>
Signed-off-by: Bert Vermeulen <bert@xxxxxxxx>
---
.../devicetree/bindings/arm/econet.yaml | 27 +++++++++++++++++++
1 file changed, 27 insertions(+)
create mode 100644 Documentation/devicetree/bindings/arm/econet.yaml

diff --git a/Documentation/devicetree/bindings/arm/econet.yaml b/Documentation/devicetree/bindings/arm/econet.yaml
new file mode 100644
index 000000000000..39128f959fef
--- /dev/null
+++ b/Documentation/devicetree/bindings/arm/econet.yaml
@@ -0,0 +1,27 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/arm/econet.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: EcoNet SoC based Platforms Device Tree Bindings
+
+maintainers:
+ - Felix Fietkau <nbd@xxxxxxxx>
+ - John Crispin <john@xxxxxxxxxxx>
+description: |
+ Boards with an EcoNet SoC shall have the following properties.
+
+properties:
+ $nodename:
+ const: '/'
+ compatible:
+ oneOf:
+ - items:
+ - enum:
+ - econet,en7523-evb
+ - const: econet,en7523
+
+additionalProperties: true
+
+...
--
2.25.1