xref: /freebsd/sys/contrib/device-tree/Bindings/iio/accel/mma8452.txt (revision 2e3f49888ec8851bafb22011533217487764fdb0)
1Freescale MMA8451Q, MMA8452Q, MMA8453Q, MMA8652FC, MMA8653FC or FXLS8471Q
2triaxial accelerometer
3
4Required 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
16Optional properties:
17
18  - interrupts: interrupt mapping for GPIO IRQ
19
20  - interrupt-names: should contain "INT1" and/or "INT2", the accelerometer's
21		     interrupt line in use.
22
23  - vdd-supply: phandle to the regulator that provides vdd power to the accelerometer.
24
25  - vddio-supply: phandle to the regulator that provides vddio power to the accelerometer.
26
27Example:
28
29	mma8453fc@1d {
30		compatible = "fsl,mma8453";
31		reg = <0x1d>;
32		interrupt-parent = <&gpio1>;
33		interrupts = <5 0>;
34		interrupt-names = "INT2";
35	};
36