xref: /freebsd/sys/contrib/device-tree/Bindings/iio/pressure/murata,zpa2326.yaml (revision 18054d0220cfc8df9c9568c437bd6fbb59d53c3c)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/iio/pressure/murata,zpa2326.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Murata ZPA2326 pressure sensor
8
9maintainers:
10  - Jonathan Cameron <jic23@kernel.org>
11
12description: |
13  Pressure sensor from Murata with SPI and I2C bus interfaces.
14
15
16properties:
17  compatible:
18    const: murata,zpa2326
19
20  reg:
21    maxItems: 1
22
23  vdd-supply: true
24  vref-supply: true
25
26  interrupts:
27    maxItems: 1
28
29  spi-max-frequency:
30    maximum: 1000000
31
32required:
33  - compatible
34  - reg
35
36additionalProperties: false
37
38examples:
39  - |
40    i2c {
41        #address-cells = <1>;
42        #size-cells = <0>;
43
44        pressure@5c {
45            compatible = "murata,zpa2326";
46            reg = <0x5c>;
47            interrupt-parent = <&gpio>;
48            interrupts = <12>;
49            vdd-supply = <&ldo_1v8_gnss>;
50        };
51    };
52  - |
53    spi {
54        #address-cells = <1>;
55        #size-cells = <0>;
56        pressure@0 {
57            compatible = "murata,zpa2326";
58            reg = <0>;
59            spi-max-frequency = <500000>;
60        };
61    };
62...
63