1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/iio/st,st-sensors.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: STMicroelectronics MEMS sensors
10 Note that whilst this covers many STMicro MEMs sensors, some more complex
11 IMUs need their own bindings.
12 The STMicroelectronics sensor devices are pretty straight-forward I2C or
13 SPI devices, all sharing the same device tree descriptions no matter what
17 - Denis Ciocca <denis.ciocca@st.com>
22 Some values are deprecated.
23 st,lis3lv02d (deprecated, use st,lis3lv02dl-accel)
24 st,lis302dl-spi (deprecated, use st,lis3lv02dl-accel)
88 $ref: /schemas/types.yaml#/definitions/uint32
90 Some sensors have multiple possible pins via which they can provide
91 a data ready interrupt. This selects which one.
97 $ref: /schemas/types.yaml#/definitions/flag
99 The interrupt/data ready line will be configured as open drain, which
100 is useful if several sensors share the same interrupt line.
106 additionalProperties: false
110 #include <dt-bindings/interrupt-controller/irq.h>
112 #address-cells = <1>;
115 compatible = "st,lis3lv02dl-accel";
117 interrupt-parent = <&gpio2>;
118 interrupts = <18 IRQ_TYPE_EDGE_RISING>;
119 pinctrl-0 = <&lis3lv02dl_nhk_mode>;
120 pinctrl-names = "default";