summaryrefslogtreecommitdiff
path: root/zephyr/program/trogdor/lazor/pwm_led.dts
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/program/trogdor/lazor/pwm_led.dts')
-rw-r--r--zephyr/program/trogdor/lazor/pwm_led.dts55
1 files changed, 0 insertions, 55 deletions
diff --git a/zephyr/program/trogdor/lazor/pwm_led.dts b/zephyr/program/trogdor/lazor/pwm_led.dts
deleted file mode 100644
index f8375b3596..0000000000
--- a/zephyr/program/trogdor/lazor/pwm_led.dts
+++ /dev/null
@@ -1,55 +0,0 @@
-/* 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.
- */
-
-/ {
- pwmleds {
- compatible = "pwm-leds";
- pwm_y: pwm_y {
- pwms = <&pwm0 0 PWM_HZ(324) PWM_POLARITY_NORMAL>;
- };
- pwm_b: pwm_b {
- pwms = <&pwm2 0 PWM_HZ(324) PWM_POLARITY_NORMAL>;
- };
- };
-
- pwm-led-pins {
- compatible = "cros-ec,pwm-led-pins";
-
- color_off: color-off {
- led-color = "LED_OFF";
- led-id = "EC_LED_ID_BATTERY_LED";
- led-pwms = <&pwm_y &pwm_b>;
- 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-pwms = <&pwm_y &pwm_b>;
- led-values = <100 0>;
- };
-
- color_blue: color-blue {
- led-color = "LED_BLUE";
- led-id = "EC_LED_ID_BATTERY_LED";
- br-color = "EC_LED_COLOR_BLUE";
- led-pwms = <&pwm_y &pwm_b>;
- led-values = <0 100>;
- };
- };
-};
-
-&pwm0 {
- status = "okay";
- pinctrl-0 = <&pwm0_gpc3>;
- pinctrl-names = "default";
-};
-
-&pwm2 {
- status = "okay";
- pinctrl-0 = <&pwm2_gpc4>;
- pinctrl-names = "default";
-};