i2c-mxs.txt 743 B

12345678910111213141516171819202122232425
  1. * Freescale MXS Inter IC (I2C) Controller
  2. Required properties:
  3. - compatible: Should be "fsl,<chip>-i2c"
  4. - reg: Should contain registers location and length
  5. - interrupts: Should contain ERROR interrupt number
  6. - clock-frequency: Desired I2C bus clock frequency in Hz.
  7. Only 100000Hz and 400000Hz modes are supported.
  8. - dmas: DMA specifier, consisting of a phandle to DMA controller node
  9. and I2C DMA channel ID.
  10. Refer to dma.txt and fsl-mxs-dma.txt for details.
  11. - dma-names: Must be "rx-tx".
  12. Examples:
  13. i2c0: i2c@80058000 {
  14. #address-cells = <1>;
  15. #size-cells = <0>;
  16. compatible = "fsl,imx28-i2c";
  17. reg = <0x80058000 2000>;
  18. interrupts = <111>;
  19. clock-frequency = <100000>;
  20. dmas = <&dma_apbx 6>;
  21. dma-names = "rx-tx";
  22. };