]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blob - Documentation/devicetree/bindings/i2c/i2c-rcar.txt
Merge branch 'for-linus-4.4' of git://git.kernel.org/pub/scm/linux/kernel/git/mason...
[mirror_ubuntu-artful-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 "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 propoerty indicates the default frequency 100 kHz.
21 - clocks: clock specifier.
22
23 Examples :
24
25 i2c0: i2c@e6508000 {
26 #address-cells = <1>;
27 #size-cells = <0>;
28 compatible = "renesas,i2c-r8a7791";
29 reg = <0 0xe6508000 0 0x40>;
30 interrupts = <0 287 IRQ_TYPE_LEVEL_HIGH>;
31 clocks = <&mstp9_clks R8A7791_CLK_I2C0>;
32 clock-frequency = <400000>;
33 };