aboutsummaryrefslogtreecommitdiff
path: root/Bindings/riscv/sophgo.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'Bindings/riscv/sophgo.yaml')
-rw-r--r--Bindings/riscv/sophgo.yaml32
1 files changed, 32 insertions, 0 deletions
diff --git a/Bindings/riscv/sophgo.yaml b/Bindings/riscv/sophgo.yaml
new file mode 100644
index 00000000000..86748c5390b
--- /dev/null
+++ b/Bindings/riscv/sophgo.yaml
@@ -0,0 +1,32 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/riscv/sophgo.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Sophgo SoC-based boards
+
+maintainers:
+ - Chao Wei <chao.wei@sophgo.com>
+ - Chen Wang <unicorn_wang@outlook.com>
+
+description:
+ Sophgo SoC-based boards
+
+properties:
+ $nodename:
+ const: '/'
+ compatible:
+ oneOf:
+ - items:
+ - enum:
+ - milkv,duo
+ - const: sophgo,cv1800b
+ - items:
+ - enum:
+ - milkv,pioneer
+ - const: sophgo,sg2042
+
+additionalProperties: true
+
+...