dt-bindings: i2c: omap: Add new compatible for AM654 SoCs
[linux-2.6-block.git] / Documentation / devicetree / bindings / i2c / i2c-omap.txt
CommitLineData
6145197b
BC
1I2C for OMAP platforms
2
3Required properties :
ab214c48
V
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
6145197b
BC
10- ti,hwmods : Must be "i2c<n>", n being the instance number (1-based)
11- #address-cells = <1>;
12- #size-cells = <0>;
13
14Recommended properties :
15- clock-frequency : Desired I2C bus clock frequency in Hz. Otherwise
16 the default 100 kHz frequency will be used.
17
18Optional properties:
19- Child nodes conforming to i2c bus binding
20
21Note: Current implementation will fetch base address, irq and dma
22from omap hwmod data base during device registration.
23Future plan is to migrate hwmod data base contents into device tree
24blob so that, all the required data will be used from device tree dts
25file.
26
27Examples :
28
29i2c1: i2c@0 {
30 compatible = "ti,omap3-i2c";
31 #address-cells = <1>;
32 #size-cells = <0>;
33 ti,hwmods = "i2c1";
34 clock-frequency = <400000>;
35};