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.
63 additionalProperties: false
81 additionalProperties: false
86 #include <dt-bindings/gpio/gpio.h>
87 #include <dt-bindings/leds/common.h>
94 compatible = "ti,tca6507";
102 gpio-line-names = "wifi_reset@6";
105 label = "gta04:red:aux";
110 label = "gta04:green:aux";
116 color = <LED_COLOR_ID_RED>;
117 function = LED_FUNCTION_POWER;
118 linux,default-trigger = "default-on";
122 color = <LED_COLOR_ID_GREEN>;
123 function = LED_FUNCTION_POWER;