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