Files
zephyr/samples/drivers/led_ws2812/boards/nrf51dk_nrf51822.overlay
Torsten Rasmussen 2908af0bcc boards: nrf51dk/dongle: change SoC to nRF51822
The physical nRF51dk / nRF51dongle hardware contains a nRF51422 SoC.
In Zephyr, only the nRF51822 SoC, is implemented.

In Zephyr, the nRF51422 SoC is build as a nRF51822, therefore use the
nRF51822 SoC model for those kits instead on the non-existing nRF51422.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2024-03-01 15:50:06 +01:00

29 lines
558 B
Plaintext

/*
* Copyright (c) 2019, Nordic Semiconductor ASA
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <zephyr/dt-bindings/gpio/gpio.h>
#include <zephyr/dt-bindings/led/led.h>
/ {
led_strip: ws2812 {
compatible = "worldsemi,ws2812-gpio";
chain-length = <16>; /* arbitrary */
color-mapping = <LED_COLOR_ID_GREEN
LED_COLOR_ID_RED
LED_COLOR_ID_BLUE>;
/*
* Arduino D11 / P0.25, which was chosen to match the pin
* used in nrf52dk_nrf52832.overlay.
*/
in-gpios = <&gpio0 25 0>;
};
aliases {
led-strip = &led_strip;
};
};