dt-bindings: riscv: add sophgo sg2042 bindings
authorChen Wang <unicorn_wang@outlook.com>
Wed, 4 Oct 2023 15:42:03 +0000 (23:42 +0800)
committerConor Dooley <conor.dooley@microchip.com>
Fri, 6 Oct 2023 13:36:53 +0000 (14:36 +0100)
Add DT binding documentation for the SOPHGO's SG2042 Soc [1] and the
Milk-V Pioneer board [2].

Link: https://en.sophgo.com/product/introduce/sg2042.html
Link: https://milkv.io/pioneer
Acked-by: Chao Wei <chao.wei@sophgo.com>
Reviewed-by: Guo Ren <guoren@kernel.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Documentation/devicetree/bindings/riscv/sophgo.yaml [new file with mode: 0644]
MAINTAINERS

diff --git a/Documentation/devicetree/bindings/riscv/sophgo.yaml b/Documentation/devicetree/bindings/riscv/sophgo.yaml
new file mode 100644 (file)
index 0000000..8adb5f3
--- /dev/null
@@ -0,0 +1,28 @@
+# 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,pioneer
+          - const: sophgo,sg2042
+
+additionalProperties: true
+
+...
index 90f13281d29708439ba448d26308109a3cfd747b..97cb8abcfeeee0ec75a9812e52e73b0773beb444 100644 (file)
@@ -20063,6 +20063,12 @@ F:     drivers/char/sonypi.c
 F:     drivers/platform/x86/sony-laptop.c
 F:     include/linux/sony-laptop.h
 
+SOPHGO DEVICETREES
+M:     Chao Wei <chao.wei@sophgo.com>
+M:     Chen Wang <unicorn_wang@outlook.com>
+S:     Maintained
+F:     Documentation/devicetree/bindings/riscv/sophgo.yaml
+
 SOUND
 M:     Jaroslav Kysela <perex@perex.cz>
 M:     Takashi Iwai <tiwai@suse.com>