dht11.yaml 869 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/iio/humidity/dht11.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: DHT11 humidity + temperature sensor
  7. maintainers:
  8. - Harald Geyer <harald@ccbib.org>
  9. description: |
  10. A simple and low cost module providing a non standard single GPIO based
  11. interface. It is believed the part is made by aosong but don't have
  12. absolute confirmation of this, or what the aosong part number is.
  13. properties:
  14. compatible:
  15. const: dht11
  16. reg:
  17. maxItems: 1
  18. gpios:
  19. maxItems: 1
  20. description:
  21. Single, interrupt capable, GPIO used to communicate with the device.
  22. required:
  23. - compatible
  24. - gpios
  25. additionalProperties: false
  26. examples:
  27. - |
  28. humidity-sensor {
  29. compatible = "dht11";
  30. gpios = <&gpio0 6 0>;
  31. };
  32. ...