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