i2c-mv64xxx.txt 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. * Marvell MV64XXX I2C controller
  2. Required properties :
  3. - reg : Offset and length of the register set for the device
  4. - compatible : Should be either:
  5. - "allwinner,sun4i-a10-i2c"
  6. - "allwinner,sun6i-a31-i2c"
  7. - "marvell,mv64xxx-i2c"
  8. - "marvell,mv78230-i2c"
  9. - "marvell,mv78230-a0-i2c"
  10. * Note: Only use "marvell,mv78230-a0-i2c" for a
  11. very rare, initial version of the SoC which
  12. had broken offload support. Linux
  13. auto-detects this and sets it appropriately.
  14. - interrupts : The interrupt number
  15. Optional properties :
  16. - clock-frequency : Desired I2C bus clock frequency in Hz. If not set the
  17. default frequency is 100kHz
  18. - resets : phandle to the parent reset controller. Mandatory
  19. whenever you're using the "allwinner,sun6i-a31-i2c"
  20. compatible.
  21. Examples:
  22. i2c@11000 {
  23. compatible = "marvell,mv64xxx-i2c";
  24. reg = <0x11000 0x20>;
  25. interrupts = <29>;
  26. clock-frequency = <100000>;
  27. };
  28. For the Armada XP:
  29. i2c@11000 {
  30. compatible = "marvell,mv78230-i2c", "marvell,mv64xxx-i2c";
  31. reg = <0x11000 0x100>;
  32. interrupts = <29>;
  33. clock-frequency = <100000>;
  34. };