xref: /freebsd/sys/contrib/device-tree/Bindings/i3c/cdns,i3c-master.txt (revision e8d8bef961a50d4dc22501cde4fb9fb0be1b2532)
1Bindings for cadence I3C master block
2=====================================
3
4Required properties:
5--------------------
6- compatible: shall be "cdns,i3c-master"
7- clocks: shall reference the pclk and sysclk
8- clock-names: shall contain "pclk" and "sysclk"
9- interrupts: the interrupt line connected to this I3C master
10- reg: I3C master registers
11
12Mandatory properties defined by the generic binding (see
13Documentation/devicetree/bindings/i3c/i3c.txt for more details):
14
15- #address-cells: shall be set to 1
16- #size-cells: shall be set to 0
17
18Optional properties defined by the generic binding (see
19Documentation/devicetree/bindings/i3c/i3c.txt for more details):
20
21- i2c-scl-hz
22- i3c-scl-hz
23
24I3C device connected on the bus follow the generic description (see
25Documentation/devicetree/bindings/i3c/i3c.txt for more details).
26
27Example:
28
29	i3c-master@0d040000 {
30		compatible = "cdns,i3c-master";
31		clocks = <&coreclock>, <&i3csysclock>;
32		clock-names = "pclk", "sysclk";
33		interrupts = <3 0>;
34		reg = <0x0d040000 0x1000>;
35		#address-cells = <1>;
36		#size-cells = <0>;
37		i2c-scl-hz = <100000>;
38
39		nunchuk: nunchuk@52 {
40			compatible = "nintendo,nunchuk";
41			reg = <0x52 0x0 0x10>;
42		};
43	};
44