i2c-at91.txt 887 B

12345678910111213141516171819202122232425262728293031323334
  1. I2C for Atmel platforms
  2. Required properties :
  3. - compatible : Must be "atmel,at91rm9200-i2c", "atmel,at91sam9261-i2c",
  4. "atmel,at91sam9260-i2c", "atmel,at91sam9g20-i2c", "atmel,at91sam9g10-i2c"
  5. or "atmel,at91sam9x5-i2c"
  6. - reg: physical base address of the controller and length of memory mapped
  7. region.
  8. - interrupts: interrupt number to the cpu.
  9. - #address-cells = <1>;
  10. - #size-cells = <0>;
  11. - clocks: phandles to input clocks.
  12. Optional properties:
  13. - clock-frequency: Desired I2C bus frequency in Hz, otherwise defaults to 100000
  14. - Child nodes conforming to i2c bus binding
  15. Examples :
  16. i2c0: i2c@fff84000 {
  17. compatible = "atmel,at91sam9g20-i2c";
  18. reg = <0xfff84000 0x100>;
  19. interrupts = <12 4 6>;
  20. #address-cells = <1>;
  21. #size-cells = <0>;
  22. clocks = <&twi0_clk>;
  23. clock-frequency = <400000>;
  24. 24c512@50 {
  25. compatible = "24c512";
  26. reg = <0x50>;
  27. pagesize = <128>;
  28. }
  29. }