Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-src
Path: blob/main/sys/contrib/device-tree/Bindings/iio/st-sensors.txt
48378 views
1
STMicroelectronics MEMS sensors
2
3
The STMicroelectronics sensor devices are pretty straight-forward I2C or
4
SPI devices, all sharing the same device tree descriptions no matter what
5
type of sensor it is.
6
7
Required properties:
8
- compatible: see the list of valid compatible strings below
9
- reg: the I2C or SPI address the device will respond to
10
11
Optional properties:
12
- vdd-supply: an optional regulator that needs to be on to provide VDD
13
power to the sensor.
14
- vddio-supply: an optional regulator that needs to be on to provide the
15
VDD IO power to the sensor.
16
- st,drdy-int-pin: the pin on the package that will be used to signal
17
"data ready" (valid values: 1 or 2). This property is not configurable
18
on all sensors.
19
- drive-open-drain: the interrupt/data ready line will be configured
20
as open drain, which is useful if several sensors share the same
21
interrupt line. (This binding is taken from pinctrl/pinctrl-bindings.txt)
22
This is a boolean property.
23
24
Sensors may also have applicable pin control settings, those use the
25
standard bindings from pinctrl/pinctrl-bindings.txt.
26
27
Valid compatible strings:
28
29
Accelerometers:
30
- st,lis3lv02d (deprecated, use st,lis3lv02dl-accel)
31
- st,lis302dl-spi (deprecated, use st,lis3lv02dl-accel)
32
- st,lis3lv02dl-accel
33
- st,lsm303dlh-accel
34
- st,lsm303dlhc-accel
35
- st,lis3dh-accel
36
- st,lsm330d-accel
37
- st,lsm330dl-accel
38
- st,lsm330dlc-accel
39
- st,lis331dl-accel
40
- st,lis331dlh-accel
41
- st,lsm303dl-accel
42
- st,lsm303dlm-accel
43
- st,lsm330-accel
44
- st,lsm303agr-accel
45
- st,lis2dh12-accel
46
- st,h3lis331dl-accel
47
- st,lng2dm-accel
48
- st,lis3l02dq
49
- st,lis2dw12
50
- st,lis3dhh
51
- st,lis3de
52
- st,lis2de12
53
- st,lis2hh12
54
55
Gyroscopes:
56
- st,l3g4200d-gyro
57
- st,lsm330d-gyro
58
- st,lsm330dl-gyro
59
- st,lsm330dlc-gyro
60
- st,l3gd20-gyro
61
- st,l3gd20h-gyro
62
- st,l3g4is-gyro
63
- st,lsm330-gyro
64
- st,lsm9ds0-gyro
65
66
Magnetometers:
67
- st,lsm303agr-magn
68
- st,lsm303dlh-magn
69
- st,lsm303dlhc-magn
70
- st,lsm303dlm-magn
71
- st,lis3mdl-magn
72
- st,lis2mdl
73
- st,lsm9ds1-magn
74
75
Pressure sensors:
76
- st,lps001wp-press
77
- st,lps25h-press
78
- st,lps331ap-press
79
- st,lps22hb-press
80
- st,lps33hw
81
- st,lps35hw
82
- st,lps22hh
83
84