You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
381 B
17 lines
381 B
/* |
|
* 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>; |
|
spi-max-frequency = <1000000>; /* conservatively set to 1MHz */ |
|
}; |
|
};
|
|
|