i2c-jz4780.txt 770 B

12345678910111213141516171819202122232425262728293031
  1. * Ingenic JZ4780 I2C Bus controller
  2. Required properties:
  3. - compatible: should be "ingenic,jz4780-i2c"
  4. - reg: Should contain the address & size of the I2C controller registers.
  5. - interrupts: Should specify the interrupt provided by parent.
  6. - clocks: Should contain a single clock specifier for the JZ4780 I2C clock.
  7. - clock-frequency: desired I2C bus clock frequency in Hz.
  8. Recommended properties:
  9. - pinctrl-names: should be "default";
  10. - pinctrl-0: phandle to pinctrl function
  11. Example
  12. / {
  13. i2c4: i2c4@10054000 {
  14. compatible = "ingenic,jz4780-i2c";
  15. reg = <0x10054000 0x1000>;
  16. interrupt-parent = <&intc>;
  17. interrupts = <56>;
  18. clocks = <&cgu JZ4780_CLK_SMB4>;
  19. clock-frequency = <100000>;
  20. pinctrl-names = "default";
  21. pinctrl-0 = <&pins_i2c4_data>;
  22. };
  23. };