summaryrefslogtreecommitdiff
path: root/zephyr/projects/corsola/cbi_tentacruel.dts
blob: 2cd4594417f44850263bbd98cab69ca1042e624c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/* Copyright 2022 The ChromiumOS Authors
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

/ {
	/* tentacruel-specific fw_config fields. */
	tentacruel-fw-config {
		compatible = "cros-ec,cbi-fw-config";
		/*
		 * FW_CONFIG field to describe mainboard orientation in chassis.
		 */
		base-gyro {
			enum-name = "FW_BASE_GYRO";
			start = <8>;
			size = <2>;

			None {
				compatible = "cros-ec,cbi-fw-config-value";
				enum-name = "FW_BASE_NONE";
				value = <0>;
			};
			icm42607 {
				compatible = "cros-ec,cbi-fw-config-value";
				enum-name = "FW_BASE_ICM42607";
				value = <1>;
				default;
			};
			bmi323 {
				compatible = "cros-ec,cbi-fw-config-value";
				enum-name = "FW_BASE_BMI323";
				value = <2>;
			};
		};
	};
};