i2c-pnx.txt 878 B

12345678910111213141516171819202122232425262728293031323334353637
  1. * NXP PNX I2C Controller
  2. Required properties:
  3. - reg: Offset and length of the register set for the device
  4. - compatible: should be "nxp,pnx-i2c"
  5. - interrupts: configure one interrupt line
  6. - #address-cells: always 1 (for i2c addresses)
  7. - #size-cells: always 0
  8. - interrupt-parent: the phandle for the interrupt controller that
  9. services interrupts for this device.
  10. Optional properties:
  11. - clock-frequency: desired I2C bus clock frequency in Hz, Default: 100000 Hz
  12. Examples:
  13. i2c1: i2c@400a0000 {
  14. compatible = "nxp,pnx-i2c";
  15. reg = <0x400a0000 0x100>;
  16. interrupt-parent = <&mic>;
  17. interrupts = <51 0>;
  18. #address-cells = <1>;
  19. #size-cells = <0>;
  20. };
  21. i2c2: i2c@400a8000 {
  22. compatible = "nxp,pnx-i2c";
  23. reg = <0x400a8000 0x100>;
  24. interrupt-parent = <&mic>;
  25. interrupts = <50 0>;
  26. #address-cells = <1>;
  27. #size-cells = <0>;
  28. clock-frequency = <100000>;
  29. };