Commit | Line | Data |
---|---|---|
7679c0e1 GL |
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" | |
e8936455 | 9 | "renesas,i2c-r8a7791" |
819a3951 WS |
10 | "renesas,i2c-r8a7792" |
11 | "renesas,i2c-r8a7793" | |
12 | "renesas,i2c-r8a7794" | |
e7db0d34 | 13 | "renesas,i2c-r8a7795" |
7679c0e1 GL |
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 | |
ddf3dc82 | 20 | property indicates the default frequency 100 kHz. |
e8936455 | 21 | - clocks: clock specifier. |
73e8b052 NS |
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". | |
7679c0e1 | 25 | |
ca68eade WS |
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 | ||
7679c0e1 GL |
30 | Examples : |
31 | ||
e8936455 WS |
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>; | |
7679c0e1 | 40 | }; |