i2c.txt 1018 B

1234567891011121314151617181920212223242526272829303132
  1. * I2C
  2. Required properties :
  3. - device_type : Should be "i2c"
  4. - reg : Offset and length of the register set for the device
  5. Recommended properties :
  6. - compatible : Should be "fsl-i2c" for parts compatible with
  7. Freescale I2C specifications.
  8. - interrupts : <a b> where a is the interrupt number and b is a
  9. field that represents an encoding of the sense and level
  10. information for the interrupt. This should be encoded based on
  11. the information in section 2) depending on the type of interrupt
  12. controller you have.
  13. - interrupt-parent : the phandle for the interrupt controller that
  14. services interrupts for this device.
  15. - dfsrr : boolean; if defined, indicates that this I2C device has
  16. a digital filter sampling rate register
  17. - fsl5200-clocking : boolean; if defined, indicated that this device
  18. uses the FSL 5200 clocking mechanism.
  19. Example :
  20. i2c@3000 {
  21. interrupt-parent = <40000>;
  22. interrupts = <1b 3>;
  23. reg = <3000 18>;
  24. device_type = "i2c";
  25. compatible = "fsl-i2c";
  26. dfsrr;
  27. };