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