Add color mapping property for Zephyr 3 changes
This commit is contained in:
parent
a962abe234
commit
63f3de9604
1 changed files with 3 additions and 0 deletions
|
@ -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>;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue