/* * Copyright (c) 2021 Seagate Technology LLC * * SPDX-License-Identifier: Apache-2.0 */ #include #include "../f070rb-bindings.h" &spi1 { /* MOSI on PA7 */ dmas = <&dma1 3 (STM32_DMA_PERIPH_TX | STM32_DMA_PRIORITY_HIGH)>, <&dma1 2 (STM32_DMA_PERIPH_RX | STM32_DMA_PRIORITY_HIGH)>; dma-names = "tx", "rx"; led_strip: b1414@0 { compatible = "everlight,b1414", "worldsemi,ws2812-spi"; /* SPI */ reg = <0>; /* ignored, but necessary for SPI bindings */ spi-max-frequency = ; frame-format = <32768>; /* SPI_FRAME_FORMAT_TI */ /* B1414 */ chain-length = <18>; /* arbitrary; change at will */ spi-one-frame = ; spi-zero-frame = ; color-mapping = ; reset-delay = <250>; status = "okay"; }; }; &dma1 { status = "okay"; }; / { aliases { led-strip = &led_strip; }; };