1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/iio/pressure/hoperf,hp03.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: HopeRF HP03 digital pressure/temperature sensors
8
9maintainers:
10  - Marek Vasut <marex@denx.de>
11
12description: |
13  Digital pressure and temperature sensor with an I2C interface.
14
15properties:
16  compatible:
17    const: hoperf,hp03
18
19  reg:
20    maxItems: 1
21
22  xclr-gpios:
23    description:
24      The XCLR pin is a reset of the ADC in the chip, it must be pulled
25      HI before the conversion and readout of the value from the ADC
26      registers and pulled LO afterward.
27    maxItems: 1
28
29required:
30  - compatible
31  - reg
32
33additionalProperties: false
34
35examples:
36  - |
37    i2c {
38        #address-cells = <1>;
39        #size-cells = <0>;
40
41        pressure@77 {
42            compatible = "hoperf,hp03";
43            reg = <0x77>;
44            xclr-gpios = <&portc 0 0x0>;
45        };
46    };
47...
48