5f0cb502b1db8908d6891c2204df45cf938b15d3
[cascardo/linux.git] / Documentation / devicetree / bindings / i2c / i2c-rcar.txt
1 I2C for R-Car platforms
2
3 Required properties:
4 - compatible: Must be one of
5         "renesas,i2c-rcar"
6         "renesas,i2c-r8a7778"
7         "renesas,i2c-r8a7779"
8         "renesas,i2c-r8a7790"
9         "renesas,i2c-r8a7791"
10         "renesas,i2c-r8a7792"
11         "renesas,i2c-r8a7793"
12         "renesas,i2c-r8a7794"
13         "renesas,i2c-r8a7795"
14 - reg: physical base address of the controller and length of memory mapped
15   region.
16 - interrupts: interrupt specifier.
17
18 Optional properties:
19 - clock-frequency: desired I2C bus clock frequency in Hz. The absence of this
20   property indicates the default frequency 100 kHz.
21 - clocks: clock specifier.
22 - dmas: Must contain a list of two references to DMA specifiers, one for
23   transmission, and one for reception.
24 - dma-names: Must contain a list of two DMA names, "tx" and "rx".
25
26 - i2c-scl-falling-time-ns: see i2c.txt
27 - i2c-scl-internal-delay-ns: see i2c.txt
28 - i2c-scl-rising-time-ns: see i2c.txt
29
30 Examples :
31
32 i2c0: i2c@e6508000 {
33         #address-cells = <1>;
34         #size-cells = <0>;
35         compatible = "renesas,i2c-r8a7791";
36         reg = <0 0xe6508000 0 0x40>;
37         interrupts = <0 287 IRQ_TYPE_LEVEL_HIGH>;
38         clocks = <&mstp9_clks R8A7791_CLK_I2C0>;
39         clock-frequency = <400000>;
40 };