i2c-designware.txt 913 B

12345678910111213141516171819202122232425262728293031323334353637
  1. * Synopsys DesignWare I2C
  2. Required properties :
  3. - compatible : should be "snps,designware-i2c"
  4. - reg : Offset and length of the register set for the device
  5. - interrupts : <IRQ> where IRQ is the interrupt number.
  6. Recommended properties :
  7. - clock-frequency : desired I2C bus clock frequency in Hz.
  8. Optional properties :
  9. - i2c-sda-hold-time-ns : should contain the SDA hold time in nanoseconds.
  10. This option is only supported in hardware blocks version 1.11a or newer.
  11. Example :
  12. i2c@f0000 {
  13. #address-cells = <1>;
  14. #size-cells = <0>;
  15. compatible = "snps,designware-i2c";
  16. reg = <0xf0000 0x1000>;
  17. interrupts = <11>;
  18. clock-frequency = <400000>;
  19. };
  20. i2c@1120000 {
  21. #address-cells = <1>;
  22. #size-cells = <0>;
  23. compatible = "snps,designware-i2c";
  24. reg = <0x1120000 0x1000>;
  25. interrupt-parent = <&ictl>;
  26. interrupts = <12 1>;
  27. clock-frequency = <400000>;
  28. i2c-sda-hold-time-ns = <300>;
  29. };