1/*
2 * Copyright (c) 2019, Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#include <zephyr/dt-bindings/gpio/gpio.h>
8#include <zephyr/dt-bindings/led/led.h>
9
10/ {
11	led_strip: ws2812 {
12		compatible = "worldsemi,ws2812-gpio";
13
14		chain-length = <16>; /* arbitrary; change at will */
15		color-mapping = <LED_COLOR_ID_GREEN
16				 LED_COLOR_ID_RED
17				 LED_COLOR_ID_BLUE>;
18		/* P0: */
19		gpios = <&gpio0 3 0>;
20	};
21
22	aliases {
23		led-strip = &led_strip;
24	};
25};
26