1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/iio/pressure/sensirion,sdp500.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: sdp500/sdp510 pressure sensor with I2C bus interface 8 9maintainers: 10 - Petar Stoykov <petar.stoykov@prodrive-technologies.com> 11 12description: | 13 Pressure sensor from Sensirion with I2C bus interface. 14 There is no software difference between sdp500 and sdp510. 15 16properties: 17 compatible: 18 oneOf: 19 - items: 20 - const: sensirion,sdp510 21 - const: sensirion,sdp500 22 - const: sensirion,sdp500 23 24 reg: 25 maxItems: 1 26 27 vdd-supply: true 28 29required: 30 - compatible 31 - reg 32 - vdd-supply 33 34additionalProperties: false 35 36examples: 37 - | 38 i2c { 39 #address-cells = <1>; 40 #size-cells = <0>; 41 pressure@40 { 42 compatible = "sensirion,sdp500"; 43 reg = <0x40>; 44 vdd-supply = <&foo>; 45 }; 46 }; 47