Stefan Bosch | c25e9e0 | 2020-07-10 19:07:28 +0200 | [diff] [blame] | 1 | I2C controller embedded in Nexell's/Samsung's SoC S5P4418 and S5P6818 |
| 2 | |
| 3 | Driver: |
| 4 | - drivers/i2c/nx_i2c.c |
| 5 | |
| 6 | Required 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 | |
| 16 | Optional 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 | |
| 21 | Example: |
| 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 | }; |