xref: /freebsd/sys/contrib/device-tree/Bindings/iio/light/apds9300.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot* Avago APDS9300 ambient light sensor
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel Vadothttps://www.avagotech.com/docs/AV02-1077EN
4*c66ec88fSEmmanuel Vadot
5*c66ec88fSEmmanuel VadotRequired properties:
6*c66ec88fSEmmanuel Vadot
7*c66ec88fSEmmanuel Vadot  - compatible : should be "avago,apds9300"
8*c66ec88fSEmmanuel Vadot  - reg : the I2C address of the sensor
9*c66ec88fSEmmanuel Vadot
10*c66ec88fSEmmanuel VadotOptional properties:
11*c66ec88fSEmmanuel Vadot
12*c66ec88fSEmmanuel Vadot  - interrupts : interrupt mapping for GPIO IRQ
13*c66ec88fSEmmanuel Vadot
14*c66ec88fSEmmanuel VadotExample:
15*c66ec88fSEmmanuel Vadot
16*c66ec88fSEmmanuel Vadotapds9300@39 {
17*c66ec88fSEmmanuel Vadot	compatible = "avago,apds9300";
18*c66ec88fSEmmanuel Vadot	reg = <0x39>;
19*c66ec88fSEmmanuel Vadot	interrupt-parent = <&gpio2>;
20*c66ec88fSEmmanuel Vadot	interrupts = <29 8>;
21*c66ec88fSEmmanuel Vadot};
22