Commit | Line | Data |
---|---|---|
7679c0e1 GL |
1 | I2C for R-Car platforms |
2 | ||
3 | Required properties: | |
ad4a8dc3 | 4 | - compatible: |
4523656f | 5 | "renesas,i2c-r8a7743" if the device is a part of a R8A7743 SoC. |
8bca7089 | 6 | "renesas,i2c-r8a7744" if the device is a part of a R8A7744 SoC. |
4523656f | 7 | "renesas,i2c-r8a7745" if the device is a part of a R8A7745 SoC. |
f4089fcf | 8 | "renesas,i2c-r8a77470" if the device is a part of a R8A77470 SoC. |
0857f508 | 9 | "renesas,i2c-r8a774a1" if the device is a part of a R8A774A1 SoC. |
ad4a8dc3 SH |
10 | "renesas,i2c-r8a7778" if the device is a part of a R8A7778 SoC. |
11 | "renesas,i2c-r8a7779" if the device is a part of a R8A7779 SoC. | |
12 | "renesas,i2c-r8a7790" if the device is a part of a R8A7790 SoC. | |
13 | "renesas,i2c-r8a7791" if the device is a part of a R8A7791 SoC. | |
14 | "renesas,i2c-r8a7792" if the device is a part of a R8A7792 SoC. | |
15 | "renesas,i2c-r8a7793" if the device is a part of a R8A7793 SoC. | |
16 | "renesas,i2c-r8a7794" if the device is a part of a R8A7794 SoC. | |
17 | "renesas,i2c-r8a7795" if the device is a part of a R8A7795 SoC. | |
18 | "renesas,i2c-r8a7796" if the device is a part of a R8A7796 SoC. | |
9d952aa2 | 19 | "renesas,i2c-r8a77965" if the device is a part of a R8A77965 SoC. |
db6b7807 | 20 | "renesas,i2c-r8a77970" if the device is a part of a R8A77970 SoC. |
b80646be | 21 | "renesas,i2c-r8a77980" if the device is a part of a R8A77980 SoC. |
ea3cfbd8 | 22 | "renesas,i2c-r8a77990" if the device is a part of a R8A77990 SoC. |
d0adf769 | 23 | "renesas,i2c-r8a77995" if the device is a part of a R8A77995 SoC. |
ad4a8dc3 | 24 | "renesas,rcar-gen1-i2c" for a generic R-Car Gen1 compatible device. |
4523656f BD |
25 | "renesas,rcar-gen2-i2c" for a generic R-Car Gen2 or RZ/G1 compatible |
26 | device. | |
0857f508 FC |
27 | "renesas,rcar-gen3-i2c" for a generic R-Car Gen3 or RZ/G2 compatible |
28 | device. | |
ad4a8dc3 SH |
29 | "renesas,i2c-rcar" (deprecated) |
30 | ||
31 | When compatible with the generic version, nodes must list the | |
32 | SoC-specific version corresponding to the platform first followed | |
33 | by the generic version. | |
34 | ||
7679c0e1 GL |
35 | - reg: physical base address of the controller and length of memory mapped |
36 | region. | |
37 | - interrupts: interrupt specifier. | |
38 | ||
39 | Optional properties: | |
40 | - clock-frequency: desired I2C bus clock frequency in Hz. The absence of this | |
ddf3dc82 | 41 | property indicates the default frequency 100 kHz. |
e8936455 | 42 | - clocks: clock specifier. |
73e8b052 NS |
43 | - dmas: Must contain a list of two references to DMA specifiers, one for |
44 | transmission, and one for reception. | |
45 | - dma-names: Must contain a list of two DMA names, "tx" and "rx". | |
7679c0e1 | 46 | |
ca68eade WS |
47 | - i2c-scl-falling-time-ns: see i2c.txt |
48 | - i2c-scl-internal-delay-ns: see i2c.txt | |
49 | - i2c-scl-rising-time-ns: see i2c.txt | |
50 | ||
7679c0e1 GL |
51 | Examples : |
52 | ||
e8936455 WS |
53 | i2c0: i2c@e6508000 { |
54 | #address-cells = <1>; | |
55 | #size-cells = <0>; | |
ad4a8dc3 | 56 | compatible = "renesas,i2c-r8a7791", "renesas,rcar-gen2-i2c"; |
e8936455 WS |
57 | reg = <0 0xe6508000 0 0x40>; |
58 | interrupts = <0 287 IRQ_TYPE_LEVEL_HIGH>; | |
59 | clocks = <&mstp9_clks R8A7791_CLK_I2C0>; | |
60 | clock-frequency = <400000>; | |
7679c0e1 | 61 | }; |