GNU Linux-libre 4.14.303-gnu1
[releases.git] / Documentation / devicetree / bindings / iio / accel / mma8452.txt
1 Freescale MMA8451Q, MMA8452Q, MMA8453Q, MMA8652FC, MMA8653FC or FXLS8471Q
2 triaxial accelerometer
3
4 Required properties:
5
6   - compatible: should contain one of
7     * "fsl,mma8451"
8     * "fsl,mma8452"
9     * "fsl,mma8453"
10     * "fsl,mma8652"
11     * "fsl,mma8653"
12     * "fsl,fxls8471"
13
14   - reg: the I2C address of the chip
15
16 Optional properties:
17
18   - interrupt-parent: should be the phandle for the interrupt controller
19
20   - interrupts: interrupt mapping for GPIO IRQ
21
22   - interrupt-names: should contain "INT1" and/or "INT2", the accelerometer's
23                      interrupt line in use.
24
25 Example:
26
27         mma8453fc@1d {
28                 compatible = "fsl,mma8453";
29                 reg = <0x1d>;
30                 interrupt-parent = <&gpio1>;
31                 interrupts = <5 0>;
32                 interrupt-names = "INT2";
33         };