ARM64: DTS: Add rk3399-firefly uart4 device, node as /dev/ttyS1
[firefly-linux-kernel-4.4.55.git] / Documentation / devicetree / bindings / leds / pca963x.txt
1 LEDs connected to pca9632, pca9633 or pca9634
2
3 Required properties:
4 - compatible : should be : "nxp,pca9632", "nxp,pca9633", "nxp,pca9634" or "nxp,pca9635"
5
6 Optional properties:
7 - nxp,totem-pole : use totem pole (push-pull) instead of open-drain (pca9632 defaults
8   to open-drain, newer chips to totem pole)
9 - nxp,hw-blink : use hardware blinking instead of software blinking
10
11 Each led is represented as a sub-node of the nxp,pca963x device.
12
13 LED sub-node properties:
14 - label : (optional) see Documentation/devicetree/bindings/leds/common.txt
15 - reg : number of LED line (could be from 0 to 3 in pca9632 or pca9633,
16                 0 to 7 in pca9634, or 0 to 15 in pca9635)
17 - linux,default-trigger : (optional)
18    see Documentation/devicetree/bindings/leds/common.txt
19
20 Examples:
21
22 pca9632: pca9632 {
23         compatible = "nxp,pca9632";
24         #address-cells = <1>;
25         #size-cells = <0>;
26         reg = <0x62>;
27
28         red@0 {
29                 label = "red";
30                 reg = <0>;
31                 linux,default-trigger = "none";
32         };
33         green@1 {
34                 label = "green";
35                 reg = <1>;
36                 linux,default-trigger = "none";
37         };
38         blue@2 {
39                 label = "blue";
40                 reg = <2>;
41                 linux,default-trigger = "none";
42         };
43         unused@3 {
44                 label = "unused";
45                 reg = <3>;
46                 linux,default-trigger = "none";
47         };
48 };