summaryrefslogtreecommitdiff
path: root/zephyr/program/nissa/xivur/cbi.dtsi
blob: 112a2a885c73b43db1a9a13b34aea20e648b2992 (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
/* 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.
 */

/ {
  /* Nivviks-specific fw_config fields. */
	nissa-fw-config {
		/*
		 * FW_CONFIG field to describe mainboard orientation in chassis.
		 */
		base-inversion {
			enum-name = "FW_BASE_INVERSION";
			start = <3>;
			size = <1>;

			inverted {
				compatible = "cros-ec,cbi-fw-config-value";
				enum-name = "FW_BASE_INVERTED";
				value = <0>;
			};
			regular {
				compatible = "cros-ec,cbi-fw-config-value";
				enum-name = "FW_BASE_REGULAR";
				value = <1>;
				default;
			};
		};
	};
};