i2c-img-scb.txt 814 B

1234567891011121314151617181920212223242526
  1. IMG Serial Control Bus (SCB) I2C Controller
  2. Required Properties:
  3. - compatible: "img,scb-i2c"
  4. - reg: Physical base address and length of controller registers
  5. - interrupts: Interrupt number used by the controller
  6. - clocks : Should contain a clock specifier for each entry in clock-names
  7. - clock-names : Should contain the following entries:
  8. "scb", for the SCB core clock.
  9. "sys", for the system clock.
  10. - clock-frequency: The I2C bus frequency in Hz
  11. - #address-cells: Should be <1>
  12. - #size-cells: Should be <0>
  13. Example:
  14. i2c@18100000 {
  15. compatible = "img,scb-i2c";
  16. reg = <0x18100000 0x200>;
  17. interrupts = <GIC_SHARED 2 IRQ_TYPE_LEVEL_HIGH>;
  18. clocks = <&i2c0_clk>, <&system_clk>;
  19. clock-names = "scb", "sys";
  20. clock-frequency = <400000>;
  21. #address-cells = <1>;
  22. #size-cells = <0>;
  23. };