Skip to content

Commit 3489c03

Browse files
yashshah7palmer-dabbelt
authored andcommitted
dt-bindings: riscv: Update YAML doc to support SiFive HiFive Unmatched board
Add new compatible strings to the YAML DT binding document to support SiFive's HiFive Unmatched board Signed-off-by: Yash Shah <yash.shah@sifive.com> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
1 parent 5798578 commit 3489c03

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

Documentation/devicetree/bindings/riscv/sifive.yaml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,18 @@ properties:
1717
$nodename:
1818
const: '/'
1919
compatible:
20-
items:
21-
- enum:
22-
- sifive,hifive-unleashed-a00
23-
- const: sifive,fu540-c000
24-
- const: sifive,fu540
20+
oneOf:
21+
- items:
22+
- enum:
23+
- sifive,hifive-unleashed-a00
24+
- const: sifive,fu540-c000
25+
- const: sifive,fu540
26+
27+
- items:
28+
- enum:
29+
- sifive,hifive-unmatched-a00
30+
- const: sifive,fu740-c000
31+
- const: sifive,fu740
2532

2633
additionalProperties: true
2734

0 commit comments

Comments
 (0)