i2c-omap.txt 897 B

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