blob: a1b8e6e5ebc15f8badddba0663d5d1111b2178b1 (
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
/* 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.
*/
/ {
named-pwms {
compatible = "named-pwms";
kblight: pwm_kb_bl {
pwms = <&pwm6 0 0>;
label = "KBLIGHT";
frequency = <10000>;
};
led1_red: pwm_led1_odl {
pwms = <&pwm2 0 0>;
label = "LED1_RED";
frequency = <324>;
};
led2_green: pwm_led2_odl {
pwms = <&pwm0 0 0>;
label = "LED2_GREEN";
frequency = <324>;
};
led3_blue: pwm_led3_odl {
pwms = <&pwm1 0 0>;
label = "LED3_BLUE";
frequency = <324>;
};
};
};
/* kblight */
&pwm6 {
status = "okay";
};
/* LED1_RED */
&pwm2 {
status = "okay";
};
/* LED2_GREEN */
&pwm0 {
status = "okay";
};
/* LED3_BLUE */
&pwm1 {
status = "okay";
};
|