i2c-rcar.txt 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. I2C for R-Car platforms
  2. Required properties:
  3. - compatible: Must be one of
  4. "renesas,i2c-rcar"
  5. "renesas,i2c-r8a7778"
  6. "renesas,i2c-r8a7779"
  7. "renesas,i2c-r8a7790"
  8. "renesas,i2c-r8a7791"
  9. "renesas,i2c-r8a7792"
  10. "renesas,i2c-r8a7793"
  11. "renesas,i2c-r8a7794"
  12. "renesas,i2c-r8a7795"
  13. "renesas,i2c-r8a7796"
  14. - reg: physical base address of the controller and length of memory mapped
  15. region.
  16. - interrupts: interrupt specifier.
  17. Optional properties:
  18. - clock-frequency: desired I2C bus clock frequency in Hz. The absence of this
  19. property indicates the default frequency 100 kHz.
  20. - clocks: clock specifier.
  21. - dmas: Must contain a list of two references to DMA specifiers, one for
  22. transmission, and one for reception.
  23. - dma-names: Must contain a list of two DMA names, "tx" and "rx".
  24. - i2c-scl-falling-time-ns: see i2c.txt
  25. - i2c-scl-internal-delay-ns: see i2c.txt
  26. - i2c-scl-rising-time-ns: see i2c.txt
  27. Examples :
  28. i2c0: i2c@e6508000 {
  29. #address-cells = <1>;
  30. #size-cells = <0>;
  31. compatible = "renesas,i2c-r8a7791";
  32. reg = <0 0xe6508000 0 0x40>;
  33. interrupts = <0 287 IRQ_TYPE_LEVEL_HIGH>;
  34. clocks = <&mstp9_clks R8A7791_CLK_I2C0>;
  35. clock-frequency = <400000>;
  36. };