blob: 659cdecbf2a2c9d4d93ee0cf9ac1f175f92e2302 (
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
|
/* Copyright 2021 The Chromium OS Authors. All rights reserved.
* 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_led0: pwm_led_0 {
pwms = <&led3_red
&led2_green
&led1_blue
&led3_sidesel
>;
};
};
cros-pwmleds {
compatible = "cros-ec,pwm-leds";
leds = <&pwm_led0>;
color-map-red = <100 0 0>;
color-map-green = < 0 100 0>;
color-map-blue = < 0 0 100>;
color-map-yellow = <100 70 0>;
color-map-white = <100 70 100>;
color-map-amber = <100 20 0>;
brightness-range = <255 255 255 0 0 0>;
};
};
|