summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/iio/accel/mma8452.txt
blob: 45f5c5c5929c8b9d468c8b0e47ecc1f6489aec86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
Freescale MMA8451Q, MMA8452Q, MMA8453Q, MMA8652FC, MMA8653FC or FXLS8471Q
triaxial accelerometer

Required properties:

  - compatible: should contain one of
    * "fsl,mma8451"
    * "fsl,mma8452"
    * "fsl,mma8453"
    * "fsl,mma8652"
    * "fsl,mma8653"
    * "fsl,fxls8471"

  - reg: the I2C address of the chip

Optional properties:

  - interrupt-parent: should be the phandle for the interrupt controller

  - interrupts: interrupt mapping for GPIO IRQ

  - interrupt-names: should contain "INT1" and/or "INT2", the accelerometer's
		     interrupt line in use.

Example:

	mma8453fc@1d {
		compatible = "fsl,mma8453";
		reg = <0x1d>;
		interrupt-parent = <&gpio1>;
		interrupts = <5 0>;
		interrupt-names = "INT2";
	};