i2c-cadence.txt 928 B

12345678910111213141516171819202122232425262728
  1. Binding for the Cadence I2C controller
  2. Required properties:
  3. - reg: Physical base address and size of the controller's register area.
  4. - compatible: Should contain one of:
  5. * "cdns,i2c-r1p10"
  6. Note: Use this when cadence i2c controller version 1.0 is used.
  7. * "cdns,i2c-r1p14"
  8. Note: Use this when cadence i2c controller version 1.4 is used.
  9. - clocks: Input clock specifier. Refer to common clock bindings.
  10. - interrupts: Interrupt specifier. Refer to interrupt bindings.
  11. - #address-cells: Should be 1.
  12. - #size-cells: Should be 0.
  13. Optional properties:
  14. - clock-frequency: Desired operating frequency, in Hz, of the bus.
  15. - clock-names: Input clock name, should be 'pclk'.
  16. Example:
  17. i2c@e0004000 {
  18. compatible = "cdns,i2c-r1p10";
  19. clocks = <&clkc 38>;
  20. interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
  21. reg = <0xe0004000 0x1000>;
  22. clock-frequency = <400000>;
  23. #address-cells = <1>;
  24. #size-cells = <0>;
  25. };