Lines Matching +full:multi +full:- +full:function
1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/leds/cznic,turris-omnia-leds.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Marek Behún <[email protected]>
20 const: cznic,turris-omnia-leds
32 "#address-cells":
35 "#size-cells":
39 "^multi-led@[0-9a-b]$":
41 $ref: leds-class-multicolor.yaml#
58 - reg
63 - |
65 #include <dt-bindings/interrupt-controller/irq.h>
66 #include <dt-bindings/leds/common.h>
69 #address-cells = <1>;
70 #size-cells = <0>;
72 led-controller@2b {
73 compatible = "cznic,turris-omnia-leds";
75 interrupts-extended = <&mcu 11 IRQ_TYPE_NONE>;
76 #address-cells = <1>;
77 #size-cells = <0>;
79 multi-led@0 {
86 function = LED_FUNCTION_POWER;
87 linux,default-trigger = "heartbeat";
90 multi-led@a {
93 function = LED_FUNCTION_INDICATOR;
94 function-enumerator = <1>;