st33zp24-i2c.txt 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. * STMicroelectronics SAS. ST33ZP24 TPM SoC
  2. Required properties:
  3. - compatible: Should be "st,st33zp24-i2c".
  4. - clock-frequency: I²C work frequency.
  5. - reg: address on the bus
  6. Optional ST33ZP24 Properties:
  7. - interrupt-parent: phandle for the interrupt gpio controller
  8. - interrupts: GPIO interrupt to which the chip is connected
  9. - lpcpd-gpios: Output GPIO pin used for ST33ZP24 power management D1/D2 state.
  10. If set, power must be present when the platform is going into sleep/hibernate mode.
  11. Optional SoC Specific Properties:
  12. - pinctrl-names: Contains only one value - "default".
  13. - pintctrl-0: Specifies the pin control groups used for this controller.
  14. Example (for ARM-based BeagleBoard xM with ST33ZP24 on I2C2):
  15. &i2c2 {
  16. status = "okay";
  17. st33zp24: st33zp24@13 {
  18. compatible = "st,st33zp24-i2c";
  19. reg = <0x13>;
  20. clock-frequency = <400000>;
  21. interrupt-parent = <&gpio5>;
  22. interrupts = <7 IRQ_TYPE_LEVEL_HIGH>;
  23. lpcpd-gpios = <&gpio5 15 GPIO_ACTIVE_HIGH>;
  24. };
  25. };