xref: /freebsd/sys/contrib/device-tree/Bindings/i2c/renesas,i2c.txt (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
1I2C for R-Car platforms
2
3Required properties:
4- compatible:
5	"renesas,i2c-r8a7742" if the device is a part of a R8A7742 SoC.
6	"renesas,i2c-r8a7743" if the device is a part of a R8A7743 SoC.
7	"renesas,i2c-r8a7744" if the device is a part of a R8A7744 SoC.
8	"renesas,i2c-r8a7745" if the device is a part of a R8A7745 SoC.
9	"renesas,i2c-r8a77470" if the device is a part of a R8A77470 SoC.
10	"renesas,i2c-r8a774a1" if the device is a part of a R8A774A1 SoC.
11	"renesas,i2c-r8a774b1" if the device is a part of a R8A774B1 SoC.
12	"renesas,i2c-r8a774c0" if the device is a part of a R8A774C0 SoC.
13	"renesas,i2c-r8a774e1" if the device is a part of a R8A774E1 SoC.
14	"renesas,i2c-r8a7778" if the device is a part of a R8A7778 SoC.
15	"renesas,i2c-r8a7779" if the device is a part of a R8A7779 SoC.
16	"renesas,i2c-r8a7790" if the device is a part of a R8A7790 SoC.
17	"renesas,i2c-r8a7791" if the device is a part of a R8A7791 SoC.
18	"renesas,i2c-r8a7792" if the device is a part of a R8A7792 SoC.
19	"renesas,i2c-r8a7793" if the device is a part of a R8A7793 SoC.
20	"renesas,i2c-r8a7794" if the device is a part of a R8A7794 SoC.
21	"renesas,i2c-r8a7795" if the device is a part of a R8A7795 SoC.
22	"renesas,i2c-r8a7796" if the device is a part of a R8A77960 SoC.
23	"renesas,i2c-r8a77961" if the device is a part of a R8A77961 SoC.
24	"renesas,i2c-r8a77965" if the device is a part of a R8A77965 SoC.
25	"renesas,i2c-r8a77970" if the device is a part of a R8A77970 SoC.
26	"renesas,i2c-r8a77980" if the device is a part of a R8A77980 SoC.
27	"renesas,i2c-r8a77990" if the device is a part of a R8A77990 SoC.
28	"renesas,i2c-r8a77995" if the device is a part of a R8A77995 SoC.
29	"renesas,i2c-r8a779a0" if the device is a part of a R8A779A0 SoC.
30	"renesas,rcar-gen1-i2c" for a generic R-Car Gen1 compatible device.
31	"renesas,rcar-gen2-i2c" for a generic R-Car Gen2 or RZ/G1 compatible
32				device.
33	"renesas,rcar-gen3-i2c" for a generic R-Car Gen3 or RZ/G2 compatible
34				device.
35	"renesas,i2c-rcar" (deprecated)
36
37	When compatible with the generic version, nodes must list the
38	SoC-specific version corresponding to the platform first followed
39	by the generic version.
40
41- reg: physical base address of the controller and length of memory mapped
42  region.
43- interrupts: interrupt specifier.
44
45Optional properties:
46- clock-frequency: desired I2C bus clock frequency in Hz. The absence of this
47  property indicates the default frequency 100 kHz.
48- clocks: clock specifier.
49- dmas: Must contain a list of two references to DMA specifiers, one for
50  transmission, and one for reception.
51- dma-names: Must contain a list of two DMA names, "tx" and "rx".
52
53- i2c-scl-falling-time-ns: see i2c.txt
54- i2c-scl-internal-delay-ns: see i2c.txt
55- i2c-scl-rising-time-ns: see i2c.txt
56
57Examples :
58
59i2c0: i2c@e6508000 {
60	#address-cells = <1>;
61	#size-cells = <0>;
62	compatible = "renesas,i2c-r8a7791", "renesas,rcar-gen2-i2c";
63	reg = <0 0xe6508000 0 0x40>;
64	interrupts = <0 287 IRQ_TYPE_LEVEL_HIGH>;
65	clocks = <&mstp9_clks R8A7791_CLK_I2C0>;
66	clock-frequency = <400000>;
67};
68