Path: blob/main/sys/contrib/device-tree/Bindings/iio/accel/mma8452.txt
48523 views
Freescale MMA8451Q, MMA8452Q, MMA8453Q, MMA8652FC, MMA8653FC or FXLS8471Q1triaxial accelerometer23Required properties:45- compatible: should contain one of6* "fsl,mma8451"7* "fsl,mma8452"8* "fsl,mma8453"9* "fsl,mma8652"10* "fsl,mma8653"11* "fsl,fxls8471"1213- reg: the I2C address of the chip1415Optional properties:1617- interrupts: interrupt mapping for GPIO IRQ1819- interrupt-names: should contain "INT1" and/or "INT2", the accelerometer's20interrupt line in use.2122- vdd-supply: phandle to the regulator that provides vdd power to the accelerometer.2324- vddio-supply: phandle to the regulator that provides vddio power to the accelerometer.2526Example:2728mma8453fc@1d {29compatible = "fsl,mma8453";30reg = <0x1d>;31interrupt-parent = <&gpio1>;32interrupts = <5 0>;33interrupt-names = "INT2";34};353637