Merge tag 'v5.3-rc4' into next
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / i3c / cdns,i3c-master.txt
1 Bindings for cadence I3C master block
2 =====================================
3
4 Required 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
12 Mandatory properties defined by the generic binding (see
13 Documentation/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
18 Optional properties defined by the generic binding (see
19 Documentation/devicetree/bindings/i3c/i3c.txt for more details):
20
21 - i2c-scl-hz
22 - i3c-scl-hz
23
24 I3C device connected on the bus follow the generic description (see
25 Documentation/devicetree/bindings/i3c/i3c.txt for more details).
26
27 Example:
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         };