Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / i2c / i2c-exynos5.txt
1 * Samsung's High Speed I2C controller
2
3 The Samsung's High Speed I2C controller is used to interface with I2C devices
4 at various speeds ranging from 100khz to 3.4Mhz.
5
6 Required properties:
7   - compatible: value should be.
8         -> "samsung,exynos5-hsi2c", (DEPRECATED)
9                                 for i2c compatible with HSI2C available
10                                 on Exynos5250 and Exynos5420 SoCs.
11         -> "samsung,exynos5250-hsi2c", for i2c compatible with HSI2C available
12                                 on Exynos5250 and Exynos5420 SoCs.
13         -> "samsung,exynos5260-hsi2c", for i2c compatible with HSI2C available
14                                 on Exynos5260 SoCs.
15
16   - reg: physical base address of the controller and length of memory mapped
17     region.
18   - interrupts: interrupt number to the cpu.
19   - #address-cells: always 1 (for i2c addresses)
20   - #size-cells: always 0
21
22   - Pinctrl:
23     - pinctrl-0: Pin control group to be used for this controller.
24     - pinctrl-names: Should contain only one value - "default".
25
26 Optional properties:
27   - clock-frequency: Desired operating frequency in Hz of the bus.
28     -> If not specified, the bus operates in fast-speed mode at
29        at 100khz.
30     -> If specified, the bus operates in high-speed mode only if the
31        clock-frequency is >= 1Mhz.
32
33 Example:
34
35 hsi2c@12ca0000 {
36         compatible = "samsung,exynos5250-hsi2c";
37         reg = <0x12ca0000 0x100>;
38         interrupts = <56>;
39         clock-frequency = <100000>;
40
41         pinctrl-0 = <&i2c4_bus>;
42         pinctrl-names = "default";
43
44         #address-cells = <1>;
45         #size-cells = <0>;
46
47         s2mps11_pmic@66 {
48                 compatible = "samsung,s2mps11-pmic";
49                 reg = <0x66>;
50         };
51 };