42 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/iio/humidity/dht11.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: DHT11 humidity + temperature sensor8 9maintainers:10 - Harald Geyer <harald@ccbib.org>11 12description: |13 A simple and low cost module providing a non standard single GPIO based14 interface. It is believed the part is made by aosong but don't have15 absolute confirmation of this, or what the aosong part number is.16 17properties:18 compatible:19 const: dht1120 21 reg:22 maxItems: 123 24 gpios:25 maxItems: 126 description:27 Single, interrupt capable, GPIO used to communicate with the device.28 29required:30 - compatible31 - gpios32 33additionalProperties: false34 35examples:36 - |37 humidity-sensor {38 compatible = "dht11";39 gpios = <&gpio0 6 0>;40 };41...42