xref: /freebsd/sys/contrib/device-tree/Bindings/i3c/snps,dw-i3c-master.txt (revision 2eb4d8dc723da3cf7d735a3226ae49da4c8c5dbc)
1c66ec88fSEmmanuel VadotBindings for Synopsys DesignWare I3C master block
2c66ec88fSEmmanuel Vadot=================================================
3c66ec88fSEmmanuel Vadot
4c66ec88fSEmmanuel VadotRequired properties:
5c66ec88fSEmmanuel Vadot--------------------
6c66ec88fSEmmanuel Vadot- compatible: shall be "snps,dw-i3c-master-1.00a"
7c66ec88fSEmmanuel Vadot- clocks: shall reference the core_clk
8c66ec88fSEmmanuel Vadot- interrupts: the interrupt line connected to this I3C master
9c66ec88fSEmmanuel Vadot- reg: Offset and length of I3C master registers
10c66ec88fSEmmanuel Vadot
11c66ec88fSEmmanuel VadotMandatory properties defined by the generic binding (see
12*2eb4d8dcSEmmanuel VadotDocumentation/devicetree/bindings/i3c/i3c.yaml for more details):
13c66ec88fSEmmanuel Vadot
14c66ec88fSEmmanuel Vadot- #address-cells: shall be set to 3
15c66ec88fSEmmanuel Vadot- #size-cells: shall be set to 0
16c66ec88fSEmmanuel Vadot
17c66ec88fSEmmanuel VadotOptional properties defined by the generic binding (see
18*2eb4d8dcSEmmanuel VadotDocumentation/devicetree/bindings/i3c/i3c.yaml for more details):
19c66ec88fSEmmanuel Vadot
20c66ec88fSEmmanuel Vadot- i2c-scl-hz
21c66ec88fSEmmanuel Vadot- i3c-scl-hz
22c66ec88fSEmmanuel Vadot
23c66ec88fSEmmanuel VadotI3C device connected on the bus follow the generic description (see
24*2eb4d8dcSEmmanuel VadotDocumentation/devicetree/bindings/i3c/i3c.yaml for more details).
25c66ec88fSEmmanuel Vadot
26c66ec88fSEmmanuel VadotExample:
27c66ec88fSEmmanuel Vadot
28c66ec88fSEmmanuel Vadot	i3c-master@2000 {
29c66ec88fSEmmanuel Vadot		compatible = "snps,dw-i3c-master-1.00a";
30c66ec88fSEmmanuel Vadot		#address-cells = <3>;
31c66ec88fSEmmanuel Vadot		#size-cells = <0>;
32c66ec88fSEmmanuel Vadot		reg = <0x02000 0x1000>;
33c66ec88fSEmmanuel Vadot		interrupts = <0>;
34c66ec88fSEmmanuel Vadot		clocks = <&i3cclk>;
35c66ec88fSEmmanuel Vadot
36c66ec88fSEmmanuel Vadot		eeprom@57{
37c66ec88fSEmmanuel Vadot			compatible = "atmel,24c01";
38c66ec88fSEmmanuel Vadot			reg = <0x57 0x0 0x10>;
39c66ec88fSEmmanuel Vadot			pagesize = <0x8>;
40c66ec88fSEmmanuel Vadot		};
41c66ec88fSEmmanuel Vadot	};
42