i2c-efm32.txt 810 B

12345678910111213141516171819202122232425262728293031323334
  1. * Energymicro efm32 i2c controller
  2. Required properties :
  3. - reg : Offset and length of the register set for the device
  4. - compatible : should be "energymicro,efm32-i2c"
  5. - interrupts : the interrupt number
  6. - clocks : reference to the module clock
  7. Recommended properties :
  8. - clock-frequency : maximal I2C bus clock frequency in Hz.
  9. - energymicro,location : Decides the location of the USART I/O pins.
  10. Allowed range : [0 .. 6]
  11. Example:
  12. i2c0: i2c@4000a000 {
  13. #address-cells = <1>;
  14. #size-cells = <0>;
  15. compatible = "energymicro,efm32-i2c";
  16. reg = <0x4000a000 0x400>;
  17. interrupts = <9>;
  18. clocks = <&cmu clk_HFPERCLKI2C0>;
  19. clock-frequency = <100000>;
  20. status = "ok";
  21. energymicro,location = <3>;
  22. eeprom@50 {
  23. compatible = "microchip,24c02";
  24. reg = <0x50>;
  25. pagesize = <16>;
  26. };
  27. };