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 sensors
8
9maintainers:
10  - Matt Ranostay <matt.ranostay@konsulko.com>
11
12description: |
13  Atlas Scientific OEM 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
21properties:
22  compatible:
23    enum:
24      - atlas,do-sm
25      - atlas,ec-sm
26      - atlas,orp-sm
27      - atlas,ph-sm
28
29  reg:
30     maxItems: 1
31
32  interrupts:
33     maxItems: 1
34
35required:
36  - compatible
37  - reg
38
39additionalProperties: false
40
41examples:
42  - |
43    i2c {
44      #address-cells = <1>;
45      #size-cells = <0>;
46
47      atlas@66 {
48        compatible = "atlas,orp-sm";
49        reg = <0x66>;
50        interrupt-parent = <&gpio1>;
51        interrupts = <16 2>;
52      };
53    };
54