summaryrefslogtreecommitdiff
path: root/zephyr/projects/intelrvp/adlrvp/battery.dts
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/projects/intelrvp/adlrvp/battery.dts')
-rw-r--r--zephyr/projects/intelrvp/adlrvp/battery.dts20
1 files changed, 20 insertions, 0 deletions
diff --git a/zephyr/projects/intelrvp/adlrvp/battery.dts b/zephyr/projects/intelrvp/adlrvp/battery.dts
new file mode 100644
index 0000000000..1de4111791
--- /dev/null
+++ b/zephyr/projects/intelrvp/adlrvp/battery.dts
@@ -0,0 +1,20 @@
+/* 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.
+ */
+
+/ {
+ aliases {
+ getac-3s = &default_battery;
+ getac-2s = &getac_smp_hhp_408_2s;
+ };
+
+ batteries {
+ default_battery: getac-smp-hhp-408-3s {
+ compatible = "getac,bq40z50-R3-S3", "battery-smart";
+ };
+ getac_smp_hhp_408_2s: getac-smp-hhp-408-2s {
+ compatible = "getac,bq40z50-R3-S2", "battery-smart";
+ };
+ };
+};