0001 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/iio/humidity/dht11.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: DHT11 humidity + temperature sensor
0008
0009 maintainers:
0010 - Harald Geyer <harald@ccbib.org>
0011
0012 description: |
0013 A simple and low cost module providing a non standard single GPIO based
0014 interface. It is believed the part is made by aosong but don't have
0015 absolute confirmation of this, or what the aosong part number is.
0016
0017 properties:
0018 compatible:
0019 const: dht11
0020
0021 reg:
0022 maxItems: 1
0023
0024 gpios:
0025 maxItems: 1
0026 description:
0027 Single, interrupt capable, GPIO used to communicate with the device.
0028
0029 required:
0030 - compatible
0031 - gpios
0032
0033 additionalProperties: false
0034
0035 examples:
0036 - |
0037 humidity_sensor {
0038 compatible = "dht11";
0039 gpios = <&gpio0 6 0>;
0040 };
0041 ...