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)
89 $ref: /schemas/types.yaml#/definitions/uint32
91 Some sensors have multiple possible pins via which they can provide
92 a data ready interrupt. This selects which one.
98 $ref: /schemas/types.yaml#/definitions/flag
100 The interrupt/data ready line will be configured as open drain, which
101 is useful if several sensors share the same interrupt line.
107 additionalProperties: false
111 #include <dt-bindings/interrupt-controller/irq.h>
113 #address-cells = <1>;
116 compatible = "st,lis3lv02dl-accel";
118 interrupt-parent = <&gpio2>;
119 interrupts = <18 IRQ_TYPE_EDGE_RISING>;
120 pinctrl-0 = <&lis3lv02dl_nhk_mode>;
121 pinctrl-names = "default";