i2c-octeon.txt 757 B

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