xref: /freebsd/sys/contrib/device-tree/Bindings/iio/accel/mma8452.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotFreescale MMA8451Q, MMA8452Q, MMA8453Q, MMA8652FC, MMA8653FC or FXLS8471Q
2*c66ec88fSEmmanuel Vadottriaxial accelerometer
3*c66ec88fSEmmanuel Vadot
4*c66ec88fSEmmanuel VadotRequired properties:
5*c66ec88fSEmmanuel Vadot
6*c66ec88fSEmmanuel Vadot  - compatible: should contain one of
7*c66ec88fSEmmanuel Vadot    * "fsl,mma8451"
8*c66ec88fSEmmanuel Vadot    * "fsl,mma8452"
9*c66ec88fSEmmanuel Vadot    * "fsl,mma8453"
10*c66ec88fSEmmanuel Vadot    * "fsl,mma8652"
11*c66ec88fSEmmanuel Vadot    * "fsl,mma8653"
12*c66ec88fSEmmanuel Vadot    * "fsl,fxls8471"
13*c66ec88fSEmmanuel Vadot
14*c66ec88fSEmmanuel Vadot  - reg: the I2C address of the chip
15*c66ec88fSEmmanuel Vadot
16*c66ec88fSEmmanuel VadotOptional properties:
17*c66ec88fSEmmanuel Vadot
18*c66ec88fSEmmanuel Vadot  - interrupts: interrupt mapping for GPIO IRQ
19*c66ec88fSEmmanuel Vadot
20*c66ec88fSEmmanuel Vadot  - interrupt-names: should contain "INT1" and/or "INT2", the accelerometer's
21*c66ec88fSEmmanuel Vadot		     interrupt line in use.
22*c66ec88fSEmmanuel Vadot
23*c66ec88fSEmmanuel Vadot  - vdd-supply: phandle to the regulator that provides vdd power to the accelerometer.
24*c66ec88fSEmmanuel Vadot
25*c66ec88fSEmmanuel Vadot  - vddio-supply: phandle to the regulator that provides vddio power to the accelerometer.
26*c66ec88fSEmmanuel Vadot
27*c66ec88fSEmmanuel VadotExample:
28*c66ec88fSEmmanuel Vadot
29*c66ec88fSEmmanuel Vadot	mma8453fc@1d {
30*c66ec88fSEmmanuel Vadot		compatible = "fsl,mma8453";
31*c66ec88fSEmmanuel Vadot		reg = <0x1d>;
32*c66ec88fSEmmanuel Vadot		interrupt-parent = <&gpio1>;
33*c66ec88fSEmmanuel Vadot		interrupts = <5 0>;
34*c66ec88fSEmmanuel Vadot		interrupt-names = "INT2";
35*c66ec88fSEmmanuel Vadot	};
36