mma8452.txt 728 B

12345678910111213141516171819202122232425262728293031323334
  1. Freescale MMA8451Q, MMA8452Q, MMA8453Q, MMA8652FC, MMA8653FC or FXLS8471Q
  2. triaxial accelerometer
  3. Required properties:
  4. - compatible: should contain one of
  5. * "fsl,mma8451"
  6. * "fsl,mma8452"
  7. * "fsl,mma8453"
  8. * "fsl,mma8652"
  9. * "fsl,mma8653"
  10. * "fsl,fxls8471"
  11. - reg: the I2C address of the chip
  12. Optional properties:
  13. - interrupt-parent: should be the phandle for the interrupt controller
  14. - interrupts: interrupt mapping for GPIO IRQ
  15. - interrupt-names: should contain "INT1" and/or "INT2", the accelerometer's
  16. interrupt line in use.
  17. Example:
  18. mma8453fc@1d {
  19. compatible = "fsl,mma8453";
  20. reg = <0x1d>;
  21. interrupt-parent = <&gpio1>;
  22. interrupts = <5 0>;
  23. interrupt-names = "INT2";
  24. };