1/* 2 * Copyright (c) 2023 Intel Corporation 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7&i2c0 { 8 bmi160_i2c: bmi@68 { 9 compatible = "bosch,bmi160"; 10 reg = <0x68>; 11 }; 12}; 13 14&spi0 { 15 bmi160_spi: bmi@3 { 16 compatible = "bosch,bmi160"; 17 spi-max-frequency = <50000000>; 18 reg = <0x3>; 19 }; 20}; 21 22/ { 23 sensing: sensing-node { 24 compatible = "zephyr,sensing"; 25 status = "okay"; 26 27 base_accel: base-accel { 28 compatible = "zephyr,sensing-phy-3d-sensor"; 29 status = "okay"; 30 sensor-type = <0x73>; 31 friendly-name = "Base Accelerometer Sensor"; 32 minimal-interval = <625>; 33 underlying-device = <&bmi160_i2c>; 34 }; 35 36 lid_accel: lid-accel { 37 compatible = "zephyr,sensing-phy-3d-sensor"; 38 status = "okay"; 39 sensor-type = <0x73>; 40 friendly-name = "Lid Accelerometer Sensor"; 41 minimal-interval = <625>; 42 underlying-device = <&bmi160_spi>; 43 }; 44 }; 45}; 46