d1: add new target
[openwrt/staging/mans0n.git] / target / linux / d1 / patches-6.1 / 0027-dt-bindings-riscv-Add-Allwinner-D1-board-compatibles.patch
1 From 4d7c04f210dd401f3560a7f53c78d6e058d182e2 Mon Sep 17 00:00:00 2001
2 From: Samuel Holland <samuel@sholland.org>
3 Date: Wed, 29 Jun 2022 00:26:39 -0500
4 Subject: [PATCH 027/117] dt-bindings: riscv: Add Allwinner D1 board
5 compatibles
6
7 Several SoMs and boards are available that feature the Allwinner D1 SoC.
8 Document their compatible strings.
9
10 Acked-by: Rob Herring <robh@kernel.org>
11 Reviewed-by: Heiko Stuebner <heiko@sntech.de>
12 Tested-by: Heiko Stuebner <heiko@sntech.de>
13 Signed-off-by: Samuel Holland <samuel@sholland.org>
14 ---
15 .../devicetree/bindings/riscv/sunxi.yaml | 64 +++++++++++++++++++
16 1 file changed, 64 insertions(+)
17 create mode 100644 Documentation/devicetree/bindings/riscv/sunxi.yaml
18
19 --- /dev/null
20 +++ b/Documentation/devicetree/bindings/riscv/sunxi.yaml
21 @@ -0,0 +1,64 @@
22 +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
23 +%YAML 1.2
24 +---
25 +$id: http://devicetree.org/schemas/riscv/sunxi.yaml#
26 +$schema: http://devicetree.org/meta-schemas/core.yaml#
27 +
28 +title: Allwinner RISC-V SoC-based boards
29 +
30 +maintainers:
31 + - Chen-Yu Tsai <wens@csie.org>
32 + - Jernej Skrabec <jernej.skrabec@gmail.com>
33 + - Samuel Holland <samuel@sholland.org>
34 +
35 +description:
36 + Allwinner RISC-V SoC-based boards
37 +
38 +properties:
39 + $nodename:
40 + const: '/'
41 + compatible:
42 + oneOf:
43 + - description: Dongshan Nezha STU SoM
44 + items:
45 + - const: 100ask,dongshan-nezha-stu
46 + - const: allwinner,sun20i-d1
47 +
48 + - description: D1 Nezha board
49 + items:
50 + - const: allwinner,d1-nezha
51 + - const: allwinner,sun20i-d1
52 +
53 + - description: ClockworkPi R-01 SoM and v3.14 board
54 + items:
55 + - const: clockwork,r-01-clockworkpi-v3.14
56 + - const: allwinner,sun20i-d1
57 +
58 + - description: ClockworkPi R-01 SoM, v3.14 board, and DevTerm expansion
59 + items:
60 + - const: clockwork,r-01-devterm-v3.14
61 + - const: clockwork,r-01-clockworkpi-v3.14
62 + - const: allwinner,sun20i-d1
63 +
64 + - description: Lichee RV SoM
65 + items:
66 + - const: sipeed,lichee-rv
67 + - const: allwinner,sun20i-d1
68 +
69 + - description: Carrier boards for the Lichee RV SoM
70 + items:
71 + - enum:
72 + - sipeed,lichee-rv-86-panel-480p
73 + - sipeed,lichee-rv-86-panel-720p
74 + - sipeed,lichee-rv-dock
75 + - const: sipeed,lichee-rv
76 + - const: allwinner,sun20i-d1
77 +
78 + - description: MangoPi MQ Pro board
79 + items:
80 + - const: widora,mangopi-mq-pro
81 + - const: allwinner,sun20i-d1
82 +
83 +additionalProperties: true
84 +
85 +...