i2c-jz4780.txt 909 B

1234567891011121314151617181920212223242526272829303132333435
  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. Optional properties:
  12. - interrupt-parent: Should be the phandle of the interrupt controller that
  13. delivers interrupts to the I2C block.
  14. Example
  15. / {
  16. i2c4: i2c4@0x10054000 {
  17. compatible = "ingenic,jz4780-i2c";
  18. reg = <0x10054000 0x1000>;
  19. interrupt-parent = <&intc>;
  20. interrupts = <56>;
  21. clocks = <&cgu JZ4780_CLK_SMB4>;
  22. clock-frequency = <100000>;
  23. pinctrl-names = "default";
  24. pinctrl-0 = <&pins_i2c4_data>;
  25. };
  26. };