^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) LEDs connected to tlc59116 or tlc59108
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) Required properties
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) - compatible: should be "ti,tlc59116" or "ti,tlc59108"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) - #address-cells: must be 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) - #size-cells: must be 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) - reg: typically 0x68
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) Each led is represented as a sub-node of the ti,tlc59116.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) See Documentation/devicetree/bindings/leds/common.txt
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) LED sub-node properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) - reg: number of LED line, 0 to 15 or 0 to 7
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) - label: (optional) name of LED
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) - linux,default-trigger : (optional)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) Examples:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) tlc59116@68 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) #address-cells = <1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) #size-cells = <0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) compatible = "ti,tlc59116";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) reg = <0x68>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) wan@0 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) label = "wrt1900ac:amber:wan";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) reg = <0x0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) 2g@2 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) label = "wrt1900ac:white:2g";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) reg = <0x2>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) alive@9 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) label = "wrt1900ac:green:alive";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) reg = <0x9>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) linux,default_trigger = "heartbeat";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) };