1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/i3c/cdns,i3c-master.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Cadence I3C master block
8
9maintainers:
10  - Boris Brezillon <bbrezillon@kernel.org>
11
12allOf:
13  - $ref: i3c.yaml#
14
15properties:
16  compatible:
17    const: cdns,i3c-master
18
19  reg:
20    maxItems: 1
21
22  clocks:
23    maxItems: 2
24
25  clock-names:
26    items:
27      - const: pclk
28      - const: sysclk
29
30  interrupts:
31    maxItems: 1
32
33required:
34  - compatible
35  - reg
36  - clocks
37  - clock-names
38  - interrupts
39
40unevaluatedProperties: false
41
42examples:
43  - |
44    i3c-master@d040000 {
45        compatible = "cdns,i3c-master";
46        clocks = <&coreclock>, <&i3csysclock>;
47        clock-names = "pclk", "sysclk";
48        interrupts = <3 0>;
49        reg = <0x0d040000 0x1000>;
50        #address-cells = <3>;
51        #size-cells = <0>;
52        i2c-scl-hz = <100000>;
53
54        eeprom@57{
55            compatible = "atmel,24c01";
56            reg = <0x57 0x0 0x10>;
57            pagesize = <0x8>;
58        };
59    };
60...
61