1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/iio/flow/sensirion,slf3s.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Sensirion SLF3S liquid flow sensor 8 9maintainers: 10 - Wadim Mueller <wafgo01@gmail.com> 11 12description: 13 Family of digital liquid-flow sensors from Sensirion with I2C interface. All 14 family members share the same register map; sub-types differ only in the flow 15 scale factor and the calibrated measurement range. The sub-type can be 16 identified from the product-information register. 17 18properties: 19 compatible: 20 enum: 21 - sensirion,slf3s-0600f 22 - sensirion,slf3s-1300f 23 - sensirion,slf3s-4000b 24 25 reg: 26 maxItems: 1 27 28 vdd-supply: true 29 30 interrupts: 31 maxItems: 1 32 33required: 34 - compatible 35 - reg 36 - vdd-supply 37 38additionalProperties: false 39 40examples: 41 - | 42 #include <dt-bindings/interrupt-controller/irq.h> 43 44 i2c { 45 #address-cells = <1>; 46 #size-cells = <0>; 47 48 flow-sensor@8 { 49 compatible = "sensirion,slf3s-0600f"; 50 reg = <0x08>; 51 vdd-supply = <®_3v3>; 52 interrupt-parent = <&gpio0>; 53 interrupts = <0 IRQ_TYPE_EDGE_RISING>; 54 }; 55 }; 56