1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/iio/chemical/atlas,sensor.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Atlas Scientific OEM + EZO sensors
8
9maintainers:
10  - Matt Ranostay <matt.ranostay@konsulko.com>
11
12description: |
13  Atlas Scientific OEM + EZO sensors connected via I2C
14
15  Datasheets:
16    http://www.atlas-scientific.com/_files/_datasheets/_oem/DO_oem_datasheet.pdf
17    http://www.atlas-scientific.com/_files/_datasheets/_oem/EC_oem_datasheet.pdf
18    http://www.atlas-scientific.com/_files/_datasheets/_oem/ORP_oem_datasheet.pdf
19    http://www.atlas-scientific.com/_files/_datasheets/_oem/pH_oem_datasheet.pdf
20    http://www.atlas-scientific.com/_files/_datasheets/_oem/RTD_oem_datasheet.pdf
21    http://www.atlas-scientific.com/_files/_datasheets/_probe/EZO_CO2_Datasheet.pdf
22
23properties:
24  compatible:
25    enum:
26      - atlas,do-sm
27      - atlas,ec-sm
28      - atlas,orp-sm
29      - atlas,ph-sm
30      - atlas,rtd-sm
31      - atlas,co2-ezo
32
33  reg:
34     maxItems: 1
35
36  interrupts:
37     maxItems: 1
38
39required:
40  - compatible
41  - reg
42
43additionalProperties: false
44
45examples:
46  - |
47    i2c {
48      #address-cells = <1>;
49      #size-cells = <0>;
50
51      atlas@66 {
52        compatible = "atlas,orp-sm";
53        reg = <0x66>;
54        interrupt-parent = <&gpio1>;
55        interrupts = <16 2>;
56      };
57    };
58