#include &spi1 { led_strip: ws2812@0 { compatible = "worldsemi,ws2812-spi"; label = "WS2812"; /* SPI */ reg = <0>; spi-max-frequency = <5250000>; /* WS2812 */ chain-length = <10>; /* number of LEDs */ spi-one-frame = <0x70>; /* make sure to configure this properly for your SOC */ spi-zero-frame = <0x40>; /* make sure to configure this properly for your SOC */ color-mapping = ; }; }; / { chosen { zmk,underglow = &led_strip; }; };