i2c-riic.txt 962 B

1234567891011121314151617181920212223242526272829
  1. Device tree configuration for Renesas RIIC driver
  2. Required properties:
  3. - compatible : "renesas,riic-<soctype>". "renesas,riic-rz" as fallback
  4. - reg : address start and address range size of device
  5. - interrupts : 8 interrupts (TEI, RI, TI, SPI, STI, NAKI, ALI, TMOI)
  6. - clock-frequency : frequency of bus clock in Hz
  7. - #address-cells : should be <1>
  8. - #size-cells : should be <0>
  9. Pinctrl properties might be needed, too. See there.
  10. Example:
  11. i2c0: i2c@fcfee000 {
  12. compatible = "renesas,riic-r7s72100", "renesas,riic-rz";
  13. reg = <0xfcfee000 0x44>;
  14. interrupts = <0 157 IRQ_TYPE_LEVEL_HIGH>,
  15. <0 158 IRQ_TYPE_EDGE_RISING>,
  16. <0 159 IRQ_TYPE_EDGE_RISING>,
  17. <0 160 IRQ_TYPE_LEVEL_HIGH>,
  18. <0 161 IRQ_TYPE_LEVEL_HIGH>,
  19. <0 162 IRQ_TYPE_LEVEL_HIGH>,
  20. <0 163 IRQ_TYPE_LEVEL_HIGH>,
  21. <0 164 IRQ_TYPE_LEVEL_HIGH>;
  22. clock-frequency = <100000>;
  23. #address-cells = <1>;
  24. #size-cells = <0>;
  25. };