1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/iio/imu/st,lsm6dsx.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: STM 6-axis (acc + gyro) IMU Mems sensors
10 - Lorenzo Bianconi <lorenzo@kernel.org>
13 Devices have both I2C and SPI interfaces.
38 - const: st,asm330lhhx
44 - const: st,lsm6dsv16x
48 - const: st,lsm6dso16is
60 Supports up to 2 interrupt lines via the INT1 and INT2 pins.
63 description: if defined provides VDD power to the sensor.
66 description: if defined provides VDD IO power to the sensor.
69 $ref: /schemas/types.yaml#/definitions/uint32
71 The pin on the package that will be used to signal data ready
78 description: enable/disable internal i2c controller pullup resistors.
80 st,disable-sensor-hub:
83 Enable/disable internal i2c controller slave autoprobing at bootstrap.
84 Disable sensor-hub is useful if i2c controller clock/data lines are
85 connected through a pull-up with other chip lines (e.g. SDO/SA0).
90 The interrupt/data ready line will be configured as open drain, which
91 is useful if several sensors share the same interrupt line.
94 $ref: /schemas/types.yaml#/definitions/flag
97 description: an optional 3x3 mounting rotation matrix
104 - $ref: /schemas/iio/iio.yaml#
105 - $ref: /schemas/spi/spi-peripheral-props.yaml#
107 unevaluatedProperties: false
111 #include <dt-bindings/interrupt-controller/irq.h>
113 #address-cells = <1>;
117 compatible = "st,lsm6dsm";
119 interrupt-parent = <&gpio0>;
120 interrupts = <0 IRQ_TYPE_EDGE_RISING>;