diff options
Diffstat (limited to 'zephyr/projects/corsola/cbi_tentacruel.dts')
-rw-r--r-- | zephyr/projects/corsola/cbi_tentacruel.dts | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/zephyr/projects/corsola/cbi_tentacruel.dts b/zephyr/projects/corsola/cbi_tentacruel.dts new file mode 100644 index 0000000000..2cd4594417 --- /dev/null +++ b/zephyr/projects/corsola/cbi_tentacruel.dts @@ -0,0 +1,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>; + }; + }; + }; +}; |