summaryrefslogtreecommitdiff
path: root/zephyr/program/herobrine/zombie/led_pins.dtsi
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/program/herobrine/zombie/led_pins.dtsi')
-rw-r--r--zephyr/program/herobrine/zombie/led_pins.dtsi36
1 files changed, 36 insertions, 0 deletions
diff --git a/zephyr/program/herobrine/zombie/led_pins.dtsi b/zephyr/program/herobrine/zombie/led_pins.dtsi
new file mode 100644
index 0000000000..2a74fce58c
--- /dev/null
+++ b/zephyr/program/herobrine/zombie/led_pins.dtsi
@@ -0,0 +1,36 @@
+/* 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.
+ */
+
+/ {
+ gpio-led-pins {
+ compatible = "cros-ec,gpio-led-pins";
+
+ color_off: color-off {
+ led-color = "LED_OFF";
+ led-id = "EC_LED_ID_BATTERY_LED";
+ led-pins = <&gpio_ec_chg_led_y_c0
+ &gpio_ec_chg_led_b_c0>;
+ led-values = <0 0>;
+ };
+
+ color_amber: color-amber {
+ led-color = "LED_AMBER";
+ led-id = "EC_LED_ID_BATTERY_LED";
+ br-color = "EC_LED_COLOR_AMBER";
+ led-pins = <&gpio_ec_chg_led_y_c0
+ &gpio_ec_chg_led_b_c0>;
+ led-values = <1 0>;
+ };
+
+ color_blue: color-blue {
+ led-color = "LED_BLUE";
+ led-id = "EC_LED_ID_BATTERY_LED";
+ br-color = "EC_LED_COLOR_BLUE";
+ led-pins = <&gpio_ec_chg_led_y_c0
+ &gpio_ec_chg_led_b_c0>;
+ led-values = <0 1>;
+ };
+ };
+};