1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/iio/chemical/plantower,pms7003.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Plantower PMS7003 air pollution sensor
8
9maintainers:
10  - Tomasz Duszynski <tduszyns@gmail.com>
11
12description: |
13  Air pollution sensor capable of measuring mass concentration of dust
14  particles.
15
16properties:
17  compatible:
18    enum:
19      - plantower,pms1003
20      - plantower,pms3003
21      - plantower,pms5003
22      - plantower,pms6003
23      - plantower,pms7003
24      - plantower,pmsa003
25
26  vcc-supply:
27    description: regulator that provides power to the sensor
28    maxItems: 1
29
30  plantower,set-gpios:
31    description: GPIO connected to the SET line
32    maxItems: 1
33
34  reset-gpios:
35    description: GPIO connected to the RESET line
36    maxItems: 1
37
38required:
39  - compatible
40  - vcc-supply
41
42examples:
43  - |
44    serial {
45      air-pollution-sensor {
46        compatible = "plantower,pms7003";
47        vcc-supply = <&reg_vcc5v0>;
48      };
49    };
50
51...
52