i2c-davinci.txt 850 B

1234567891011121314151617181920212223242526272829303132
  1. * Texas Instruments Davinci I2C
  2. This file provides information, what the device node for the
  3. davinci i2c interface contain.
  4. Required properties:
  5. - compatible: "ti,davinci-i2c";
  6. - reg : Offset and length of the register set for the device
  7. Recommended properties :
  8. - interrupts : standard interrupt property.
  9. - clock-frequency : desired I2C bus clock frequency in Hz.
  10. - ti,has-pfunc: boolean; if defined, it indicates that SoC supports PFUNC
  11. registers. PFUNC registers allow to switch I2C pins to function as
  12. GPIOs, so they can by toggled manually.
  13. Example (enbw_cmc board):
  14. i2c@1c22000 {
  15. compatible = "ti,davinci-i2c";
  16. reg = <0x22000 0x1000>;
  17. clock-frequency = <100000>;
  18. interrupts = <15>;
  19. interrupt-parent = <&intc>;
  20. #address-cells = <1>;
  21. #size-cells = <0>;
  22. dtt@48 {
  23. compatible = "national,lm75";
  24. reg = <0x48>;
  25. };
  26. };