summaryrefslogtreecommitdiff
path: root/zephyr/program/nissa/craask/cbi.dtsi
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/program/nissa/craask/cbi.dtsi')
-rw-r--r--zephyr/program/nissa/craask/cbi.dtsi26
1 files changed, 26 insertions, 0 deletions
diff --git a/zephyr/program/nissa/craask/cbi.dtsi b/zephyr/program/nissa/craask/cbi.dtsi
index 203eace823..e329929227 100644
--- a/zephyr/program/nissa/craask/cbi.dtsi
+++ b/zephyr/program/nissa/craask/cbi.dtsi
@@ -52,6 +52,32 @@
value = <1>;
};
};
+
+ /*
+ * FW_CONFIG field to enable fan or not.
+ */
+ fan {
+ enum-name = "FW_FAN";
+ start = <17>;
+ 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 enable KB back light or not.
*/