Newer
Older
barebox / dts / Bindings / iio / accel / mma8452.txt
@Sascha Hauer Sascha Hauer on 10 Dec 2015 527 bytes dts: update to v4.4-rc1
Freescale MMA8452Q, MMA8453Q, MMA8652FC or MMA8653FC triaxial accelerometer

Required properties:

  - compatible: should contain one of
    * "fsl,mma8452"
    * "fsl,mma8453"
    * "fsl,mma8652"
    * "fsl,mma8653"
  - reg: the I2C address of the chip

Optional properties:

  - interrupt-parent: should be the phandle for the interrupt controller
  - interrupts: interrupt mapping for GPIO IRQ

Example:

	mma8453fc@1d {
		compatible = "fsl,mma8453";
		reg = <0x1d>;
		interrupt-parent = <&gpio1>;
		interrupts = <5 0>;
	};