summaryrefslogtreecommitdiff
path: root/zephyr/dts/bindings/motionsense/driver/bmi160.yaml
blob: 8f490254a39149d6aa08eb9afed41b34a71ea1be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Copyright 2021 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

# common fields for both BMI160 accel and BMI160 gyro

# every motionsense sensor node should include motionsense-sensor-base.yaml
include: motionsense-sensor-base.yaml

properties:
  i2c-spi-addr-flags:
    type: string
    description: i2c address or SPI slave logic GPIO
    enum:
      - "BMI160_ADDR0_FLAGS"
    default: "BMI160_ADDR0_FLAGS"