i2c-xlp9xx.txt 616 B

12345678910111213141516171819202122
  1. Device tree configuration for the I2C controller on the XLP9xx/5xx SoC
  2. Required properties:
  3. - compatible : should be "netlogic,xlp980-i2c"
  4. - reg : bus address start and address range size of device
  5. - interrupts : interrupt number
  6. Optional properties:
  7. - clock-frequency : frequency of bus clock in Hz
  8. Defaults to 100 KHz when the property is not specified
  9. Example:
  10. i2c0: i2c@113100 {
  11. compatible = "netlogic,xlp980-i2c";
  12. #address-cells = <1>;
  13. #size-cells = <0>;
  14. reg = <0 0x113100 0x100>;
  15. clock-frequency = <400000>;
  16. interrupts = <30>;
  17. interrupt-parent = <&pic>;
  18. };