blob: c368ceb1d293f35eff7d1e4c2fc680efc291c815 [file] [log] [blame]
/*
* Copyright (c) 2020, Nordic Semiconductor ASA
*
* SPDX-License-Identifier: Apache-2.0
*/
/* Example configuration of a BME280 device on an Arduino SPI bus. */
&arduino_spi {
status = "okay";
cs-gpios = <&arduino_header 16 GPIO_ACTIVE_LOW>;
bme280@0 {
compatible = "bosch,bme280";
reg = <0>;
label = "BME280_SPI";
spi-max-frequency = <1000000>; /* conservatively set to 1MHz */
};
};