Debian Codegraph @

Documentation/devicetree/bindings/i3c/cdns,i3c-master.yaml

raw
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
7 title: Cadence I3C master block
8
9 maintainers:
10 - Boris Brezillon <[email protected]>
11
12 allOf:
13 - $ref: i3c.yaml#
14
15 properties:
16 compatible:
17 oneOf:
18 - const: cdns,i3c-master
19 - items:
20 - enum:
21 - axiado,ax3000-i3c
22 - const: cdns,i3c-master
23
24 reg:
25 maxItems: 1
26
27 clocks:
28 maxItems: 2
29
30 clock-names:
31 items:
32 - const: pclk
33 - const: sysclk
34
35 interrupts:
36 maxItems: 1
37
38 required:
39 - compatible
40 - reg
41 - clocks
42 - clock-names
43 - interrupts
44
45 unevaluatedProperties: false
46
47 examples:
48 - |
49 i3c@d040000 {
50 compatible = "cdns,i3c-master";
51 clocks = <&coreclock>, <&i3csysclock>;
52 clock-names = "pclk", "sysclk";
53 interrupts = <3 0>;
54 reg = <0x0d040000 0x1000>;
55 #address-cells = <3>;
56 #size-cells = <0>;
57 i2c-scl-hz = <100000>;
58
59 eeprom@57{
60 compatible = "atmel,24c01";
61 reg = <0x57 0x0 0x10>;
62 pagesize = <0x8>;
63 };
64 };
65 ...