xref: /freebsd/sys/contrib/device-tree/Bindings/iio/pressure/meas,ms5611.yaml (revision 8bab661a3316d8bd9b9fbd11a3b4371b91507bd2)
15def4c47SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
25def4c47SEmmanuel Vadot%YAML 1.2
35def4c47SEmmanuel Vadot---
45def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/iio/pressure/meas,ms5611.yaml#
55def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
65def4c47SEmmanuel Vadot
75def4c47SEmmanuel Vadottitle: Measurement Specialities ms5611 and similar pressure sensors
85def4c47SEmmanuel Vadot
95def4c47SEmmanuel Vadotmaintainers:
105def4c47SEmmanuel Vadot  - Tomasz Duszynski <tduszyns@gmail.com>
115def4c47SEmmanuel Vadot
125def4c47SEmmanuel Vadotdescription: |
135def4c47SEmmanuel Vadot  Pressure sensors from MEAS Switzerland with SPI and I2C bus interfaces.
145def4c47SEmmanuel Vadot
155def4c47SEmmanuel Vadotproperties:
165def4c47SEmmanuel Vadot  compatible:
175def4c47SEmmanuel Vadot    enum:
185def4c47SEmmanuel Vadot      - meas,ms5607
195def4c47SEmmanuel Vadot      - meas,ms5611
205def4c47SEmmanuel Vadot
215def4c47SEmmanuel Vadot  reg:
225def4c47SEmmanuel Vadot    maxItems: 1
235def4c47SEmmanuel Vadot
245def4c47SEmmanuel Vadot  vdd-supply: true
255def4c47SEmmanuel Vadot
265def4c47SEmmanuel Vadot  spi-max-frequency:
275def4c47SEmmanuel Vadot    maximum: 20000000
285def4c47SEmmanuel Vadot
295def4c47SEmmanuel Vadotrequired:
305def4c47SEmmanuel Vadot  - compatible
315def4c47SEmmanuel Vadot  - reg
325def4c47SEmmanuel Vadot
33*8bab661aSEmmanuel VadotallOf:
34*8bab661aSEmmanuel Vadot  - $ref: /schemas/spi/spi-peripheral-props.yaml#
35*8bab661aSEmmanuel Vadot
36*8bab661aSEmmanuel VadotunevaluatedProperties: false
375def4c47SEmmanuel Vadot
385def4c47SEmmanuel Vadotexamples:
395def4c47SEmmanuel Vadot  - |
405def4c47SEmmanuel Vadot    i2c {
415def4c47SEmmanuel Vadot        #address-cells = <1>;
425def4c47SEmmanuel Vadot        #size-cells = <0>;
435def4c47SEmmanuel Vadot
445def4c47SEmmanuel Vadot        pressure@77 {
455def4c47SEmmanuel Vadot            compatible = "meas,ms5607";
465def4c47SEmmanuel Vadot            reg = <0x77>;
475def4c47SEmmanuel Vadot            vdd-supply = <&ldo_3v3_gnss>;
485def4c47SEmmanuel Vadot        };
495def4c47SEmmanuel Vadot    };
505def4c47SEmmanuel Vadot  - |
515def4c47SEmmanuel Vadot    spi {
525def4c47SEmmanuel Vadot        #address-cells = <1>;
535def4c47SEmmanuel Vadot        #size-cells = <0>;
545def4c47SEmmanuel Vadot        pressure@0 {
555def4c47SEmmanuel Vadot            compatible = "meas,ms5611";
565def4c47SEmmanuel Vadot            reg = <0>;
575def4c47SEmmanuel Vadot            vdd-supply = <&ldo_3v3_gnss>;
58*8bab661aSEmmanuel Vadot            spi-max-frequency = <20000000>;
595def4c47SEmmanuel Vadot        };
605def4c47SEmmanuel Vadot    };
615def4c47SEmmanuel Vadot...
62