zephyr/tests/drivers/sensor/bmi160/boards/native_sim.overlay

26 lines
351 B
Plaintext

/* Copyright (c) 2020 Nordic Semiconductor ASA
* SPDX-License-Identifier: Apache-2.0
*/
/ {
aliases {
accel-0 = &bmi_spi;
accel-1 = &bmi_i2c;
};
};
&spi0 {
bmi_spi: bmi@3 {
compatible = "bosch,bmi160";
spi-max-frequency = <50000000>;
reg = <3>;
};
};
&i2c0 {
bmi_i2c: bmi@68 {
compatible = "bosch,bmi160";
reg = <0x68>;
};
};