1 # SPDX-License-Identifier: GPL-2.0-only
4 $id: http://devicetree.org/schemas/leds/ti,tca6507.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: TCA6507 LED and GPIO controller
10 - NeilBrown <neilb@suse.de>
13 The TCA6507 is a programmable LED controller connected via I2C that can drive
14 7 separate lines either by holding them low, or by pulsing them with modulated
22 description: I2C slave address of the controller.
42 unevaluatedProperties: false
63 additionalProperties: false
82 additionalProperties: false
87 #include <dt-bindings/gpio/gpio.h>
88 #include <dt-bindings/leds/common.h>
95 compatible = "ti,tca6507";
103 gpio-line-names = "wifi_reset@6";
106 label = "gta04:red:aux";
111 label = "gta04:green:aux";
117 color = <LED_COLOR_ID_RED>;
118 function = LED_FUNCTION_POWER;
119 linux,default-trigger = "default-on";
123 color = <LED_COLOR_ID_GREEN>;
124 function = LED_FUNCTION_POWER;