i2c-sh_mobile.txt 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. Device tree configuration for Renesas IIC (sh_mobile) driver
  2. Required properties:
  3. - compatible : "renesas,iic-<soctype>". "renesas,rmobile-iic" as fallback
  4. Examples with soctypes are:
  5. - "renesas,iic-r8a73a4" (R-Mobile APE6)
  6. - "renesas,iic-r8a7740" (R-Mobile A1)
  7. - "renesas,iic-r8a7790" (R-Car H2)
  8. - "renesas,iic-r8a7791" (R-Car M2-W)
  9. - "renesas,iic-r8a7792" (R-Car V2H)
  10. - "renesas,iic-r8a7793" (R-Car M2-N)
  11. - "renesas,iic-r8a7794" (R-Car E2)
  12. - "renesas,iic-r8a7795" (R-Car H3)
  13. - "renesas,iic-sh73a0" (SH-Mobile AG5)
  14. - reg : address start and address range size of device
  15. - interrupts : interrupt of device
  16. - clocks : clock for device
  17. - #address-cells : should be <1>
  18. - #size-cells : should be <0>
  19. Optional properties:
  20. - clock-frequency : frequency of bus clock in Hz. Default 100kHz if unset.
  21. - dmas : Must contain a list of two references to DMA
  22. specifiers, one for transmission, and one for
  23. reception.
  24. - dma-names : Must contain a list of two DMA names, "tx" and "rx".
  25. Pinctrl properties might be needed, too. See there.
  26. Example:
  27. iic0: i2c@e6500000 {
  28. compatible = "renesas,iic-r8a7790", "renesas,rmobile-iic";
  29. reg = <0 0xe6500000 0 0x425>;
  30. interrupts = <0 174 IRQ_TYPE_LEVEL_HIGH>;
  31. clocks = <&mstp3_clks R8A7790_CLK_IIC0>;
  32. clock-frequency = <400000>;
  33. #address-cells = <1>;
  34. #size-cells = <0>;
  35. };