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" | |
7679c0e1 GL |
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. | |
e8936455 | 20 | - clocks: clock specifier. |
7679c0e1 GL |
21 | |
22 | Examples : | |
23 | ||
e8936455 WS |
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>; | |
7679c0e1 | 32 | }; |