i2c-altera.txt 980 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. * Altera I2C Controller
  2. * This is Altera's synthesizable logic block I2C Controller for use
  3. * in Altera's FPGAs.
  4. Required properties :
  5. - compatible : should be "altr,softip-i2c-v1.0"
  6. - reg : Offset and length of the register set for the device
  7. - interrupts : <IRQ> where IRQ is the interrupt number.
  8. - clocks : phandle to input clock.
  9. - #address-cells = <1>;
  10. - #size-cells = <0>;
  11. Recommended properties :
  12. - clock-frequency : desired I2C bus clock frequency in Hz.
  13. Optional properties :
  14. - fifo-size : Size of the RX and TX FIFOs in bytes.
  15. - Child nodes conforming to i2c bus binding
  16. Example :
  17. i2c@100080000 {
  18. compatible = "altr,softip-i2c-v1.0";
  19. reg = <0x00000001 0x00080000 0x00000040>;
  20. interrupt-parent = <&intc>;
  21. interrupts = <0 43 4>;
  22. clocks = <&clk_0>;
  23. clock-frequency = <100000>;
  24. #address-cells = <1>;
  25. #size-cells = <0>;
  26. fifo-size = <4>;
  27. eeprom@51 {
  28. compatible = "atmel,24c32";
  29. reg = <0x51>;
  30. pagesize = <32>;
  31. };
  32. };