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