blob: bef52f2e290f88a956557d0cb07a43c215eb883a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
/* STMicroelectronics lsm6ds3 sensor */
Required properties:
- compatible : should be "st,lsm6ds3"
- reg : the I2C address of the sensor
Optional properties:
- interrupt-parent : should be the phandle for the interrupt controller
- interrupts : interrupt mapping for GPIO IRQ, it should by configured with
flags IRQ_TYPE_EDGE_RISING
Example:
lsm6ds3@6b {
compatible = "st,lsm6ds3";
reg = <0x6b>;
interrupt-parent = <&gpio>;
interrupts = <1 IRQ_TYPE_EDGE_RISING>;
};
|