8140512c0ac8cc224636294e18841d1b01e60c7a
[deliverable/linux.git] / Documentation / devicetree / bindings / leds / pca9633.txt
1 LEDs connected to pca9633 or pca9632
2
3 Required properties:
4 - compatible : should be : "nxp,pca963x"
5
6 Optional properties:
7 - nxp,totem-pole : use totem pole (push-pull) instead of default open-drain
8
9 Each led is represented as a sub-node of the nxp,pca9633 device.
10
11 LED sub-node properties:
12 - label : (optional) see Documentation/devicetree/bindings/leds/common.txt
13 - reg : number of LED line (could be from 0 to 4)
14 - linux,default-trigger : (optional)
15 see Documentation/devicetree/bindings/leds/common.txt
16
17 Examples:
18
19 pca9632: pca9632 {
20 compatible = "nxp,pca9632", "nxp,pca963x";
21 #address-cells = <1>;
22 #size-cells = <0>;
23 reg = <0x62>;
24
25 red@0 {
26 label = "red";
27 reg = <0>;
28 linux,default-trigger = "none";
29 };
30 green@1 {
31 label = "green";
32 reg = <1>;
33 linux,default-trigger = "none";
34 };
35 blue@2 {
36 label = "blue";
37 reg = <2>;
38 linux,default-trigger = "none";
39 };
40 unused@3 {
41 label = "unused";
42 reg = <3>;
43 linux,default-trigger = "none";
44 };
45 };
This page took 0.032477 seconds and 4 git commands to generate.