summaryrefslogtreecommitdiff
path: root/zephyr/test/i2c/overlay.dts
blob: 2c56ee3b7af469a15b2bef4ea477ecbcc0c7e6c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* Copyright 2020 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.
 */

/ {
	named-i2c-ports {
		compatible = "named-i2c-ports";
		accel-0 {
			i2c-port = <&bmi_i2c>;
			enum-name = "I2C_PORT_ACCEL";
			label = "ACCEL_0";
		};
	};
};

&i2c0 {
	bmi_i2c: bmi@68 {
		compatible = "bosch,bmi160";
		reg = <0x68>;
		label = "accel-i2c";
	};
};