/* * Copyright (c) 2019, Nordic Semiconductor ASA * * SPDX-License-Identifier: Apache-2.0 */ #include #include "../nrf52-bindings.h" &arduino_spi { /* MOSI on D11 / P0.23 */ compatible = "nordic,nrf-spim"; led_strip: ws2812@0 { compatible = "worldsemi,ws2812-spi"; /* SPI */ reg = <0>; /* ignored, but necessary for SPI bindings */ spi-max-frequency = ; /* WS2812 */ chain-length = <16>; /* arbitrary; change at will */ color-mapping = ; spi-one-frame = ; spi-zero-frame = ; }; }; / { aliases { led-strip = &led_strip; }; };