xref: /freebsd/sys/contrib/device-tree/Bindings/i2c/i2c-omap.txt (revision d5b0e70f7e04d971691517ce1304d86a1e367e2e)
1I2C for OMAP platforms
2
3Required 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,am64-i2c", "ti,omap4-i2c" for AM64 SoCs
12- ti,hwmods : Must be "i2c<n>", n being the instance number (1-based)
13- #address-cells = <1>;
14- #size-cells = <0>;
15
16Recommended properties :
17- clock-frequency : Desired I2C bus clock frequency in Hz. Otherwise
18  the default 100 kHz frequency will be used.
19
20Optional properties:
21- Child nodes conforming to i2c bus binding
22
23Note: Current implementation will fetch base address, irq and dma
24from omap hwmod data base during device registration.
25Future plan is to migrate hwmod data base contents into device tree
26blob so that, all the required data will be used from device tree dts
27file.
28
29Examples :
30
31i2c1: i2c@0 {
32    compatible = "ti,omap3-i2c";
33    #address-cells = <1>;
34    #size-cells = <0>;
35    ti,hwmods = "i2c1";
36    clock-frequency = <400000>;
37};
38