Add color mapping property for Zephyr 3 changes

This commit is contained in:
arpacique 2022-06-27 21:38:48 +03:00
parent a962abe234
commit 63f3de9604

View file

@ -1,3 +1,5 @@
#include <dt-bindings/led/led.h>
&spi1 {
compatible = "nordic,nrf-spim";
status = "okay";
@ -18,6 +20,7 @@
chain-length = <6>; /* Change this according to how many leds are on the strip */
spi-one-frame = <0x70>;
spi-zero-frame = <0x40>;
color-mapping = <LED_COLOR_ID_GREEN LED_COLOR_ID_RED LED_COLOR_ID_BLUE>;
};
};