1 * ST_LSM6DSx driver for STM 6-axis (acc + gyro) imu Mems sensors
4 - compatible: must be one of:
11 - reg: i2c address of the sensor / spi cs line
14 - st,drdy-int-pin: the pin on the package that will be used to signal
15 "data ready" (valid values: 1 or 2).
16 - st,pullups : enable/disable internal i2c controller pullup resistors.
17 - drive-open-drain: the interrupt/data ready line will be configured
18 as open drain, which is useful if several sensors share the same
19 interrupt line. This is a boolean property.
20 (This binding is taken from pinctrl/pinctrl-bindings.txt)
21 If the requested interrupt is configured as IRQ_TYPE_LEVEL_HIGH or
22 IRQ_TYPE_EDGE_RISING a pull-down resistor is needed to drive the line
23 when it is not active, whereas a pull-up one is needed when interrupt
24 line is configured as IRQ_TYPE_LEVEL_LOW or IRQ_TYPE_EDGE_FALLING.
25 - interrupts: interrupt mapping for IRQ. It should be configured with
26 flags IRQ_TYPE_LEVEL_HIGH, IRQ_TYPE_EDGE_RISING, IRQ_TYPE_LEVEL_LOW or
27 IRQ_TYPE_EDGE_FALLING.
29 Refer to interrupt-controller/interrupts.txt for generic interrupt
35 compatible = "st,lsm6dsm";
37 interrupt-parent = <&gpio0>;
38 interrupts = <0 IRQ_TYPE_EDGE_RISING>;