Merge branch 'work.dcache2' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / i2c / i2c-omap.txt
1 I2C for OMAP platforms
2
3 Required properties :
4 - compatible : Must be
5         "ti,omap2420-i2c" for OMAP2420 SoCs
6         "ti,omap2430-i2c" for OMAP2430 SoCs
7         "ti,omap3-i2c" for OMAP3 SoCs
8         "ti,omap4-i2c" for OMAP4+ SoCs
9         "ti,am654-i2c", "ti,omap4-i2c" for AM654 SoCs
10         "ti,j721e-i2c", "ti,omap4-i2c" for J721E SoCs
11 - ti,hwmods : Must be "i2c<n>", n being the instance number (1-based)
12 - #address-cells = <1>;
13 - #size-cells = <0>;
14
15 Recommended properties :
16 - clock-frequency : Desired I2C bus clock frequency in Hz. Otherwise
17   the default 100 kHz frequency will be used.
18
19 Optional properties:
20 - Child nodes conforming to i2c bus binding
21
22 Note: Current implementation will fetch base address, irq and dma
23 from omap hwmod data base during device registration.
24 Future plan is to migrate hwmod data base contents into device tree
25 blob so that, all the required data will be used from device tree dts
26 file.
27
28 Examples :
29
30 i2c1: i2c@0 {
31     compatible = "ti,omap3-i2c";
32     #address-cells = <1>;
33     #size-cells = <0>;
34     ti,hwmods = "i2c1";
35     clock-frequency = <400000>;
36 };