0001 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/iio/chemical/senseair,sunrise.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Senseair Sunrise 006-0-0007 CO2 Sensor
0008
0009 maintainers:
0010 - Jacopo Mondi <jacopo@jmondi.org>
0011
0012 description: |
0013 Senseair Sunrise 006-0-0007 is a NDIR CO2 sensor. It supports I2C or UART buses
0014 for communications and control.
0015
0016 Datasheets:
0017 https://rmtplusstoragesenseair.blob.core.windows.net/docs/Dev/publicerat/PSP11704.pdf
0018 https://rmtplusstoragesenseair.blob.core.windows.net/docs/Dev/publicerat/PSH11649.pdf
0019 https://rmtplusstoragesenseair.blob.core.windows.net/docs/Dev/publicerat/TDE5531.pdf
0020 https://rmtplusstoragesenseair.blob.core.windows.net/docs/Market/publicerat/TDE7318.pdf
0021
0022 properties:
0023 compatible:
0024 const: senseair,sunrise-006-0-0007
0025
0026 reg:
0027 maxItems: 1
0028
0029 ndry-gpios:
0030 maxItems: 1
0031 description:
0032 Phandle to the GPIO line connected to the nDRY pin. Typically active low.
0033
0034 en-gpios:
0035 maxItems: 1
0036 description:
0037 Phandle to the GPIO line connected to the EN pin. Typically active high.
0038
0039 required:
0040 - compatible
0041 - reg
0042
0043 additionalProperties: false
0044
0045 examples:
0046 - |
0047 i2c {
0048 #address-cells = <1>;
0049 #size-cells = <0>;
0050
0051 co2-sensor@68 {
0052 compatible = "senseair,sunrise-006-0-0007";
0053 reg = <0x68>;
0054 };
0055 };