dht11.txt 351 B

123456789101112131415
  1. * DHT11 humidity/temperature sensor (and compatibles like DHT22)
  2. Required properties:
  3. - compatible: Should be "dht11"
  4. - gpios: Should specify the GPIO connected to the sensor's data
  5. line, see "gpios property" in
  6. Documentation/devicetree/bindings/gpio/gpio.txt.
  7. Example:
  8. humidity_sensor {
  9. compatible = "dht11";
  10. gpios = <&gpio0 6 0>;
  11. }