# Copyright (c) 2023 NXP Semiconductors # Copyright (c) 2023 Congipilot Foundation # SPDX-License-Identifier: Apache-2.0 description: | NCP5623 Triple Output I2C Controlled RGB LED driver The LED_SHELL application can be used for testing The following example defines a single RGB LED in the ncp5623 DT node ncp5623c@39 { compatible = "onnn,ncp5623"; reg = <0x39>; led_0 { label = "RGB LED"; index = <0>; color-mapping = , , ; }; }; The following example defines three single-channel LEDs in the ncp5623 DT node ncp5623c@39 { compatible = "onnn,ncp5623"; reg = <0x39>; led_0 { label = "RED LED"; index = <0>; color-mapping = ; }; led_1 { label = "GREEN LED"; index = <1>; color-mapping = ; }; led_2 { label = "BLUE LED"; index = <2>; color-mapping = ; }; }; compatible: "onnn,ncp5623" include: ["i2c-device.yaml", "led-controller.yaml"] child-binding: properties: label: required: true index: required: true color-mapping: required: true