blob: c5716cbd37d04e154feacd4458190f4b121975c3 (
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
|
/* 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.
*/
/ {
/* Yaviks-specific fw_config fields. */
nissa-fw-config {
/*
* FW_CONFIG field for multiple wi-fi SAR.
*
* start = <2>;
* size = <2>;
*/
/*
* FW_CONFIG field to enable fan or not.
*/
fan {
enum-name = "FW_FAN";
start = <4>;
size = <1>;
no-fan {
compatible = "cros-ec,cbi-fw-config-value";
enum-name = "FW_FAN_NOT_PRESENT";
value = <0>;
};
fan-present {
compatible = "cros-ec,cbi-fw-config-value";
enum-name = "FW_FAN_PRESENT";
value = <1>;
/*
* Set as default so that unprovisioned
* configs will run the fan regardless.
*/
default;
};
};
/*
* FW_CONFIG field to indicate which keyboard layout
* should be used.
*/
keyboard {
enum-name = "FW_KB_LAYOUT";
start = <5>;
size = <1>;
layout-1 {
compatible = "cros-ec,cbi-fw-config-value";
enum-name = "FW_KB_LAYOUT_DEFAULT";
value = <0>;
default;
};
layout-2 {
compatible = "cros-ec,cbi-fw-config-value";
enum-name = "FW_KB_LAYOUT_US2";
value = <1>;
};
};
/*
* FW_CONFIG field to indicate which keyboard layout
* should be used.
*/
keyboard-backlight {
enum-name = "FW_KB_BACKLIGHT";
start = <6>;
size = <1>;
without-keyboard-backlight {
compatible = "cros-ec,cbi-fw-config-value";
enum-name = "FW_KB_BACKLIGHT_OFF";
value = <1>;
};
with-keyboard-backlight {
compatible = "cros-ec,cbi-fw-config-value";
enum-name = "FW_KB_BACKLIGHT_ON";
value = <0>;
default;
};
};
/*
* FW_CONFIG field for multiple touch panel.
*
* start = <7>;
* size = <2>;
*/
/*
* FW_CONFIG field for multiple storage.
*
* start = <31>;
* size = <1>;
*/
};
};
|