summaryrefslogtreecommitdiff
path: root/zephyr/projects/corsola/cbi_steelix.dts
blob: e282eb25ab263a867cbd51ae9f1c18f978baea6f (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/* 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.
 */

/ {
	steelix-fw-config {
		compatible = "cros-ec,cbi-fw-config";

		/*
		 * FW_CONFIG field to indicate the device is clamshell
		 * or convertible.
		 */
		form_factor {
			enum-name = "FORM_FACTOR";
			start = <13>;
			size = <3>;

			convertible {
				compatible = "cros-ec,cbi-fw-config-value";
				enum-name = "CONVERTIBLE";
				value = <1>;
			};
			clamshell {
				compatible = "cros-ec,cbi-fw-config-value";
				enum-name = "CLAMSHELL";
				value = <0>;
			};
		};

		/* FW_CONFIG field to indicate which DB is attached. */
		db_config: db {
			enum-name = "DB";
			start = <0>;
			size = <4>;

			sub-board-1 {
				compatible = "cros-ec,cbi-fw-config-value";
				enum-name = "DB_NONE";
				value = <0>;
			};
			sub-board-2 {
				compatible = "cros-ec,cbi-fw-config-value";
				enum-name = "DB_USBA_HDMI";
				value = <1>;
			};
			sub-board-3 {
				compatible = "cros-ec,cbi-fw-config-value";
				enum-name = "DB_USBA_HDMI_LTE";
				value = <2>;
			};
		};
	};
};