Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/Documentation/devicetree/bindings/iio/chemical/bosch,bme680.yaml
26309 views
1
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2
%YAML 1.2
3
---
4
$id: http://devicetree.org/schemas/iio/chemical/bosch,bme680.yaml#
5
$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7
title: Bosch BME680 Gas sensor
8
9
maintainers:
10
- Vasileios Amoiridis <vassilisamir@gmail.com>
11
12
description: >
13
BME680 is a gas sensor which combines relative humidity, barometric pressure,
14
ambient temperature and gas (VOC - Volatile Organic Compounds) measurements.
15
16
https://www.bosch-sensortec.com/media/boschsensortec/downloads/datasheets/bst-bme680-ds001.pdf
17
18
properties:
19
compatible:
20
const: bosch,bme680
21
22
reg:
23
maxItems: 1
24
25
vdd-supply: true
26
vddio-supply: true
27
28
required:
29
- compatible
30
- reg
31
32
allOf:
33
- $ref: /schemas/spi/spi-peripheral-props.yaml#
34
35
unevaluatedProperties: false
36
37
examples:
38
- |
39
i2c {
40
#address-cells = <1>;
41
#size-cells = <0>;
42
43
co2-sensor@77 {
44
compatible = "bosch,bme680";
45
reg = <0x77>;
46
vddio-supply = <&vddio>;
47
vdd-supply = <&vdd>;
48
};
49
};
50
- |
51
spi {
52
#address-cells = <1>;
53
#size-cells = <0>;
54
55
co2-sensor@0 {
56
compatible = "bosch,bme680";
57
reg = <0>;
58
spi-max-frequency = <500000>;
59
vddio-supply = <&vddio>;
60
vdd-supply = <&vdd>;
61
};
62
};
63
64