1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/iio/pressure/meas,ms5611.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Measurement Specialities ms5611 and similar pressure sensors 8 9maintainers: 10 - Tomasz Duszynski <tduszyns@gmail.com> 11 12description: | 13 Pressure sensors from MEAS Switzerland with SPI and I2C bus interfaces. 14 15properties: 16 compatible: 17 enum: 18 - meas,ms5607 19 - meas,ms5611 20 21 reg: 22 maxItems: 1 23 24 vdd-supply: true 25 26 spi-max-frequency: 27 maximum: 20000000 28 29required: 30 - compatible 31 - reg 32 33allOf: 34 - $ref: /schemas/spi/spi-peripheral-props.yaml# 35 36unevaluatedProperties: false 37 38examples: 39 - | 40 i2c { 41 #address-cells = <1>; 42 #size-cells = <0>; 43 44 pressure@77 { 45 compatible = "meas,ms5607"; 46 reg = <0x77>; 47 vdd-supply = <&ldo_3v3_gnss>; 48 }; 49 }; 50 - | 51 spi { 52 #address-cells = <1>; 53 #size-cells = <0>; 54 pressure@0 { 55 compatible = "meas,ms5611"; 56 reg = <0>; 57 vdd-supply = <&ldo_3v3_gnss>; 58 spi-max-frequency = <20000000>; 59 }; 60 }; 61... 62