Merge branch 'drm-fixes-4.14' of git://people.freedesktop.org/~agd5f/linux into drm...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / i2c / i2c-rcar.txt
1 I2C for R-Car platforms
2
3 Required properties:
4 - compatible:
5         "renesas,i2c-r8a7743" if the device is a part of a R8A7743 SoC.
6         "renesas,i2c-r8a7745" if the device is a part of a R8A7745 SoC.
7         "renesas,i2c-r8a7778" if the device is a part of a R8A7778 SoC.
8         "renesas,i2c-r8a7779" if the device is a part of a R8A7779 SoC.
9         "renesas,i2c-r8a7790" if the device is a part of a R8A7790 SoC.
10         "renesas,i2c-r8a7791" if the device is a part of a R8A7791 SoC.
11         "renesas,i2c-r8a7792" if the device is a part of a R8A7792 SoC.
12         "renesas,i2c-r8a7793" if the device is a part of a R8A7793 SoC.
13         "renesas,i2c-r8a7794" if the device is a part of a R8A7794 SoC.
14         "renesas,i2c-r8a7795" if the device is a part of a R8A7795 SoC.
15         "renesas,i2c-r8a7796" if the device is a part of a R8A7796 SoC.
16         "renesas,rcar-gen1-i2c" for a generic R-Car Gen1 compatible device.
17         "renesas,rcar-gen2-i2c" for a generic R-Car Gen2 or RZ/G1 compatible
18                                 device.
19         "renesas,rcar-gen3-i2c" for a generic R-Car Gen3 compatible device.
20         "renesas,i2c-rcar" (deprecated)
21
22         When compatible with the generic version, nodes must list the
23         SoC-specific version corresponding to the platform first followed
24         by the generic version.
25
26 - reg: physical base address of the controller and length of memory mapped
27   region.
28 - interrupts: interrupt specifier.
29
30 Optional properties:
31 - clock-frequency: desired I2C bus clock frequency in Hz. The absence of this
32   property indicates the default frequency 100 kHz.
33 - clocks: clock specifier.
34 - dmas: Must contain a list of two references to DMA specifiers, one for
35   transmission, and one for reception.
36 - dma-names: Must contain a list of two DMA names, "tx" and "rx".
37
38 - i2c-scl-falling-time-ns: see i2c.txt
39 - i2c-scl-internal-delay-ns: see i2c.txt
40 - i2c-scl-rising-time-ns: see i2c.txt
41
42 Examples :
43
44 i2c0: i2c@e6508000 {
45         #address-cells = <1>;
46         #size-cells = <0>;
47         compatible = "renesas,i2c-r8a7791", "renesas,rcar-gen2-i2c";
48         reg = <0 0xe6508000 0 0x40>;
49         interrupts = <0 287 IRQ_TYPE_LEVEL_HIGH>;
50         clocks = <&mstp9_clks R8A7791_CLK_I2C0>;
51         clock-frequency = <400000>;
52 };