omap-i2c.txt 857 B

12345678910111213141516171819202122232425262728293031
  1. I2C for OMAP platforms
  2. Required properties :
  3. - compatible : Must be "ti,omap3-i2c" or "ti,omap4-i2c"
  4. - ti,hwmods : Must be "i2c<n>", n being the instance number (1-based)
  5. - #address-cells = <1>;
  6. - #size-cells = <0>;
  7. Recommended properties :
  8. - clock-frequency : Desired I2C bus clock frequency in Hz. Otherwise
  9. the default 100 kHz frequency will be used.
  10. Optional properties:
  11. - Child nodes conforming to i2c bus binding
  12. Note: Current implementation will fetch base address, irq and dma
  13. from omap hwmod data base during device registration.
  14. Future plan is to migrate hwmod data base contents into device tree
  15. blob so that, all the required data will be used from device tree dts
  16. file.
  17. Examples :
  18. i2c1: i2c@0 {
  19. compatible = "ti,omap3-i2c";
  20. #address-cells = <1>;
  21. #size-cells = <0>;
  22. ti,hwmods = "i2c1";
  23. clock-frequency = <400000>;
  24. };