1/* 2 * Copyright (c) 2018 Nordic Semiconductor ASA 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7#include <zephyr/dt-bindings/led/led.h> 8 9&spi1 { 10 11 apa102: apa102@0 { 12 compatible = "apa,apa102"; 13 reg = <0>; 14 spi-max-frequency = <5250000>; 15 chain-length = <1>; 16 color-mapping = <LED_COLOR_ID_BLUE 17 LED_COLOR_ID_GREEN 18 LED_COLOR_ID_RED>; 19 }; 20}; 21 22/ { 23 aliases { 24 led-strip = &apa102; 25 }; 26}; 27