xref: /freebsd/sys/contrib/device-tree/Bindings/iio/humidity/dht11.yaml (revision cb7aa33ac6cd46a5434798e50363136e64f3ae98)
15def4c47SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
25def4c47SEmmanuel Vadot%YAML 1.2
35def4c47SEmmanuel Vadot---
45def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/iio/humidity/dht11.yaml#
55def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
65def4c47SEmmanuel Vadot
75def4c47SEmmanuel Vadottitle: DHT11 humidity + temperature sensor
85def4c47SEmmanuel Vadot
95def4c47SEmmanuel Vadotmaintainers:
105def4c47SEmmanuel Vadot  - Harald Geyer <harald@ccbib.org>
115def4c47SEmmanuel Vadot
125def4c47SEmmanuel Vadotdescription: |
135def4c47SEmmanuel Vadot   A simple and low cost module providing a non standard single GPIO based
145def4c47SEmmanuel Vadot   interface.  It is believed the part is made by aosong but don't have
155def4c47SEmmanuel Vadot   absolute confirmation of this, or what the aosong part number is.
165def4c47SEmmanuel Vadot
175def4c47SEmmanuel Vadotproperties:
185def4c47SEmmanuel Vadot  compatible:
195def4c47SEmmanuel Vadot    const: dht11
205def4c47SEmmanuel Vadot
215def4c47SEmmanuel Vadot  reg:
225def4c47SEmmanuel Vadot    maxItems: 1
235def4c47SEmmanuel Vadot
245def4c47SEmmanuel Vadot  gpios:
255def4c47SEmmanuel Vadot    maxItems: 1
265def4c47SEmmanuel Vadot    description:
275def4c47SEmmanuel Vadot      Single, interrupt capable, GPIO used to communicate with the device.
285def4c47SEmmanuel Vadot
295def4c47SEmmanuel Vadotrequired:
305def4c47SEmmanuel Vadot  - compatible
315def4c47SEmmanuel Vadot  - gpios
325def4c47SEmmanuel Vadot
335def4c47SEmmanuel VadotadditionalProperties: false
345def4c47SEmmanuel Vadot
355def4c47SEmmanuel Vadotexamples:
365def4c47SEmmanuel Vadot  - |
37*cb7aa33aSEmmanuel Vadot    humidity-sensor {
385def4c47SEmmanuel Vadot        compatible = "dht11";
395def4c47SEmmanuel Vadot        gpios = <&gpio0 6 0>;
405def4c47SEmmanuel Vadot    };
415def4c47SEmmanuel Vadot...
42