1/*
2 * Copyright (c) 2024 Espressif Systems (Shanghai) Co., Ltd.
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#include <zephyr/dt-bindings/led/led.h>
8
9/ {
10	aliases {
11		led-strip = &led_strip;
12	};
13};
14
15i2s_led: &i2s0 {
16	status = "okay";
17
18	pinctrl-0 = <&i2s0_pinconf>;
19
20	dmas = <&dma 3>;
21	dma-names = "tx";
22
23	led_strip: ws2812@0 {
24		compatible = "worldsemi,ws2812-i2s";
25
26		reg = <0>;
27		chain-length = <46>;
28		color-mapping = <LED_COLOR_ID_GREEN
29				 LED_COLOR_ID_RED
30				 LED_COLOR_ID_BLUE>;
31		reset-delay = <500>;
32	};
33};
34
35&dma {
36	status = "okay";
37};
38
39&pinctrl {
40	i2s0_pinconf: i2s0_pinconf {
41		group1 {
42			pinmux = <I2S0_O_SD_GPIO38>;
43			output-enable;
44		};
45	};
46};
47