1/* 2 * Copyright (c) 2020, Nordic Semiconductor ASA 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7/* Example configuration of a BME280 device on an Arduino SPI bus. */ 8 9&arduino_spi { 10 status = "okay"; 11 cs-gpios = <&arduino_header 16 GPIO_ACTIVE_LOW>; 12 bme280@0 { 13 compatible = "bosch,bme280"; 14 reg = <0>; 15 spi-max-frequency = <1000000>; /* conservatively set to 1MHz */ 16 }; 17}; 18