xref: /freebsd/sys/contrib/device-tree/Bindings/iio/chemical/bosch,bme680.yaml (revision 2846c90520eb4cc74e24d586a0ea0f4a0006bc73)
1*2846c905SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2*2846c905SEmmanuel Vadot%YAML 1.2
3*2846c905SEmmanuel Vadot---
4*2846c905SEmmanuel Vadot$id: http://devicetree.org/schemas/iio/chemical/bosch,bme680.yaml#
5*2846c905SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*2846c905SEmmanuel Vadot
7*2846c905SEmmanuel Vadottitle: Bosch BME680 Gas sensor
8*2846c905SEmmanuel Vadot
9*2846c905SEmmanuel Vadotmaintainers:
10*2846c905SEmmanuel Vadot  - Vasileios Amoiridis <vassilisamir@gmail.com>
11*2846c905SEmmanuel Vadot
12*2846c905SEmmanuel Vadotdescription: >
13*2846c905SEmmanuel Vadot  BME680 is a gas sensor which combines relative humidity, barometric pressure,
14*2846c905SEmmanuel Vadot  ambient temperature and gas (VOC - Volatile Organic Compounds) measurements.
15*2846c905SEmmanuel Vadot
16*2846c905SEmmanuel Vadot  https://www.bosch-sensortec.com/media/boschsensortec/downloads/datasheets/bst-bme680-ds001.pdf
17*2846c905SEmmanuel Vadot
18*2846c905SEmmanuel Vadotproperties:
19*2846c905SEmmanuel Vadot  compatible:
20*2846c905SEmmanuel Vadot    const: bosch,bme680
21*2846c905SEmmanuel Vadot
22*2846c905SEmmanuel Vadot  reg:
23*2846c905SEmmanuel Vadot    maxItems: 1
24*2846c905SEmmanuel Vadot
25*2846c905SEmmanuel Vadot  vdd-supply: true
26*2846c905SEmmanuel Vadot  vddio-supply: true
27*2846c905SEmmanuel Vadot
28*2846c905SEmmanuel Vadotrequired:
29*2846c905SEmmanuel Vadot  - compatible
30*2846c905SEmmanuel Vadot  - reg
31*2846c905SEmmanuel Vadot
32*2846c905SEmmanuel VadotallOf:
33*2846c905SEmmanuel Vadot  - $ref: /schemas/spi/spi-peripheral-props.yaml#
34*2846c905SEmmanuel Vadot
35*2846c905SEmmanuel VadotunevaluatedProperties: false
36*2846c905SEmmanuel Vadot
37*2846c905SEmmanuel Vadotexamples:
38*2846c905SEmmanuel Vadot  - |
39*2846c905SEmmanuel Vadot    i2c {
40*2846c905SEmmanuel Vadot        #address-cells = <1>;
41*2846c905SEmmanuel Vadot        #size-cells = <0>;
42*2846c905SEmmanuel Vadot
43*2846c905SEmmanuel Vadot        co2-sensor@77 {
44*2846c905SEmmanuel Vadot            compatible = "bosch,bme680";
45*2846c905SEmmanuel Vadot            reg = <0x77>;
46*2846c905SEmmanuel Vadot            vddio-supply = <&vddio>;
47*2846c905SEmmanuel Vadot            vdd-supply = <&vdd>;
48*2846c905SEmmanuel Vadot        };
49*2846c905SEmmanuel Vadot    };
50*2846c905SEmmanuel Vadot  - |
51*2846c905SEmmanuel Vadot    spi {
52*2846c905SEmmanuel Vadot        #address-cells = <1>;
53*2846c905SEmmanuel Vadot        #size-cells = <0>;
54*2846c905SEmmanuel Vadot
55*2846c905SEmmanuel Vadot        co2-sensor@0 {
56*2846c905SEmmanuel Vadot            compatible = "bosch,bme680";
57*2846c905SEmmanuel Vadot            reg = <0>;
58*2846c905SEmmanuel Vadot            spi-max-frequency = <500000>;
59*2846c905SEmmanuel Vadot            vddio-supply = <&vddio>;
60*2846c905SEmmanuel Vadot            vdd-supply = <&vdd>;
61*2846c905SEmmanuel Vadot        };
62*2846c905SEmmanuel Vadot    };
63