i2c-octeon.txt 839 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. * Two Wire Serial Interface (TWSI) / I2C
  2. - compatible: "cavium,octeon-3860-twsi"
  3. Compatibility with all cn3XXX, cn5XXX and cn6XXX SOCs.
  4. or
  5. compatible: "cavium,octeon-7890-twsi"
  6. Compatibility with cn78XX SOCs.
  7. - reg: The base address of the TWSI/I2C bus controller register bank.
  8. - #address-cells: Must be <1>.
  9. - #size-cells: Must be <0>. I2C addresses have no size component.
  10. - interrupts: A single interrupt specifier.
  11. - clock-frequency: The I2C bus clock rate in Hz.
  12. Example:
  13. twsi0: i2c@1180000001000 {
  14. #address-cells = <1>;
  15. #size-cells = <0>;
  16. compatible = "cavium,octeon-3860-twsi";
  17. reg = <0x11800 0x00001000 0x0 0x200>;
  18. interrupts = <0 45>;
  19. clock-frequency = <100000>;
  20. rtc@68 {
  21. compatible = "dallas,ds1337";
  22. reg = <0x68>;
  23. };
  24. tmp@4c {
  25. compatible = "ti,tmp421";
  26. reg = <0x4c>;
  27. };
  28. };