Skip to content

Commit b8b0446

Browse files
miquelraynalalexandrebelloni
authored andcommitted
dt-bindings: i3c: Describe Silvaco master binding
Silvaco provide a dual-role I3C master. Description is rather simple: it needs a register mapping, three clocks and an interrupt. Signed-off-by: Miquel Raynal <[email protected]> Reviewed-by: Rob Herring <[email protected]> Signed-off-by: Alexandre Belloni <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 57f7c9f commit b8b0446

File tree

1 file changed

+60
-0
lines changed

1 file changed

+60
-0
lines changed
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/i3c/silvaco,i3c-master.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Silvaco I3C master
8+
9+
maintainers:
10+
- Conor Culhane <[email protected]>
11+
12+
allOf:
13+
- $ref: "i3c.yaml#"
14+
15+
properties:
16+
compatible:
17+
const: silvaco,i3c-master-v1
18+
19+
reg:
20+
maxItems: 1
21+
22+
interrupts:
23+
maxItems: 1
24+
25+
clocks:
26+
items:
27+
- description: system clock
28+
- description: bus clock
29+
- description: other (slower) events clock
30+
31+
clock-names:
32+
items:
33+
- const: pclk
34+
- const: fast_clk
35+
- const: slow_clk
36+
37+
resets:
38+
maxItems: 1
39+
40+
required:
41+
- compatible
42+
- reg
43+
- interrupts
44+
- clock-names
45+
- clocks
46+
47+
additionalProperties: true
48+
49+
examples:
50+
- |
51+
i3c-master@a0000000 {
52+
compatible = "silvaco,i3c-master";
53+
clocks = <&zynqmp_clk 71>, <&fclk>, <&sclk>;
54+
clock-names = "pclk", "fast_clk", "slow_clk";
55+
interrupt-parent = <&gic>;
56+
interrupts = <0 89 4>;
57+
reg = <0xa0000000 0x1000>;
58+
#address-cells = <3>;
59+
#size-cells = <0>;
60+
};

0 commit comments

Comments
 (0)