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.
42 Supports up to 2 interrupt lines via the INT1 and INT2 pins.
44 spi-max-frequency: true
47 description: if defined provides VDD power to the sensor.
50 description: if defined provides VDD IO power to the sensor.
53 $ref: '/schemas/types.yaml#/definitions/uint32'
55 The pin on the package that will be used to signal data ready
62 description: enable/disable internal i2c controller pullup resistors.
67 The interrupt/data ready line will be configured as open drain, which
68 is useful if several sensors share the same interrupt line.
71 $ref: /schemas/types.yaml#/definitions/flag
73 additionalProperties: false
81 #include <dt-bindings/interrupt-controller/irq.h>
87 compatible = "st,lsm6dsm";
89 interrupt-parent = <&gpio0>;
90 interrupts = <0 IRQ_TYPE_EDGE_RISING>;