16b3e07aa98fdd7b2795f783775f8e2501a6a443
[platform/adaptation/renesas_rcar/renesas_kernel.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 - reg: physical base address of the controller and length of memory mapped
14   region.
15 - interrupts: interrupt specifier.
16
17 Optional properties:
18 - clock-frequency: desired I2C bus clock frequency in Hz. The absence of this
19   propoerty indicates the default frequency 100 kHz.
20 - clocks: clock specifier.
21
22 Examples :
23
24 i2c0: i2c@e6508000 {
25         #address-cells = <1>;
26         #size-cells = <0>;
27         compatible = "renesas,i2c-r8a7791";
28         reg = <0 0xe6508000 0 0x40>;
29         interrupts = <0 287 IRQ_TYPE_LEVEL_HIGH>;
30         clocks = <&mstp9_clks R8A7791_CLK_I2C0>;
31         clock-frequency = <400000>;
32 };