xref: /freebsd/sys/contrib/device-tree/Bindings/iio/light/max44009.txt (revision ebacd8013fe5f7fdf9f6a5b286f6680dd2891036)
1* MAX44009 Ambient Light Sensor
2
3Required properties:
4
5- compatible: should be "maxim,max44009"
6- reg: the I2C address of the device (default is <0x4a>)
7
8Optional properties:
9
10- interrupts: interrupt mapping for GPIO IRQ. Should be configured with
11  IRQ_TYPE_EDGE_FALLING.
12
13Refer to interrupt-controller/interrupts.txt for generic interrupt client
14node bindings.
15
16Example:
17
18light-sensor@4a {
19	compatible = "maxim,max44009";
20	reg = <0x4a>;
21
22	interrupt-parent = <&gpio1>;
23	interrupts = <17 IRQ_TYPE_EDGE_FALLING>;
24};
25