blob: 9f3abe78e4ee2641d0c94c0846aa1656b2aa4c8f [file] [log] [blame]
Stefan Boschc25e9e02020-07-10 19:07:28 +02001I2C controller embedded in Nexell's/Samsung's SoC S5P4418 and S5P6818
2
3Driver:
4- drivers/i2c/nx_i2c.c
5
6Required properties:
7- #address-cells = <1>;
8- #size-cells = <0>;
9- compatible = "nexell,s5pxx18-i2c";
10- reg = <i2c_base 0x100>;
11 Where i2c_base has to be the base address of the i2c-register set.
12 I2C0: 0xc00a4000
13 I2C1: 0xc00a5000
14 I2C2: 0xc00a6000
15
16Optional properties:
17- clock-frequency: Desired I2C bus frequency in Hz, default value is 100000.
18- i2c-sda-delay-ns (S5P6818 only): SDA delay in ns, default value is 0.
19- Child nodes conforming to i2c bus binding.
20
21Example:
22 i2c0:i2c@c00a4000 {
23 #address-cells = <1>;
24 #size-cells = <0>;
25 compatible = "nexell,s5pxx18-i2c";
26 reg = <0xc00a4000 0x100>;
27 clock-frequency = <400000>;
28 };