xref: /freebsd/sys/contrib/device-tree/Bindings/iio/proximity/vl53l0x.txt (revision 6be3386466ab79a84b48429ae66244f21526d3df)
1c66ec88fSEmmanuel VadotST VL53L0X ToF ranging sensor
2c66ec88fSEmmanuel Vadot
3c66ec88fSEmmanuel VadotRequired properties:
4c66ec88fSEmmanuel Vadot	- compatible: must be "st,vl53l0x"
5c66ec88fSEmmanuel Vadot	- reg: i2c address where to find the device
6c66ec88fSEmmanuel Vadot
7*6be33864SEmmanuel VadotOptional properties:
8*6be33864SEmmanuel Vadot	- interrupts:	Interrupt for notifying that new measurement is ready.
9*6be33864SEmmanuel Vadot			If no interrupt is specified, polling is used.
10*6be33864SEmmanuel Vadot
11c66ec88fSEmmanuel VadotExample:
12c66ec88fSEmmanuel Vadot
13c66ec88fSEmmanuel Vadotvl53l0x@29 {
14c66ec88fSEmmanuel Vadot	compatible = "st,vl53l0x";
15c66ec88fSEmmanuel Vadot	reg = <0x29>;
16*6be33864SEmmanuel Vadot	interrupt-parent = <&gpio>;
17*6be33864SEmmanuel Vadot	interrupts = <23 IRQ_TYPE_EDGE_FALLING>;
18c66ec88fSEmmanuel Vadot};
19