xref: /linux/Documentation/devicetree/bindings/i3c/snps,dw-i3c-master.yaml (revision 7a012a692e7cfbca245d195a80f23634d3d74fcc)
1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/i3c/snps,dw-i3c-master.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Synopsys DesignWare I3C master block
8
9maintainers:
10  - Alexandre Belloni <alexandre.belloni@bootlin.com>
11
12allOf:
13  - $ref: i3c.yaml#
14
15properties:
16  compatible:
17    const: snps,dw-i3c-master-1.00a
18
19  reg:
20    maxItems: 1
21
22  clocks:
23    minItems: 1
24    items:
25      - description: Core clock
26      - description: APB clock
27
28  clock-names:
29    minItems: 1
30    items:
31      - const: core
32      - const: apb
33
34  interrupts:
35    maxItems: 1
36
37  power-domains:
38    maxItems: 1
39
40required:
41  - compatible
42  - reg
43  - clocks
44  - interrupts
45
46unevaluatedProperties: false
47
48examples:
49  - |
50    i3c@2000 {
51        compatible = "snps,dw-i3c-master-1.00a";
52        #address-cells = <3>;
53        #size-cells = <0>;
54        reg = <0x02000 0x1000>;
55        interrupts = <0>;
56        clocks = <&i3cclk>;
57
58        eeprom@57{
59            compatible = "atmel,24c01";
60            reg = <0x57 0x0 0x10>;
61            pagesize = <0x8>;
62        };
63    };
64...
65