From a7b20e5c2d7db93acaa8b2420a9e30784331d863 Mon Sep 17 00:00:00 2001 From: Erik Trinkle Date: Sun, 17 Nov 2024 16:54:16 -0500 Subject: [PATCH] remove SPI stuff --- boards/arm/cyboard/cyboard.dts | 8 ---- boards/shields/cyboard/boards/cyboard.overlay | 47 ------------------- 2 files changed, 55 deletions(-) delete mode 100644 boards/shields/cyboard/boards/cyboard.overlay diff --git a/boards/arm/cyboard/cyboard.dts b/boards/arm/cyboard/cyboard.dts index 73e768e..8cfccc0 100644 --- a/boards/arm/cyboard/cyboard.dts +++ b/boards/arm/cyboard/cyboard.dts @@ -6,7 +6,6 @@ /dts-v1/; #include -#include "cyboard-pinctrl.dtsi" / { model = "cyboard"; @@ -55,13 +54,6 @@ status = "okay"; }; -&spi1 { - compatible = "nordic,nrf-spim"; - pinctrl-0 = <&spi1_default>; - pinctrl-1 = <&spi1_sleep>; - pinctrl-names = "default", "sleep"; -}; - zephyr_udc0: &usbd { status = "okay"; }; diff --git a/boards/shields/cyboard/boards/cyboard.overlay b/boards/shields/cyboard/boards/cyboard.overlay deleted file mode 100644 index 9dd23b6..0000000 --- a/boards/shields/cyboard/boards/cyboard.overlay +++ /dev/null @@ -1,47 +0,0 @@ -#include - -&pinctrl { - spi3_default: spi3_default { - group1 { - psels = ; - }; - }; - - spi3_sleep: spi3_sleep { - group1 { - psels = ; - low-power-enable; - }; - }; -}; - -&spi3 { - compatible = "nordic,nrf-spim"; - status = "okay"; - - pinctrl-0 = <&spi3_default>; - pinctrl-1 = <&spi3_sleep>; - pinctrl-names = "default", "sleep"; - - led_strip: ws2812@0 { - compatible = "worldsemi,ws2812-spi"; - label = "WS2812"; - - /* SPI */ - reg = <0>; /* ignored, but necessary for SPI bindings */ - spi-max-frequency = <4000000>; - - /* WS2812 */ - chain-length = <40>; /* arbitrary; change at will */ - spi-one-frame = <0x70>; - spi-zero-frame = <0x40>; - - color-mapping = ; - }; -}; - -/ { - chosen { - zmk,underglow = &led_strip; - }; -};