2013-08-14 21:23:47 +00:00
|
|
|
LEDs connected to pca9632, pca9633 or pca9634
|
2013-06-26 12:52:49 +00:00
|
|
|
|
|
|
|
Required properties:
|
2014-07-03 05:50:36 +00:00
|
|
|
- compatible : should be : "nxp,pca9632", "nxp,pca9633", "nxp,pca9634" or "nxp,pca9635"
|
2013-06-26 12:52:49 +00:00
|
|
|
|
|
|
|
Optional properties:
|
2014-07-03 05:50:36 +00:00
|
|
|
- nxp,totem-pole : use totem pole (push-pull) instead of open-drain (pca9632 defaults
|
|
|
|
to open-drain, newer chips to totem pole)
|
2013-07-25 17:16:41 +00:00
|
|
|
- nxp,hw-blink : use hardware blinking instead of software blinking
|
2013-06-26 12:52:49 +00:00
|
|
|
|
2013-08-14 21:23:47 +00:00
|
|
|
Each led is represented as a sub-node of the nxp,pca963x device.
|
2013-06-26 12:52:49 +00:00
|
|
|
|
|
|
|
LED sub-node properties:
|
|
|
|
- label : (optional) see Documentation/devicetree/bindings/leds/common.txt
|
2014-07-03 05:50:36 +00:00
|
|
|
- reg : number of LED line (could be from 0 to 3 in pca9632 or pca9633,
|
|
|
|
0 to 7 in pca9634, or 0 to 15 in pca9635)
|
2013-06-26 12:52:49 +00:00
|
|
|
- linux,default-trigger : (optional)
|
|
|
|
see Documentation/devicetree/bindings/leds/common.txt
|
|
|
|
|
|
|
|
Examples:
|
|
|
|
|
|
|
|
pca9632: pca9632 {
|
2013-08-14 21:23:47 +00:00
|
|
|
compatible = "nxp,pca9632";
|
2013-06-26 12:52:49 +00:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
reg = <0x62>;
|
|
|
|
|
|
|
|
red@0 {
|
|
|
|
label = "red";
|
|
|
|
reg = <0>;
|
|
|
|
linux,default-trigger = "none";
|
|
|
|
};
|
|
|
|
green@1 {
|
|
|
|
label = "green";
|
|
|
|
reg = <1>;
|
|
|
|
linux,default-trigger = "none";
|
|
|
|
};
|
|
|
|
blue@2 {
|
|
|
|
label = "blue";
|
|
|
|
reg = <2>;
|
|
|
|
linux,default-trigger = "none";
|
|
|
|
};
|
|
|
|
unused@3 {
|
|
|
|
label = "unused";
|
|
|
|
reg = <3>;
|
|
|
|
linux,default-trigger = "none";
|
|
|
|
};
|
|
|
|
};
|