Rob Herring | af71100 | 2011-11-08 14:43:47 -0600 | [diff] [blame] | 1 | * Synopsys DesignWare I2C |
| 2 | |
| 3 | Required properties : |
| 4 | |
| 5 | - compatible : should be "snps,designware-i2c" |
| 6 | - reg : Offset and length of the register set for the device |
| 7 | - interrupts : <IRQ> where IRQ is the interrupt number. |
| 8 | |
| 9 | Recommended properties : |
| 10 | |
| 11 | - clock-frequency : desired I2C bus clock frequency in Hz. |
| 12 | |
Christian Ruppert | 9803f86 | 2013-06-26 10:55:06 +0200 | [diff] [blame] | 13 | Optional properties : |
| 14 | - i2c-sda-hold-time-ns : should contain the SDA hold time in nanoseconds. |
| 15 | This option is only supported in hardware blocks version 1.11a or newer. |
| 16 | |
Rob Herring | af71100 | 2011-11-08 14:43:47 -0600 | [diff] [blame] | 17 | Example : |
| 18 | |
| 19 | i2c@f0000 { |
| 20 | #address-cells = <1>; |
| 21 | #size-cells = <0>; |
| 22 | compatible = "snps,designware-i2c"; |
| 23 | reg = <0xf0000 0x1000>; |
| 24 | interrupts = <11>; |
| 25 | clock-frequency = <400000>; |
| 26 | }; |
Christian Ruppert | 9803f86 | 2013-06-26 10:55:06 +0200 | [diff] [blame] | 27 | |
| 28 | i2c@1120000 { |
| 29 | #address-cells = <1>; |
| 30 | #size-cells = <0>; |
| 31 | compatible = "snps,designware-i2c"; |
| 32 | reg = <0x1120000 0x1000>; |
| 33 | interrupt-parent = <&ictl>; |
| 34 | interrupts = <12 1>; |
| 35 | clock-frequency = <400000>; |
| 36 | i2c-sda-hold-time-ns = <300>; |
| 37 | }; |