summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJisheng Zhang <jszhang@kernel.org>2023-06-18 00:15:24 +0800
committerConor Dooley <conor.dooley@microchip.com>2023-06-17 19:04:08 +0100
commit89b0186ab5325fa70852b42d7b0012bb2a1a4891 (patch)
tree1c42f1f15c745938ae1524cca1396b79b84accfc
parent413c24b03f4e50f7e8000079d51122e44d8a8f64 (diff)
downloadlinux-stable-89b0186ab5325fa70852b42d7b0012bb2a1a4891.tar.gz
linux-stable-89b0186ab5325fa70852b42d7b0012bb2a1a4891.tar.bz2
linux-stable-89b0186ab5325fa70852b42d7b0012bb2a1a4891.zip
dt-bindings: riscv: Add T-HEAD TH1520 board compatibles
Several SoMs and boards are available that feature the T-HEAD TH1520 SoC. Document the compatible strings. Signed-off-by: Jisheng Zhang <jszhang@kernel.org> Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
-rw-r--r--Documentation/devicetree/bindings/riscv/thead.yaml29
1 files changed, 29 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/riscv/thead.yaml b/Documentation/devicetree/bindings/riscv/thead.yaml
new file mode 100644
index 000000000000..e62f6821372e
--- /dev/null
+++ b/Documentation/devicetree/bindings/riscv/thead.yaml
@@ -0,0 +1,29 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/riscv/thead.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: T-HEAD SoC-based boards
+
+maintainers:
+ - Jisheng Zhang <jszhang@kernel.org>
+
+description:
+ T-HEAD SoC-based boards
+
+properties:
+ $nodename:
+ const: '/'
+ compatible:
+ oneOf:
+ - description: Sipeed Lichee Pi 4A board for the Sipeed Lichee Module 4A
+ items:
+ - enum:
+ - sipeed,lichee-pi-4a
+ - const: sipeed,lichee-module-4a
+ - const: thead,th1520
+
+additionalProperties: true
+
+...