1 * Panasonic AN30259A 3-channel LED driver
3 The AN30259A is a LED controller capable of driving three LEDs independently. It supports
4 constant current output and sloping current output modes. The chip is connected over I2C.
7 - compatible: Must be "panasonic,an30259a".
8 - reg: I2C slave address.
9 - #address-cells: Must be 1.
10 - #size-cells: Must be 0.
12 Each LED is represented as a sub-node of the panasonic,an30259a node.
14 Required sub-node properties:
15 - reg: Pin that the LED is connected to. Must be 1, 2, or 3.
17 Optional sub-node properties:
19 see Documentation/devicetree/bindings/leds/common.txt
21 see Documentation/devicetree/bindings/leds/common.txt
23 see Documentation/devicetree/bindings/leds/common.txt (deprecated)
24 - linux,default-trigger :
25 see Documentation/devicetree/bindings/leds/common.txt
29 #include <dt-bindings/leds/common.h>
32 compatible = "panasonic,an30259a";
39 linux,default-trigger = "heartbeat";
40 function = LED_FUNCTION_INDICATOR;
41 color = <LED_COLOR_ID_RED>;
46 function = LED_FUNCTION_INDICATOR;
47 color = <LED_COLOR_ID_GREEN>;
52 function = LED_FUNCTION_INDICATOR;
53 color = <LED_COLOR_ID_BLUE>;